productivity
RunPod MCP Integration for LangGraph
Connect RunPod to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect RunPod to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
RunPod MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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
Expose only RunPod instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
RunPod Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the RunPod integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |