/ 目录 / 演练场 / api-gateway-skill
● 社区 maton-ai ⚡ 即开即用

api-gateway-skill

作者 maton-ai · maton-ai/api-gateway-skill

One API key unlocks Slack, HubSpot, Salesforce, Google Workspace, Shopify and more — Maton's managed auth gateway wrapped as a Claude skill.

Instead of registering OAuth apps with 8 different SaaS vendors, you get a single Maton API key and Claude can call all of them through the gateway. Maton handles token refresh, scopes, and per-vendor quirks; you focus on the workflow.

为什么要用

核心特性

实时演示

实际使用效果

api-gateway-skill.replay ▶ 就绪
0/0

安装

作者仓库 · Claude Skills 官方文档

使用场景

实战用法: api-gateway-skill

Pull today's HubSpot deals and post a brief to Slack

👤 Sales ops, founders running their own revenue reporting ⏱ ~15 min beginner

何时使用: You want a daily 'what moved in the pipeline' without logging into HubSpot.

步骤
  1. Query HubSpot
    Use api-gateway-skill. Pull deals updated today with a stage change in HubSpot. Include owner, amount, new stage.✓ 已复制
    → Structured list of deals with changes
  2. Format for Slack
    Summarize into a 5-line Slack message celebrating wins and flagging at-risk deals.✓ 已复制
    → Slack-flavored markdown
  3. Post
    Post to #sales-daily.✓ 已复制
    → Message posted; link returned

结果: A daily brief posted without copy-paste between 3 tools.

注意事项
  • Overposting when the pipeline is quiet — Ask Claude to skip posting on days with zero stage changes

Export yesterday's Shopify orders to a Google Sheet

👤 E-commerce ops teams using spreadsheets for reporting ⏱ ~10 min beginner

何时使用: You want a daily running sheet without a Shopify app install.

步骤
  1. Fetch orders
    Use api-gateway-skill. Pull yesterday's Shopify orders with SKU, quantity, customer, country.✓ 已复制
    → Order array
  2. Append to sheet
    Append as new rows to 'Orders 2026' sheet.✓ 已复制
    → Row count returned

结果: A self-populating order log.

注意事项
  • Rate limits during Black Friday — Paginate with Shopify cursors; Maton exposes them

Enrich Salesforce leads with recent Slack conversations

👤 AE / CS teams that discuss customers in Slack but report in SFDC ⏱ ~20 min intermediate

何时使用: You want customer context from multiple sources without swiveling.

步骤
  1. For a given lead, find Slack threads
    Use api-gateway-skill. Lead: ACME Corp. Find Slack messages in #cs-acme from the last 30 days mentioning them.✓ 已复制
    → Threads with timestamps + snippets
  2. Summarize and write back
    Summarize into a 3-bullet note and append to the ACME account in Salesforce.✓ 已复制
    → SFDC note created

结果: Context lives in both places without manual copy.

注意事项
  • Private channels missed — Make sure Maton's Slack app is invited to the relevant channels

组合

与其他 MCP 搭配,撬动十倍杠杆

api-gateway-skill + airtable

Sync between Maton-connected systems and your Airtable source of truth

Mirror HubSpot deals into the 'Pipeline' Airtable base.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
gateway_call vendor, endpoint, params Any cross-vendor operation 1 Maton API call
list_connections none Checking what's available before a workflow 1 call

成本与限制

运行它的成本

API 配额
Per Maton plan — typically thousands of calls/day on paid tiers
每次调用 Token 数
200–500 per vendor call
费用
Maton has a free tier; paid tiers scale with call volume
提示
Batch reads where possible; each call counts.

安全

权限、密钥、影响范围

最小权限: Vary per vendor — scoped to what you connect
凭据存储: Single Maton API key in env var (e.g. MATON_API_KEY); vendor tokens stored server-side by Maton
数据出站: Maton's API, then to the connected vendors
切勿授予: Admin scopes you don't need

故障排查

常见错误与修复

401 from gateway_call

Maton API key wrong or expired; regenerate in Maton dashboard

验证: curl -H "Authorization: Bearer $MATON_API_KEY" https://api.maton.ai/v1/connections
Vendor-specific error bubbles up

Maton passes vendor errors through. Check the vendor's docs for the error code.

Connection missing a scope

Reconnect the vendor in Maton UI and grant the needed scope

替代方案

api-gateway-skill 对比其他方案

替代方案何时用它替代权衡
Direct vendor MCPs (slack, hubspot, salesforce)You only need 1-2 vendorsManage OAuth yourself but no gateway dependency
Zapier / MakeNon-AI automation, point-and-clickNo LLM in the loop

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills