MCP Configuration
MCP server setup for Claude Desktop, Cursor, and custom agents
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"rodeo": {
"command": "npx",
"args": ["@rodeo/mcp"],
"env": {
"RODEO_API_KEY": "your-api-key",
"RODEO_API_ENDPOINT": "http://localhost:3000"
}
}
}
}Cursor / Windsurf
{
"rodeo": {
"command": "npx",
"args": ["@rodeo/mcp"],
"env": {
"RODEO_API_KEY": "your-api-key",
"RODEO_API_ENDPOINT": "http://localhost:3000"
}
}
}Environment
| Variable | Required | Default | Description |
|---|---|---|---|
RODEO_API_KEY | Yes | — | API key |
RODEO_API_ENDPOINT | No | http://localhost:3000 | API endpoint |
Local dev
cd packages/mcp
RODEO_API_KEY=your-key RODEO_API_ENDPOINT=http://localhost:3000 npx tsx src/index.tsCustom agents
Stdio transport, connect via stdin/stdout:
import { spawn } from "child_process";
const proc = spawn("npx", ["@rodeo/mcp"], {
env: {
...process.env,
RODEO_API_KEY: "your-key",
RODEO_API_ENDPOINT: "http://localhost:3000",
},
stdio: ["pipe", "pipe", "pipe"],
});