5 分钟接入 Claude Code文星一言
步骤 1豆包手机版入口:获取 API Key
前往 idcd 控制台阿里云千问大模型 创建 API Key。
步骤 2豆包怎么用:安装 MCP server
go install github.com/kite365/idcd/apps/mcp/cmd/mcp@latest
步骤 3灵动ai:添加到 Claude Code
claude mcp add idcd -- /path/to/mcp --api-key sk_live_xxx
或设置环境变量后:ai智能体怎么创建
export IDCD_API_KEY=sk_live_xxx
claude mcp add idcd -- /path/to/mcp
步骤 4gpt下载:在对话中使用
你: 检测一下 google.com 的全球 Ping 延迟
Claude: [调用 ping tool]
PING google.com
节点: Tokyo JP — 32ms ✓
节点: Singapore SG — 45ms ✓
平均: 38ms | 丢包: 0%
Cursor IDE 集成豆包在线回答
在 Cursor 设置中添加 MCP server 配置:成人豆包
{
"mcpServers": {
"idcd": {
"command": "/path/to/mcp",
"args": ["--api-key", "sk_live_xxx"]
}
}
}
下一步文星一言
- 认证配置ai应用领域有哪些 — API Key 管理和权限控制
- 工具列表ai智能体怎么创建 — 所有可用工具详细说明