ComputePortal

v1.0.7
io.computeportal/mcp Checked 2 hours ago Published 10 days ago

ComputePortal: deploy, monitor, and settle compute instances via MCP.

MCP server for ComputePortal — deploy, monitor, and settle GPU compute instances from any MCP-compatible client (Claude Desktop, Cursor, Continue, agents built on the Anthropic / OpenAI SDKs). Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows): Mint a token at agents.computeportal.io/login.

Summary extracted from the README.

@computeportal/cp-mcp

MCP server for ComputePortal — deploy, monitor, and settle GPU compute instances from any MCP-compatible client (Claude Desktop, Cursor, Continue, agents built on the Anthropic / OpenAI SDKs).

23 tools covering service lifecycle, GPU reservations, sandboxes, billing, domains, and catalog browsing. OAuth 2.1 + Bearer token auth. Destructive operations are gated by a two-step dry_run → confirm_token pattern.

Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "computeportal": {
      "command": "npx",
      "args": ["-y", "@computeportal/cp-mcp"],
      "env": {
        "CP_API_TOKEN": "cp_live_..."
      }
    }
  }
}

Mint a token at agents.computeportal.io/login.

Remote (streamable HTTP)

If your client supports remote MCP servers, point it at https://mcp.computeportal.io/mcp with Authorization: Bearer <CP_API_TOKEN>.

Tool surface

  • Read-only (11): cp_service_list, cp_service_status, cp_service_logs, cp_gpu_list, cp_node_list, cp_billing_balance, cp_billing_usage, cp_region_list, cp_catalog_list, cp_domain_list
  • Mutating (9): cp_deploy, cp_scale, cp_gpu_reserve, cp_gpu_run, cp_env_set, cp_billing_resync, cp_db_create, cp_sandbox_create, cp_sandbox_exec, cp_domain_add
  • Destructive (3, two-step confirmation required): cp_destroy, cp_sandbox_destroy, cp_domain_remove

Full machine-readable tool/schema export: https://mcp.computeportal.io/tools.json.

Scopes

Tokens are scoped. Minimum scope per tool class:

Scope Covers
mcp.read 11 read-only tools
mcp.provision create/update/scale services, sandboxes, domains
mcp.destroy the three destructive tools
mcp.billing balance, usage, resync

An agent that only reads compute state only needs mcp.read.

Safety

Destructive tools require a two-step confirmation:

  1. Call with dry_run: true → server returns a Plan envelope with a short-lived confirm_token
  2. Call again with confirm_token set → server executes the destructive action

The token is an HMAC bound to the exact tool + args, expires in 2 minutes, and cannot be replayed with different args.

License

MIT