{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.computeportal/mcp",
  "title": "ComputePortal",
  "description": "ComputePortal: deploy, monitor, and settle compute instances via MCP. 23 tools, OAuth 2.1.",
  "version": "1.0.7",
  "websiteUrl": "https://docs.computeportal.io/mcp-server.html",
  "icons": [
    {
      "src": "https://docs.computeportal.io/logo-mark.png",
      "mimeType": "image/png",
      "sizes": ["72x72"]
    }
  ],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@computeportal/cp-mcp",
      "version": "1.0.7",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "name": "CP_API_TOKEN",
          "description": "ComputePortal cp_live_* token or OAuth 2.1 JWT. Mint one at https://agents.computeportal.io/login.",
          "isSecret": true,
          "isRequired": true,
          "format": "string"
        }
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/computeportal/k8s-cpctl",
    "source": "github",
    "subfolder": "k8s-codebase/mcp"
  },
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://mcp.computeportal.io/mcp",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {CP_API_TOKEN}",
          "description": "ComputePortal cp_live_* token or OAuth 2.1 JWT. Mint one at https://agents.computeportal.io/login.",
          "isSecret": true,
          "isRequired": true,
          "format": "string"
        }
      ]
    }
  ],
  "_meta": {
    "io.modelcontextprotocol.registry/publisher-provided": {
      "oauth_metadata_url": "https://mcp.computeportal.io/.well-known/oauth-protected-resource",
      "docs_url": "https://docs.computeportal.io/mcp-server.html",
      "support_url": "https://docs.computeportal.io/support",
      "rate_limit": {
        "per_bearer_per_minute": 120,
        "headers": ["ratelimit-limit", "ratelimit-remaining", "ratelimit-reset"]
      },
      "destructive_tool_safety": {
        "pattern": "two-step",
        "note": "Destructive tools (cp_destroy, cp_sandbox_destroy, cp_domain_remove) require a dry_run call that returns a confirm_token; the live call must include that token or it errors."
      },
      "scopes": ["mcp.read", "mcp.provision", "mcp.destroy", "mcp.billing"],
      "tool_counts": {
        "total": 23,
        "destructive": 3,
        "mutating": 9,
        "read_only": 11
      }
    }
  }
}
