Skip to main content

Maton Agent Toolkit

Project description

Maton Agent Toolkit - Python

The Maton Agent Toolkit connects popular agent frameworks — OpenAI's Agents SDK, LangChain, CrewAI, and Strands — to the Maton MCP server through function calling. Instead of bundling a fixed set of actions, the toolkit connects to the remote Maton MCP server, discovers the available tools, and exposes them in each framework's native tool format. This lets your agent connect and automate 150+ apps (Google Workspace, Microsoft 365, GitHub, Notion, Slack, HubSpot, and more).

Installation

You don't need this source code unless you want to modify the package. If you just want to use the package, just run:

uv pip install maton-agent-toolkit

Requirements

  • Python 3.11+

Usage

The library needs to be configured with your Maton API key. You can create one at maton.ai, or set the MATON_API_KEY environment variable. The toolkit connects to https://mcp.maton.ai with your key in the Authorization: Bearer header.

from maton_agent_toolkit.openai.toolkit import create_maton_agent_toolkit

async def main():
    toolkit = await create_maton_agent_toolkit(api_key="YOUR_MATON_API_KEY")
    tools = toolkit.get_tools()
    # ... use tools ...
    await toolkit.close()  # Clean up when done

The toolkit works with OpenAI's Agents SDK, LangChain, CrewAI, and Strands and can be passed as a list of tools. For example:

from agents import Agent

async def main():
    toolkit = await create_maton_agent_toolkit(api_key="YOUR_MATON_API_KEY")

    maton_agent = Agent(
        name="Maton Agent",
        instructions="You are an expert at automating apps with Maton",
        tools=toolkit.get_tools()
    )
    # ... use agent ...
    await toolkit.close()

Import from the framework-specific module you need:

  • maton_agent_toolkit.openai.toolkit
  • maton_agent_toolkit.langchain.toolkit
  • maton_agent_toolkit.crewai.toolkit
  • maton_agent_toolkit.strands.toolkit

Context

You can provide a default connection that all requests route through (sent as the Maton-Connection header). If omitted, Maton uses the newest active connection for the target app.

toolkit = await create_maton_agent_toolkit(
    api_key="YOUR_MATON_API_KEY",
    configuration={
        "context": {
            "connection": "conn_123"
        }
    }
)

Development

uv venv --python 3.11
source .venv/bin/activate
uv pip install -r requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maton_agent_toolkit-0.1.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maton_agent_toolkit-0.1.1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file maton_agent_toolkit-0.1.1.tar.gz.

File metadata

  • Download URL: maton_agent_toolkit-0.1.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maton_agent_toolkit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8b91bfb190f730d074eda53ab8324736c155a6ec54ad3a487f42a0feb3f5d148
MD5 2441f2631ea325d3852388a588fe3bb6
BLAKE2b-256 56c2048a614376989abff0dba06b34ec0c275e9a595e8a2b3524dbf0631ce25a

See more details on using hashes here.

Provenance

The following attestation bundles were made for maton_agent_toolkit-0.1.1.tar.gz:

Publisher: release.yml on maton-ai/agent-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maton_agent_toolkit-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for maton_agent_toolkit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5423311cf1f994bcde4e61116131f388f8a433553f89bb7b24b532aa014a180
MD5 a0f54735f3c8f3f48b3e5ce0ee7d2e01
BLAKE2b-256 c73f1152ecb827f5009280c67adc1b2d41bf5272796a01970551bc2ee7e47dfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for maton_agent_toolkit-0.1.1-py3-none-any.whl:

Publisher: release.yml on maton-ai/agent-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page