● 社区
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.
为什么要用
核心特性
- Single API key for 50+ SaaS APIs
- Managed OAuth — no per-vendor app registration
- Token refresh handled server-side
- Unified error shape across vendors
- Scoped permissions you can revoke centrally
实时演示
实际使用效果
api-gateway-skill.replay
▶ 就绪
使用场景
实战用法: api-gateway-skill
何时使用: You want a daily 'what moved in the pipeline' without logging into HubSpot.
步骤
-
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
-
Format for Slack
Summarize into a 5-line Slack message celebrating wins and flagging at-risk deals.✓ 已复制
→ Slack-flavored markdown
-
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
何时使用: You want a daily running sheet without a Shopify app install.
步骤
-
Fetch orders
Use api-gateway-skill. Pull yesterday's Shopify orders with SKU, quantity, customer, country.✓ 已复制
→ Order array
-
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
何时使用: You want customer context from multiple sources without swiveling.
步骤
-
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
-
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 搭配,撬动十倍杠杆
Sync between Maton-connected systems and your Airtable source of truth
Mirror HubSpot deals into the 'Pipeline' Airtable base.✓ 已复制
成本与限制
运行它的成本
- 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
- You're trusting Maton as an OAuth broker. Review their security docs and SOC2 posture before connecting production systems.
- Rotate the Maton API key periodically. Revoke vendor connections from the Maton dashboard when no longer needed.
故障排查
常见错误与修复
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 vendors | Manage OAuth yourself but no gateway dependency |
| Zapier / Make | Non-AI automation, point-and-click | No LLM in the loop |