使用说明
Maton代理工具包
此仓库可帮助您将AI代理连接到 马顿,允许您通过统一的API连接和自动化150多个应用程序(Google Workspace、Microsoft 365、GitHub、Notion、Slack、Airtable、HubSpot等)。
模型上下文协议(MCP)
Maton在以下位置托管远程MCP服务器 https://mcp.maton.ai。它支持这两种功能 OAuth 和 API密钥 (Authorization: Bearer header)身份验证,因此您可以从任何MCP客户端安全连接。
- 远程(OAuth): 将您的MCP客户端指向
https://mcp.maton.ai并在浏览器中完成OAuth流程。 - 本地(API密钥): 使用以下命令运行本地代理
npx -y @maton/mcp --api-key=YOUR_MATON_API_KEY.
看 MCP包 了解设置说明、Docker使用方法和完整的工具列表。
代理工具包
Maton Agent Toolkit通过函数调用将流行的代理框架连接到Maton MCP服务器。它发现了上可用的工具 https://mcp.maton.ai 并以每个框架的原生格式公开它们。
- TypeScript (
@maton/agent-toolkit)——LangChain、Vercel的AI SDK、OpenAI、MCP。 - python (
maton-agent-toolkit)——OpenAI代理SDK、LangChain、CrewAI、Strands。
npm install @maton/agent-toolkit # TypeScript
uv pip install maton-agent-toolkit # Python
插件
我们为流行的代理线束提供插件,为您连接Maton MCP服务器。每个插件在以下位置注册远程服务器 https://mcp.maton.ai,因此一旦安装了Maton工具,您就可以在第一次使用时在浏览器中完成OAuth流程。
Claude 代码
将此仓库添加为插件市场,然后安装Maton插件:
claude plugin marketplace add maton-ai/agent-toolkit
claude plugin install maton@maton-plugins
光标
- 跑
/add-plugin. - 点击 浏览市场.
- 粘贴repo链接:
https://github.com/maton-ai/agent-toolkit. - 安装插件。
法典
将此仓库添加为插件市场,然后安装Maton插件:
codex plugin marketplace add maton-ai/agent-toolkit
codex plugin add maton@maton-plugins
开爪
在您的账户中注册Maton MCP服务器 openclaw.json 在...之下 mcp.servers,然后在首次使用时通过浏览器中的OAuth进行身份验证:
{
"mcp": {
"servers": {
"maton": {
"url": "https://mcp.maton.ai",
"transport": "streamable-http",
"auth": "oauth"
}
}
}
}
手动安装
如果您不想使用插件,请直接在MCP客户端配置中注册Maton MCP服务器(.mcp.json 对于克劳德代码, mcp.json 光标):
{
"mcpServers": {
"maton": {
"type": "http",
"url": "https://mcp.maton.ai"
}
}
}
