Skip to content

Menu

Runpod MCP Server logo

Runpod MCP Server

Published

At a glance

GitHub repository
runpod/runpod-mcp
Watch out for
The server acts with the full permissions of the API key or OAuth session, so destructive tools like delete-pod and purge-endpoint-queue deserve a human approval step; every tool carries MCP annotations a host can use for that.

Runpod publishes this server itself, in the runpod/runpod-mcp repository and on npm as @runpod/mcp-server. It wraps the Runpod REST API so an agent can manage Pods, Serverless endpoints, templates, network volumes and container registries from a chat or coding session.

Two setups are supported. Runpod hosts it at https://mcp.runpod.io/ over Streamable HTTP, with a "Sign in with Runpod" OAuth flow that mints a session-scoped API key and stores nothing on disk. Or you run it locally as a stdio process through npx, with RUNPOD_API_KEY set in the client config. The docs say both expose the same capabilities.

The tools are generated from Runpod's v2 OpenAPI spec rather than written by hand, and the project ships often: version 5.1.0 landed on 24 November 2026. Runpod also runs a separate docs MCP server at https://docs.runpod.io/mcp that needs no auth and only searches documentation.

How it connects

Your AI app

An assistant or agent that supports MCP

Runpod MCP Server

Runs as

  • npx (Node.js)
  • Remote (HTTP)

Gives the agent

  • Pods
  • Serverless endpoints
  • GPU and capacity lookup
  • Endpoint metrics
  • Storage, registries and secrets
  • Templates, Hub and catalog

Runpod

Signs in with

  • OAuth / browser sign-in
  • API key
Your AI app talks to Runpod MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Pods
List, create and remove GPU Pods, with tools such as list-pods and delete-pod. You describe the image, GPU type and count in plain language.
Serverless endpoints
Create and inspect image-based endpoints with list-endpoints, and clear a backlog with purge-endpoint-queue. Endpoints take an image and a GPU pool rather than a template.
GPU and capacity lookup
list-gpu-types, get-gpu-type and get-capacity show what hardware exists and where. The pool value from list-gpu-types is what endpoint creation expects.
Endpoint metrics
get-endpoint-request-metrics, get-endpoint-cold-start-metrics and get-endpoint-worker-metrics return paged metric records for a deployed endpoint.
Storage, registries and secrets
list-network-volumes, list-registries and list-secrets cover the supporting resources a deployment relies on.
Templates, Hub and catalog
list-public-templates, list-hub-repos, deploy-hub-repo and the newer catalog tools such as get-catalog-repo and get-catalog-repo-readme help an agent find and deploy prebuilt workloads.

Setting it up

Runpod's guided installer is the quickest route: run npx @runpod/mcp-server@latest add, which detects Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, opencode and Pi and writes the config (it needs Node.js 20.12 or later; add --client cursor to skip the prompts, and remove to undo). By hand in Claude Code, connect the hosted server with claude mcp add --transport http runpod -s user https://mcp.runpod.io/ and sign in when the browser opens; append --header "Authorization: Bearer $RUNPOD_API_KEY" if you would rather skip OAuth. Cursor takes an mcpServers entry named runpod with "url": "https://mcp.runpod.io/" in .cursor/mcp.json or ~/.cursor/mcp.json, then you connect it under Settings > MCP. In Claude Desktop, go to Settings > Connectors > Add custom connector and enter the same URL. For the local stdio server, run claude mcp add runpod --scope user -e RUNPOD_API_KEY=your_api_key_here -- npx -y @runpod/mcp-server@latest, or put command npx with args -y @runpod/mcp-server@latest and the RUNPOD_API_KEY env var in the JSON config of Cursor, Windsurf, Gemini CLI or Claude Desktop.

Run in a terminal
claude mcp add --transport http runpod https://mcp.runpod.io/

If the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Spin up a Pod with a specific PyTorch image on one RTX 4090 for a quick training run, then delete it when the job is done.
  • Create a Serverless endpoint from a container image with zero minimum and three maximum workers, picking the GPU pool from list-gpu-types.
  • Check cold start and worker metrics on an endpoint that feels slow before changing its scaling settings.
  • Look up how a Runpod feature works through the guide and docs tools while writing deployment code.

Limitations and things to watch

  • The server acts with the full permissions of the API key or OAuth session, so destructive tools like delete-pod and purge-endpoint-queue deserve a human approval step; every tool carries MCP annotations a host can use for that.
  • Since 5.0.0 every list returns one page of at most 100 rows (20 by default) and stops before 24,000 bytes, so agents must follow pagination.nextCursor, and scripts written against older versions break.
  • Hosted sign-in works in Claude, ChatGPT, Codex, Cursor and clients that redirect to localhost; others may get a redirect_uri error and need an API key header or the local server.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…