Claude Code integrationai人工智能免费
Wire idcd MCP into Claude Code and Claude gains the ability to probe networks from around the world.chart gpt
Prerequisites智普ai
- Claude Codeai功能在哪下载 installed
- API key generated in the idcd dashboardai人工智能免费
- Go 1.21+ (used to build the MCP server)
Install the MCP serverai人工智能免费
go install github.com/kite365/idcd/apps/mcp/cmd/mcp@latest
After install, the mcp binary is in $GOPATH/bin.
Register with Claude Code百度ai app
Option A: CLI (recommended)焦点ai官网
# Set the API key
export IDCD_API_KEY=sk_live_your_key_here
# Register the MCP server
claude mcp add idcd -- $(which mcp)
Option B: config file百度ai app
Edit ~/.claude.json:
{
"mcpServers": {
"idcd": {
"command": "/path/to/mcp",
"env": {
"IDCD_API_KEY": "sk_live_your_key_here"
}
}
}
}
Example usage智普ai
After the server is registered, just describe what you need in chat:ai功能在哪下载
You: Ping google.com from major global nodes
Claude: [calls the ping tool]
Result:
Node: Tokyo JP — 28ms ✓
Node: Singapore SG — 45ms ✓
Node: US East — 98ms ✓
Average: 57ms | Loss: 0%
You: Can my site https://example.com be reached from mainland China?
Claude: [calls http with mainland China nodes]
HTTP probe (Beijing):
Status: 200 OK
Response time: 342ms
Verdict: reachable
Available toolsai是人工智能吗
Once integrated, Claude can use the following tools (see tool referenceagi和ai的区别):
ping— multi-node ICMP pinghttp— HTTP / HTTPS reachabilitydns— DNS resolutiontraceroute— route tracingssl— SSL certificate inspectionip— IP ownership lookupwhois— WHOIS lookupdiagnose— one-shot full diagnostic
Troubleshootingtrae国际版
"command mcp not found"
Make sure $GOPATH/bin is on your PATH:
export PATH="$PATH:$(go env GOPATH)/bin"
Invalid API key石头扫地机器人官网
Open the dashboardai是人工智能吗 and check expiry — Personal keys are valid for 24 hours only.