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 密钥。
Related MCP server: HubSpot MCP Server
调试服务器
要调试您的服务器,您可以使用MCP Inspector 。
首先搭建服务器
在终端中运行以下命令:
# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.js salesforce --actions=all --api-key=YOUR_MATON_API_KEY
指示
用您的实际 Maton API 密钥替换YOUR_MATON_API_KEY 。
运行命令启动 MCP Inspector。
在浏览器中打开 MCP Inspector UI,然后单击“连接”以启动 MCP 服务器。
您可以查看所选工具的列表并单独测试每个工具。
可用的 API 操作
应用程序 | 行动 |
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
|