Skip to main content
Glama

RunPod MCP Server

This Model Context Protocol (MCP) server enables you to interact with the RunPod REST API through Claude or other MCP-compatible clients.

Features

The server provides tools for managing:

  • Pods: Create, list, get details, update, start, stop, and delete pods

  • Endpoints: Create, list, get details, update, and delete serverless endpoints

  • Templates: Create, list, get details, update, and delete templates

  • Network Volumes: Create, list, get details, update, and delete network volumes

  • Container Registry Authentications: Create, list, get details, and delete authentications

Related MCP server: Hyperbolic GPU MCP Server

Setup

Prerequisites

  • Node.js 18 or higher

  • A RunPod account and API key

  • Claude for Desktop or another MCP-compatible client

Installing via Smithery

To install runpod-mcp-ts for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @runpod/runpod-mcp-ts --client claude

Installation

  1. Clone the repository

  2. Install dependencies:

    npm install
  3. Build the server:

    npm run build

Configuration

Set your RunPod API key as an environment variable:

# Linux/macOS
export RUNPOD_API_KEY=your_api_key_here

# Windows (Command Prompt)
set RUNPOD_API_KEY=your_api_key_here

# Windows (PowerShell)
$env:RUNPOD_API_KEY="your_api_key_here"

You can get your API key from the RunPod console.

Running the Server

Start the server:

npm start

Setting up with Claude for Desktop

  1. Open Claude for Desktop

  2. Edit the config file: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

  3. Add the server configuration:

{
  "mcpServers": {
    "runpod": {
      "command": "node",
      "args": ["/path/to/runpod-mcp-server/build/index.js"],
      "env": {
        "RUNPOD_API_KEY": "your_api_key_here"
      }
    }
  }
}

Make sure to replace the "args": ["/path/to/runpod-mcp-server/build/index.js"] with the path to the build folder in the repository.

  1. Restart Claude for Desktop

Usage Examples

Here are some examples of how to use the server with Claude:

List all pods

Can you list all my RunPod pods?

Create a new pod

Create a new RunPod pod with the following specifications:
- Name: test-pod
- Image: runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04
- GPU Type: NVIDIA GeForce RTX 4090
- GPU Count: 1

Create a serverless endpoint

Create a RunPod serverless endpoint with the following configuration:
- Name: my-endpoint
- Template ID: 30zmvf89kd
- Minimum workers: 0
- Maximum workers: 3

Security Considerations

This server requires your RunPod API key, which grants full access to your RunPod account. For security:

  • Never share your API key

  • Be cautious about what operations you perform

  • Consider setting up a separate API key with limited permissions

  • Don't use this in a production environment without proper security measures

License

MIT

Available Tools

26 tools
create-container-registry-authD

Inputs: name (required), username (required), password (required).

create-endpointD

Inputs: templateId (required), name, computeType, gpuTypeIds, +4 more.

create-network-volumeD

Inputs: name (required), size (required), dataCenterId (required).

create-podD

Inputs: imageName (required), name, cloudType, gpuTypeIds, +7 more.

create-templateD

Inputs: name (required), imageName (required), isServerless, ports, +7 more.

delete-container-registry-authD

Inputs: containerRegistryAuthId (required).

delete-endpointD

Inputs: endpointId (required).

delete-network-volumeD

Inputs: networkVolumeId (required).

delete-podD

Inputs: podId (required).

delete-templateD

Inputs: templateId (required).

get-container-registry-authD

Inputs: containerRegistryAuthId (required).

get-endpointD

Inputs: endpointId (required), includeTemplate, includeWorkers.

get-network-volumeD

Inputs: networkVolumeId (required).

get-podD

Inputs: podId (required), includeMachine, includeNetworkVolume.

get-templateD

Inputs: templateId (required).

list-container-registry-authsD

Inputs: no named parameters.

list-endpointsD

Inputs: includeTemplate, includeWorkers.

list-network-volumesD

Inputs: no named parameters.

list-podsD

Inputs: computeType, gpuTypeId, dataCenterId, name, +2 more.

list-templatesD

Inputs: no named parameters.

start-podD

Inputs: podId (required).

stop-podD

Inputs: podId (required).

update-endpointD

Inputs: endpointId (required), name, workersMin, workersMax, +3 more.

update-network-volumeD

Inputs: networkVolumeId (required), name, size.

update-podD

Inputs: podId (required), name, imageName, containerDiskInGb, +4 more.

update-templateD

Inputs: templateId (required), name, imageName, ports, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.1/5.0

    Scored across 26 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action (e.g., create-pod vs delete-pod), with no overlap. Even without descriptions, the naming makes each tool's purpose clear.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern using underscores (e.g., create-endpoint, list-pods). Verbs are limited to create, delete, get, list, update, start, stop, and nouns are the resource types.

    Tool Count4/5

    With 26 tools covering multiple resource types (pods, endpoints, templates, network volumes, container registry auth), the count is appropriate but slightly above the typical well-scoped range.

    Completeness5/5

    For each resource, the standard CRUD operations (create, get, list, delete, update) are present, plus start/stop for pods. No obvious gaps in the lifecycle coverage inferred from the tool names.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      A
      maintenance
      This Model Context Protocol server enables interaction with RunPod's REST API through Claude or other MCP-compatible clients, providing tools for managing pods, endpoints, templates, network volumes, and container registry authentications.
      36
      6,573 npm
      86
      Apache 2.0
    • A
      license
      D
      quality
      D
      maintenance
      A Model Context Protocol server that enables interaction with the RunPod REST API through Claude or other MCP-compatible clients for managing pods, endpoints, templates, network volumes, and container registry authentications.
      26
      MIT