MCP Installation
Prerequisites
- Node.js 18+
- A Cyborg publishable key (get one from the dashboard)
- Claude Code or Cursor IDE
Claude Code Setup
Add to ~/.claude/mcp.json:
json
{
"mcpServers": {
"cyborg": {
"command": "npx",
"args": ["@cyborg-sdk/mcp"],
"env": {
"CYBORG_PUBLISHABLE_KEY": "cpk_live_xxx"
}
}
}
}Cursor Setup
Add to your Cursor MCP configuration:
json
{
"cyborg": {
"command": "npx",
"args": ["@cyborg-sdk/mcp"],
"env": {
"CYBORG_PUBLISHABLE_KEY": "cpk_live_xxx"
}
}
}Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
CYBORG_PUBLISHABLE_KEY | Yes* | - | Your Cyborg publishable key |
CYBORG_API_URL | No | https://api.cyborgsdk.dev/api/v1 | Custom API endpoint |
*Can also be passed directly to tool calls via the publishableKey parameter.
Verify Installation
After configuration, restart your IDE and try:
- Ask Claude to "list my documentation files"
- You should see the
docs://filesresource available
Troubleshooting
"MCP server not found"
Make sure:
- Node.js 18+ is installed
npxis in your PATH- The MCP configuration file is in the correct location
"Authentication failed"
Check that:
- Your API key is correct
- The API key has the necessary permissions
- The environment variable is set correctly
"Connection refused"
Verify:
- Your network allows outgoing HTTPS connections
- The API URL is correct (default:
https://api.cyborgsdk.dev/api/v1)
Next Steps
- Generate Docs - Create documentation from code
- Upload Docs - Push docs to Cyborg
- Tools Reference - All available tools