productivity
Paperspace MCP Integration for OpenAI Agents SDK
Connect Paperspace to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Paperspace 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.
Paperspace MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-paperspace": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=paperspace",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=paperspace --write=deny Why Use KosmoKrator Here
Expose only Paperspace 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.
Paperspace Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Paperspace integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__paperspace__paperspace_list_machines | paperspace.paperspace_list_machines | Read | List all GPU machines in the Paperspace account. Returns IDs, names, OS, machine type, state, and public IP address. |
integration__paperspace__paperspace_get_machine | paperspace.paperspace_get_machine | Read | Get details for a specific Paperspace machine by ID. Returns full machine information including specs, state, and network configuration. |
integration__paperspace__paperspace_list_notebooks | paperspace.paperspace_list_notebooks | Read | List all Gradient notebooks in the Paperspace account. Returns notebook IDs, names, cluster, machine type, and state. |
integration__paperspace__paperspace_list_datasets | paperspace.paperspace_list_datasets | Read | List all datasets in the Paperspace account. Returns dataset IDs, names, storage usage, and creation dates. |
integration__paperspace__paperspace_list_projects | paperspace.paperspace_list_projects | Read | List all Gradient projects in the Paperspace account. Returns project IDs, names, descriptions, and creation dates. |
integration__paperspace__paperspace_list_ssh_keys | paperspace.paperspace_list_ssh_keys | Read | List all SSH keys in the Paperspace account. Returns key IDs, names, and fingerprints. |
integration__paperspace__paperspace_get_current_user | paperspace.paperspace_get_current_user | Read | Get information about the current authenticated Paperspace user, including email, user ID, and team membership. |