/ 目录 / 演练场 / Klavis
● 社区 Klavis-AI 🔑 需要你的密钥

Klavis

作者 Klavis-AI · Klavis-AI/klavis

Managed MCP integration platform — one auth, one gateway, 50+ MCP servers for apps like Slack, Salesforce, GCal.

Klavis hosts production-ready MCP servers with OAuth and multi-tenant auth handled for you. Instead of installing 20 MCPs locally and juggling 20 tokens, you get one gateway URL. Useful when deploying agents to end users — they click "Connect Slack" and Klavis owns the OAuth dance.

为什么要用

核心特性

实时演示

实际使用效果

klavis.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "klavis": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.klavis.ai/mcp/{server}?auth_token=YOUR_TOKEN"
      ]
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "klavis": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.klavis.ai/mcp/{server}?auth_token=YOUR_TOKEN"
      ]
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "klavis": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.klavis.ai/mcp/{server}?auth_token=YOUR_TOKEN"
      ]
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "klavis": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.klavis.ai/mcp/{server}?auth_token=YOUR_TOKEN"
      ]
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "klavis",
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.klavis.ai/mcp/{server}?auth_token=YOUR_TOKEN"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "klavis": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "mcp-remote",
          "https://api.klavis.ai/mcp/{server}?auth_token=YOUR_TOKEN"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add klavis -- npx -y mcp-remote https://api.klavis.ai/mcp/{server}?auth_token=YOUR_TOKEN

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: Klavis

Ship an agent that touches 5 SaaS tools without 5 auth flows

👤 Product builders embedding Claude into their app ⏱ ~45 min intermediate

何时使用: Your users want Claude to read Gmail, update HubSpot, comment on Jira — and you don't want to write OAuth glue for each.

前置条件
  • Klavis account + API key — Sign up at klavis.ai and grab the key from dashboard
  • Selected servers enabled — Toggle Gmail, HubSpot, Jira on in the Klavis UI
步骤
  1. Wire the gateway
    Add Klavis as an MCP server with my token. List which tools are now available.✓ 已复制
    → Tool list mentions Gmail, HubSpot, Jira endpoints
  2. End-user connect
    Generate the Connect-Gmail URL for user_id=xyz. When they return, confirm auth succeeded.✓ 已复制
    → OAuth URL returned; post-callback shows connected:true
  3. Cross-app action
    For the latest Gmail from acme.com, create a HubSpot contact and a Jira ticket summarizing the thread.✓ 已复制
    → All three APIs hit in one flow with audit trail

结果: A working multi-SaaS agent with user-scoped auth and one config URL.

注意事项
  • User tokens expire silently — Subscribe to the auth_expired webhook and prompt the user to reconnect
搭配使用: gmail · slack

Internal ops bot — file tickets, update CRM, post to Slack from one chat

👤 Internal tools teams ⏱ ~30 min intermediate

何时使用: You want one Claude chat that can "do the paperwork" across your SaaS stack.

前置条件
  • Admin OAuths all apps once — Connect each app from the team account, not per-user
步骤
  1. Connect stack
    Add Klavis. Confirm Salesforce, Jira, Slack are all connected.✓ 已复制
    → All three show connected status
  2. Triage email
    For the customer complaint in the last Slack #support message: create a Salesforce case, a Jira bug, and reply-in-thread with the ticket links.✓ 已复制
    → Case + bug created; Slack reply links them

结果: Cross-tool action completed in one chat with receipts in each system.

注意事项
  • Rate limits on Slack — Klavis dashboard shows per-app quota; batch operations when possible
搭配使用: slack · linear

组合

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

klavis + gmail

Local Gmail MCP for personal, Klavis for multi-user

Use my local Gmail MCP for me, Klavis for customer data.✓ 已复制
klavis + slack

Post status updates from ops flows

After creating the Salesforce case, post a summary in #customers via Klavis.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
list_connected_apps user_id?: str Check which apps a given user has connected free
get_auth_url app: str, user_id: str Kick off user OAuth flow free
proxy_tool_call app, tool, args, user_id Any downstream tool call — Klavis routes it varies by app

成本与限制

运行它的成本

API 配额
Free tier: 1k calls/mo. Pro: 100k/mo.
每次调用 Token 数
100–2000 depending on app
费用
Freemium + usage-based
提示
Audit which apps drive the bulk of calls and set per-app quotas in the dashboard

安全

权限、密钥、影响范围

最小权限: read (per app) write-scoped (per app)
凭据存储: Klavis holds OAuth tokens; encrypted at rest
数据出站: api.klavis.ai + each downstream SaaS
切勿授予: admin scopes unless truly needed

故障排查

常见错误与修复

401 from proxy_tool_call

User's OAuth expired — call get_auth_url again and have them reconnect

验证: Call list_connected_apps, check status==connected
Server "notion" not in gateway

Enable it in the Klavis dashboard first, then restart the MCP client to pick up new tools

Rate limit on a single app

Klavis returns 429 with retry_after; back off or batch

替代方案

Klavis 对比其他方案

替代方案何时用它替代权衡
Composio MCPYou want a similar hosted-integration platform with different pricingDifferent app coverage; similar auth model
Self-hosted individual MCPsSingle user, few apps, compliance-sensitiveYou own the OAuth glue for every app

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

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