KosmoKrator

productivity

RunPod MCP Integration for Claude Agent SDK

Connect RunPod to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect RunPod to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

RunPod MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "mcpServers": {
    "kosmokrator-runpod": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=runpod",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=runpod --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only RunPod instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

RunPod Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the RunPod integration catalog.

MCP toolSource functionTypeDescription
integration__runpod__runpod_list_pods runpod.runpod_list_pods Read List all GPU pods in your RunPod account. Returns pod IDs, names, status, GPU types, and runtime details.
integration__runpod__runpod_get_pod runpod.runpod_get_pod Read Get detailed information about a specific RunPod GPU pod, including its status, GPU type, runtime, ports, and configuration. Use the pod ID obtained from runpod_list_pods.
integration__runpod__runpod_list_templates runpod.runpod_list_templates Read List all available RunPod templates. Returns template IDs, names, images, and machine configurations.
integration__runpod__runpod_list_network_volumes runpod.runpod_list_network_volumes Read List all network volumes in your RunPod account. Returns volume IDs, names, sizes, and data center information.
integration__runpod__runpod_list_endpoints runpod.runpod_list_endpoints Read List all RunPod endpoints. Returns endpoint IDs, names, statuses, and configuration details.
integration__runpod__runpod_list_serverless runpod.runpod_list_serverless Read List all serverless endpoints in your RunPod account. Returns endpoint IDs, names, statuses, and worker configurations.
integration__runpod__runpod_get_current_user runpod.runpod_get_current_user Read Get the profile of the currently authenticated RunPod user, including name, email, and account details.

Related RunPod Pages