productivity
RunPod MCP Integration for Vercel AI SDK
Connect RunPod to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect RunPod to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
RunPod MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |