多顿助手
与您的SaaS工具进行对话,包括HubSpot、Salesforce等。
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"maton": {
"args": [
"-y",
"@maton/mcp@latest",
"hubspot",
"--actions=all",
"--api-key=YOUR_MATON_API_KEY"
],
"command": "npx"
}
}
}
该服务需要配置环境变量:MATON_API_KEY
服务介绍
Maton 模型上下文协议
Maton 模型上下文协议 服务器允许您通过函数调用来集成 Maton API。该协议支持各种应用程序和操作与不同的 Maton 服务进行交互。
您可以在 Maton 仪表板 中获取您的 API 密钥,并查看文档。
设置
要使用 npx 运行 Maton MCP 服务器,请使用以下命令:
API 代理(测试版)
# To use API agent
npx -y @maton/mcp hubspot --agent --api-key=YOUR_MATON_API_KEY
API 操作
# To set up all available API actions
npx -y @maton/mcp hubspot --actions=all --api-key=YOUR_MATON_API_KEY
# To set up all available API actions
npx -y @maton/mcp hubspot --actions=create-contact,list-contacts --api-key=YOUR_MATON_API_KEY
请确保将 YOUR_MATON_API_KEY 替换为您实际的 Maton API 密钥。或者,您可以在环境变量中设置 MATON_API_KEY。您可以在 Maton 仪表板 中获取您的 API 密钥。
与 Claude Desktop 一起使用
在您的 claude_desktop_config.json 文件中添加以下内容。有关更多详细信息,请参阅这里。
{
"mcpServers": {
"maton": {
"command": "npx",
"args": [
"-y",
"@maton/mcp@latest",
"hubspot",
"--actions=all",
"--api-key=YOUR_MATON_API_KEY"
]
}
}
}
请确保将 YOUR_MATON_API_KEY 替换为您实际的 Maton API 密钥。或者,您可以在 env 变量中设置 MATON_API_KEY。您可以在 Maton 仪表板 中获取您的 API 密钥。
调试服务器
要调试您的服务器,您可以使用 MCP Inspector。
首先构建服务器
npm run build
在终端中运行以下命令:
# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.js salesforce --actions=all --api-key=YOUR_MATON_API_KEY
说明
- 将
YOUR_MATON_API_KEY替换为您实际的 Maton API 密钥。 - 运行命令以启动 MCP Inspector。
- 在浏览器中打开 MCP Inspector UI 并单击连接以启动 MCP 服务器。
- 您可以看到所选工具的列表,并单独测试每个工具。
可用的 API 操作
| App | Action |
|---|---|
airtable |
list-bases |
airtable |
list-records |
airtable |
list-tables |
asana |
create-task |
asana |
get-task |
asana |
list-projects |
asana |
list-tasks |
asana |
list-workspaces |
aws |
get-s3-object |
aws |
list-s3-buckets |
aws |
list-s3-objects |
calendly |
get-event |
calendly |
list-event-invitees |
calendly |
list-event-types |
calendly |
list-events |
clickup |
create-task |
clickup |
delete-task |
clickup |
get-task |
clickup |
list-folders |
clickup |
list-lists |
clickup |
list-spaces |
clickup |
list-tasks |
clickup |
list-workspaces |
google-calendar |
create-event |
google-calendar |
delete-event |
google-calendar |
get-calendar |
google-calendar |
get-event |
google-calendar |
list-calendars |
google-calendar |
list-events |
google-calendar |
update-event |
google-docs |
append-text |
google-docs |
create-document |
google-docs |
find-document |
google-docs |
get-document |
google-drive |
create-file |
google-drive |
create-folder |
google-drive |
delete-file |
google-drive |
find-file |
google-drive |
find-folder |
google-drive |
get-file |
google-drive |
list-files |
google-mail |
add-label-to-email |
google-mail |
create-draft |
google-mail |
find-email |
google-mail |
list-labels |
google-mail |
send-email |
google-sheet |
add-column |
google-sheet |
add-multiple-rows |
google-sheet |
clear-cell |
google-sheet |
clear-rows |
google-sheet |
create-spreadsheet |
google-sheet |
create-worksheet |
google-sheet |
delete-rows |
google-sheet |
delete-worksheet |
google-sheet |
find-row |
google-sheet |
get-cell |
google-sheet |
get-spreadsheet |
google-sheet |
get-values-in-range |
google-sheet |
list-worksheets |
google-sheet |
update-cell |
google-sheet |
update-multiple-rows |
google-sheet |
update-row |
hubspot |
create-contact |
hubspot |
get-contact |
hubspot |
list-contacts |
hubspot |
search-contacts |
hubspot |
merge-contacts |
hubspot |
update-contact |
hubspot |
delete-contact |
hubspot |
create-deal |
hubspot |
get-deal |
hubspot |
list-deals |
hubspot |
search-deals |
hubspot |
merge-deals |
hubspot |
update-deal |
hubspot |
delete-deal |
jira |
list-clouds |
jira |
get-issue |
jira |
list-issues |
jira |
add-comment-to-issue |
jira |
list-comments |
jira |
update-comment |
jira |
list-projects |
jira |
get-user |
jira |
list-users |
klaviyo |
add-profiles-to-list |
klaviyo |
assign-template-to-campaign-message |
klaviyo |
create-campaign |
klaviyo |
create-list |
klaviyo |
create-profile |
klaviyo |
create-template |
klaviyo |
get-campaign-messages |
klaviyo |
get-campaign-send-job |
klaviyo |
get-campaigns |
klaviyo |
get-lists |
klaviyo |
get-profiles-for-list |
klaviyo |
get-profiles |
klaviyo |
get-templates |
klaviyo |
send-campaign |
salesforce |
create-contact |
salesforce |
get-contact |
salesforce |
list-contacts |