MCP server that lets Claude, Cursor, Copilot, or any MCP-compatible coding agent provision GPU jobs and model endpoints directly from the editor.
badgr-mcp exposes GPU provisioning as MCP tools, so your coding agent can serve a model or run a job without you leaving the editor.
Point your agent's MCP config at npx badgr-mcp with a BADGR_API_KEY environment variable.
Your agent calls badgr_serve or badgr_run directly and gets back a deployment_id plus an endpoint or logs URL.
The agent calls badgr_down to terminate the deployment and stop billing immediately.
npx badgr-mcpRequires Node.js 18+, a Badgr API key (sign up at aibadgr.com), and an MCP-compatible coding agent.
Add badgr-mcp to your MCP client config (Claude, Cursor, Copilot, or any MCP-compatible tool):
{
"mcpServers": {
"badgr": {
"command": "npx",
"args": ["badgr-mcp"],
"env": {
"BADGR_API_KEY": "your-api-key"
}
}
}
}Agent: badgr_serve("meta-llama/Llama-3.1-8B-Instruct", max_runtime_minutes=30)
← { deployment_id: "dep-abc123", openai_base_url: "https://dep-abc123.aibadgr.com/v1", cost_per_hour: 1.20 }
Agent: [uses openai_base_url to run inference]
Agent: badgr_down("dep-abc123")
← { status: "terminated", message: "Billing stopped" }npx badgr-mcp — no account needed to get started.