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.toolkitmaton_agent_toolkit.langchain.toolkitmaton_agent_toolkit.crewai.toolkitmaton_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
Metadata
Release files for maton-agent-toolkit 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maton_agent_toolkit-0.1.1.tar.gz | 19.7 kB | With provenance | Details for maton_agent_toolkit-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maton_agent_toolkit-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for maton_agent_toolkit-0.1.1-py3-none-any.whl |
Total release size: 39.5 kB
Release files / maton_agent_toolkit-0.1.1.tar.gz
| Download URL | maton_agent_toolkit-0.1.1.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b91bfb190f730d074eda53ab8324736c155a6ec54ad3a487f42a0feb3f5d148
|
|
BLAKE2b-256 checksum How to use checksums |
56c2048a614376989abff0dba06b34ec0c275e9a595e8a2b3524dbf0631ce25a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logRelease files / maton_agent_toolkit-0.1.1-py3-none-any.whl
| Download URL | maton_agent_toolkit-0.1.1-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5423311cf1f994bcde4e61116131f388f8a433553f89bb7b24b532aa014a180
|
|
BLAKE2b-256 checksum How to use checksums |
c73f1152ecb827f5009280c67adc1b2d41bf5272796a01970551bc2ee7e47dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logSecurity for maton-agent-toolkit 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for maton_agent_toolkit-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.