KosmoKrator

productivity

RunPod MCP Integration for OpenAI Agents SDK

Connect RunPod to OpenAI Agents 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 OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

RunPod MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "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 OpenAI Agents

OpenAI Agents 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