ComputePortal
v1.0.7ComputePortal: deploy, monitor, and settle compute instances via MCP.
Values you need
| Variable | What it is | |
|---|---|---|
CP_API_TOKEN | required secret | ComputePortal cp_live_* token or OAuth 2.1 JWT. Mint one at https://agents.computeportal.io/login. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'CP_API_TOKEN=<CP_API_TOKEN>' -- npx -y @computeportal/cp-mcp@1.0.7Add to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"@computeportal/cp-mcp@1.0.7"
],
"command": "npx",
"env": {
"CP_API_TOKEN": "<CP_API_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"@computeportal/cp-mcp@1.0.7"
],
"command": "npx",
"env": {
"CP_API_TOKEN": "<CP_API_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CP_API_TOKEN",
"id": "cp-api-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"@computeportal/cp-mcp@1.0.7"
],
"command": "npx",
"env": {
"CP_API_TOKEN": "${input:cp-api-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "@computeportal/cp-mcp@1.0.7"]
env = { "CP_API_TOKEN" = "<CP_API_TOKEN>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://mcp.computeportal.io/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.computeportal.io/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mcp.computeportal.io/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mcp.computeportal.io/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.computeportal.io/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: CP_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: cp_deploy, cp_service_list, cp_service_status, cp_service_logs, cp_scale, cp_destroy, cp_gpu_list, cp_gpu_reserve, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json