惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
D
Docker
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
月光博客
月光博客
小众软件
小众软件
量子位
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
罗磊的独立博客
博客园 - 叶小钗
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
博客园 - 司徒正美
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
C
Check Point Blog

Runpod Blog.

New Runpod datacenter now live: AP-IN-1 Track GPU spend across your team with Cost Centers The GPU supply supercycle is here. Here’s what AI builders need to know. Community Spotlight: One-click AI image and video generation on Runpod with SwarmUI | Runpod Blog Community Spotlight: LoRA Pilot Data Prep to Inference Introducing the Runpod Assistant: Manage Your Cloud GPU Resources with Natural Language OpenAI's Parameter Golf: Train the Best Language Model That Fits in 16MB on Runpod LLM inference optimization: techniques that actually reduce latency and cost Pruna P-Video and Vidu Q3 public endpoints now available on Runpod Runpod brand spelling guide Quickstart - Runpod Documentation The AI market looks nothing like the narrative Training StyleGAN3 with Vision-Aided GAN on Runpod KoboldAI – The Other Roleplay Front End, And Why You May Want to Use It How to Connect Cursor to LLM Pods on Runpod for Seamless AI Dev Community Spotlight: How AnonAI Scaled Its Private Chatbot Platform with Runpod Prompt Scheduling with Disco Diffusion on Runpod Runpod's Latest Innovation: Dockerless CLI for Streamlined AI Development Run Your Own AI from Your iPhone Using Runpod Introducing Flash: Run GPU workloads on Runpod Serverless: No Docker required Use Claude Code with your own model on Runpod: No Anthropic account required Avoid Errors by Selecting the Proper Resources for Your Pod What hackers built on Runpod at TreeHacks 2026 Easily Back Up and Restore Your Pod with Cloud Sync + Backblaze B2 The Complete Guide to GPU Requirements for LLM Fine-Tuning AI Guides, Tutorials & GPU Infrastructure Insights | Runpod Your first Claude Code project within Runpod: a complete setup guide 10 billion Serverless requests and counting Building for resilience: Runpod’s response to the AWS us-east-1 outage How to Connect Google Colab to Runpod
Runpod Just Got Native in Your AI IDE
Jacob Wright · 2025-05-05 · via Runpod Blog.

The way you build with AI is changing—and now, so is the way you interact with your infrastructure. Runpod ships an official MCP server, unlocking chat-native access to your GPU fleet from any AI-first IDE.

Drop it into Claude Code, Cursor, Codex CLI, VS Code, Windsurf, Cline, Gemini CLI, Claude Desktop, or any JetBrains IDE. If your tool speaks Model Context Protocol (MCP), it now speaks fluent Runpod.

No more context switching. No more hand-written curl commands. Just talk to your editor and your model handles the infrastructure like spinning up Pods, deploying endpoints, manage volumes, and more.

What is an MCP Server?

MCP is an open JSON‑RPC 2.0 standard that lets language model interfaces and tool providers speak the same language.

Instead of bolting together fragile glue code and one-off REST wrappers, you just define a few message types (initialize, request, result, etc.) and let the model decide what tools to invoke and when to do it. The MCP server handles the call. The client (Cursor, Claude Code, etc.) handles the UI. Your model handles the logic.

With the Runpod MCP server, that means full access to your Runpod account; directly from your editor, no context switch required.

Two servers, two jobs

Runpod actually ships two MCP servers:

  • Runpod API MCP server: manage Pods, Serverless endpoints, templates, network volumes, and container registries through the Runpod REST API. Requires a Runpod API key. Published as the npm package @runpod/mcp-server.
  • Runpod docs MCP server: search Runpod's documentation for features, code examples, and guides. No authentication required. Available over HTTP at https://docs.runpod.io/mcp.

The rest of this post focuses on the API server. The docs server is covered at the end.

What you can do (spoiler: almost everything)

Once the API server is connected, your assistant can reach all of the tools below. You can toggle individual tools on and off in your client, so what the model is allowed to do stays entirely within your control.

Pods

  • create-pod
  • list-pods
  • get pod
  • update-pod
  • start-pod
  • stop-pod
  • delete-pod
  • get-pod

Serverless Endpoints

  • create-endpoint
  • list-endpoint
  • get-endpoint
  • delete-endpoint
  • update-endpoint

Templates

  • list-template
  • get-template
  • create-template
  • update-template
  • delete-template

Endpoint jobs & runtime

  • run-endpoint
  • runsync-endpoint
  • get-job-status
  • stream-job
  • cancel-job
  • retry-job
  • purge-endpoint-queue
  • endpoint-health

Network Volumes

  • list-network-volumes
  • get-network-volume
  • create-network-volume
  • update-network-volume
  • delete-network-volume

Container Registry Auth

  • list-container-registry-auths
  • get-container-registry-auth
  • create-container-registry-auth
  • delete-container-registry-auth

Discovery (read-only)

  • list-gpu-types
  • list-data-centers

Under the hood, the create/read/update/delete tools wrap the same REST operations you already know, while the read-only discovery tools (list-gpu-types, list-data-centers) use Runpod's public GraphQL API, so they work without write access. Your model fills in the parameters and handles validation and errors for you.

What It Feels Like in Practice

Once set up, you can talk to your AI assistant like this:

“Create a serverless endpoint using my template called jacobs-comfyui.”

Behind the scenes, your IDE routes that natural-language request to your LLM, which selects the right MCP tool (create-endpoint), fills in the parameters, and fires it off to Runpod. A few seconds later, your endpoint is live.

No terminal. No docs. Just code and chat.

Quickstart Guide

Prereqs

  • Node.js 18 or higher
  • A Runpod account and API key (get yours in the console)
  • Any MCP-compatible client (Claude Code, Cursor, Codex CLI, VS Code, Windsurf, Cline, Gemini CLI, Claude Desktop, JetBrains, etc.)

The fastest path: run with npx

You don't have to clone or build anything. The server runs straight from npm:

RUNPOD_API_KEY=YOUR_API_KEY npx @runpod/mcp-server@latest

Most clients just need this same command wired into their config. Examples follow.

Setting it up in your client

Replace YOUR_API_KEY with your actual Runpod API key in every example below.

Claude Code

Add the server globally so it's available across all your projects:

claude mcp add runpod -s user \
  -e RUNPOD_API_KEY=YOUR_API_KEY \
  -- npx -y @runpod/mcp-server@latest

Or scope it to a single project (this writes a .mcp.json file you can commit):

claude mcp add runpod -s project \
  -e RUNPOD_API_KEY=YOUR_API_KEY \
  -- npx -y @runpod/mcp-server@latest

Verify with claude mcp list. If you're already in a session, type /mcp to reconnect without restarting.

Codex CLI

codex mcp add runpod --env RUNPOD_API_KEY=YOUR_API_KEY -- npx -y @runpod/mcp-server@latest

Cursor

Add the following to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for global access. This works with both the Cursor IDE and the Cursor Agent:

{
  "mcpServers": {
    "runpod": {
      "command": "npx",
      "args": ["-y", "@runpod/mcp-server@latest"],
      "env": {
        "RUNPOD_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Windsurf, Cline, VS Code, Gemini CLI, JetBrains

These clients use the same command / args / env pattern shown above; only the location of the config file differs:

  • Windsurf: ~/.codeium/windsurf/mcp_config.json
  • Cline: cline_mcp_settings.json (open via the MCP Servers panel in the Cline sidebar)
  • VS Code (Copilot agent mode, 1.101+): .vscode/mcp.json, or run MCP: Add Server → stdio from the Command Palette
  • Gemini CLI: ~/.gemini/settings.json (global) or .gemini/settings.json (project)
  • JetBrains: ~/.junie/mcp.json (global) or .junie/mcp/ in your project

What it feels like in practice

Once connected, you can talk to your assistant in plain language:

"Create a Serverless endpoint from my template 30zmvf89kd, named image-gen, scaling from 0 to 5 workers."

Behind the scenes, your client routes that request to the model, which selects the right tool (create-endpoint), fills in the parameters, and calls Runpod. A few seconds later, your endpoint is live.

A few more things you can just ask for:

"Which secure-cloud GPUs have at least 48 GB of VRAM right now?"list-gpu-types

"Spin up a single RTX 4090 Pod running the PyTorch image and give me the Pod ID."create-pod

"Run my endpoint with this input, then stream the job output back to me."run-endpoint + stream-job

Bonus: the docs MCP server

Want your assistant to answer Runpod questions accurately instead of guessing? Add the docs server. It's read-only, needs no API key, and uses HTTP transport.

Claude Code:

claude mcp add runpod-docs --scope user --transport http https://docs.runpod.io/mcp

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "runpod-docs": {
      "url": "https://docs.runpod.io/mcp"
    }
  }
}

A note on security

Your Runpod API key grants full access to your account. Never share it. Consider creating a separate, limited-permission key for MCP use, be deliberate about which tools you leave enabled, and don't wire this into a production environment without appropriate safeguards.

Why We Built This

We’re big believers in developer flow. The future of infrastructure isn’t menus and dashboards. It’s context-aware, assistant-driven, and conversational. By building Runpod’s MCP server, we’re making it feel native to every AI-first editor you already use.

Try it out, and let us know what you'd like us to build next.

👉 GitHub Repo

Related posts

Author profile: Jacob Wright