Callio MCP服务器
允许AI代理访问 50+API 通过一个工具——由 模型上下文协议.
适用于 克劳德代码, 光标, 反重力,以及任何与MCP兼容的AI工具。
快速开始
1.获取Callio API密钥
- 注册地址: callio.dev
- 转到仪表板→ 生成API密钥
- 复制您的
callio_...钥匙
2.配置您的AI工具
克劳德代码
添加到您的Claude Code MCP配置中(~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"callio": {
"command": "npx",
"args": ["-y", "github:hmadhsan/callio-mcp"],
"env": {
"CALLIO_API_KEY": "callio_your_key_here"
}
}
}
}光标
添加到光标MCP设置(.cursor/mcp.json 在您的项目或全局配置中):
{
"mcpServers": {
"callio": {
"command": "npx",
"args": ["-y", "github:hmadhsan/callio-mcp"],
"env": {
"CALLIO_API_KEY": "callio_your_key_here"
}
}
}
}反重力
添加到您的反重力MCP配置中:
{
"mcpServers": {
"callio": {
"command": "npx",
"args": ["-y", "github:hmadhsan/callio-mcp"],
"env": {
"CALLIO_API_KEY": "callio_your_key_here"
}
}
}
}任何MCP客户端
服务器使用 stdio传输.运行:
CALLIO_API_KEY=callio_xxx npx github:hmadhsan/callio-mcp可用工具
search_apis
搜索和浏览可用的API。返回名称、slug、类别、描述和端点计数。
参数:
query(可选)--按名称、类别或描述搜索category(可选)--按类别筛选(例如“AI搜索”、“电子邮件”、“LLM”)
get_api_info
获取有关特定API的详细信息,包括所有端点、参数和示例响应。
参数:
slug(必需)-搜索结果中的API段塞
call_api
通过Callio代理调用任何API。自动处理身份验证、速率限制和路由。
参数:
slug(必需)-API段塞path(必填)--端点路径(例如。/posts/1)method(可选)--HTTP方法(GET、POST、PUT、PATCH、DELETE)body(可选)--JSON请求体query(可选)--查询字符串参数
对话示例
你: “搜索电子邮件API” 代理人: 用途 search_apis(query: "email") → 找到SendGrid、Snovio等。你: “JSONPlaceholder有哪些端点?” 代理人: 用途 get_api_info(slug: "jsonplaceholder") → 列出所有5个端点你: “从JSONPlaceholder获取帖子#1” 代理人: 用途 call_api(slug: "jsonplaceholder", path: "/posts/1", method: "GET") → 返回帖子环境变量
| 变量 | 必填 | 描述 |
|---|---|---|
CALLIO_API_KEY | 是 | 您的Callio API密钥(callio_...) |
CALLIO_BASE_URL | 否 | 覆盖基本URL(默认值: https://callio.dev) |
许可证
麻省理工学院
