返回市场
代理工具包

代理工具包

作者:maton-ai28 星标更新:2025-05-22

项目介绍

Maton Agent Toolkit

Maton Agent Toolkit 允许包括模型上下文协议(MCP)在内的流行代理框架通过函数调用与 Maton API 集成。该库并不包含整个 Maton API 的所有内容。它支持 TypeScript。

该工具包受到了 Stripe Agent Toolkit 的启发,其实现方式与 Stripe Agent Toolkit 的代码库有相似之处。

下面提供了基本说明,但请参阅 TypeScript 包以获取更多信息。

要开始使用,请在您的 Maton Dashboard 中获取您的 API 密钥,并查看 文档

TypeScript

安装

除非您想修改该包,否则不需要此源代码。如果您只是想使用该包,请运行:

npm install @maton/agent-toolkit

要求

  • Node 18+

使用

模型上下文协议

Maton Agent Toolkit 还支持 模型上下文协议(MCP)

要使用 npx 运行 Maton MCP 服务器,请使用以下命令:

API 代理(测试版)

# 使用 API 代理
npx -y @maton/mcp hubspot --agent --api-key=YOUR_MATON_API_KEY

API 动作

# 设置所有可用的 API 动作
npx -y @maton/mcp hubspot --actions=all --api-key=YOUR_MATON_API_KEY

# 设置所有可用的 API 动作
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 Dashboard 中获取 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 Dashboard 中获取 API 密钥。

可用的 API 动作

应用动作
airtablelist-bases
airtablelist-records
airtablelist-tables
asanacreate-task
asanaget-task
asanalist-projects
asanalist-tasks
asanalist-workspaces
awsget-s3-object
awslist-s3-buckets
awslist-s3-objects
calendlyget-event
calendlylist-event-invitees
calendlylist-event-types
calendlylist-events
clickupcreate-task
clickupdelete-task
clickupget-task
clickuplist-folders
clickuplist-lists
clickuplist-spaces
clickuplist-tasks
clickuplist-workspaces
google-calendarcreate-event
google-calendardelete-event
google-calendarget-calendar
google-calendarget-event
google-calendarlist-calendars
google-calendarlist-events
google-calendarupdate-event
google-docsappend-text
google-docscreate-document
google-docsfind-document
google-docsget-document
google-drivecreate-file
google-drivecreate-folder
google-drivedelete-file
google-drivefind-file
google-drivefind-folder
google-driveget-file
google-drivelist-files
google-mailadd-label-to-email
google-mailcreate-draft
google-mailfind-email
google-maillist-labels
google-mailsend-email
google-mailremove-label-from-email
google-sheetadd-column
google-sheetadd-multiple-rows
google-sheetclear-cell
google-sheetclear-rows
google-sheetcreate-spreadsheet
google-sheetcreate-worksheet
google-sheetdelete-rows
google-sheetdelete-worksheet
google-sheetfind-row
google-sheetget-cell
google-sheetget-spreadsheet
google-sheetget-values-in-range
google-sheetlist-worksheets
google-sheetupdate-cell
google-sheetupdate-multiple-rows
google-sheetupdate-row
hubspotcreate-contact
hubspotget-contact
hubspotlist-contacts
hubspotsearch-contacts
hubspotmerge-contacts
hubspotupdate-contact
hubspotdelete-contact
hubspotcreate-deal
hubspotget-deal
hubspotlist-deals
hubspotsearch-deals
hubspotmerge-deals
hubspotupdate-deal
hubspotdelete-deal
jiralist-clouds
jiraget-issue
jiralist-issues
jiraadd-comment-to-issue
jiralist-comments
jiraupdate-comment
jiralist-projects
jiraget-user
jiralist-users
jotformlist-forms
jotformlist-submissions
klaviyoadd-profiles-to-list
klaviyoassign-template-to-campaign-message
klaviyocreate-campaign
klaviyocreate-list
klaviyocreate-profile
klaviyocreate-template
klaviyoget-campaign-messages
klaviyoget-campaign-send-job
klaviyoget-campaigns
klaviyoget-lists
klaviyoget-profiles-for-list
klaviyoget-profiles
klaviyoget-templates
klaviyosend-campaign
mailchimpget-campaign
mailchimpsearch-campaign
notioncreate-page
notionfind-page
notionget-page
outlookcreate-draft
outlookfind-email
outlooksend-email
pipedrivesearch-people
salesforcecreate-contact
salesforceget-contact
salesforcelist-contacts
shopifycreate-order
shopifyget-order
shopifylist-orders
slacklist-channels
slacklist-messages
slacklist-replies
slacksend-message
stripecreate-customer
stripecreate-invoice-item
stripecreate-invoice
stripedelete-customer
stripeget-customer
stripeget-invoice
stripelist-customers
stripelist-invoices
typeformget-form
typeformlist-forms
typeformlist-responses
youtubelist-videos
youtubesearch-videos