ComputePortal
v1.0.7ComputePortal: deploy, monitor, and settle compute instances via MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cp_deploy
Deploy a service to Compute Portal from a Docker image or a public GitHub repo. When given a GitHub repo URL, CP clones it and builds the image internally from the Dockerfile — no registry needed. Returns a Service on success, or an X402Challenge if require_x402 is set and payment is required — sign the challenge with wallet_sign_x402 and retry this tool with x_payment set. For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
domains | array | Custom domains to attach |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
env | object | Environment variables |
gpu | string | GPU type: rtx5090 | gb10. Shorthand for machine_type when you want a GPU SKU. |
gpu_count | integer | Number of GPUs |
image | string | Docker image to deploy (e.g. myorg/agent:latest). Provide either image or repo. |
machine_type | string | Compute SKU id as listed by cp_catalog_list (e.g. cpu-small, cpu-med, test-smoke, gb10, gpu-rtx5090). Takes precedence over `gpu` when both are set. Omit both to default to cpu-small. |
name | string | Service name (default: derived from image or repo) |
region | string | Region ID (e.g. eu-west) |
repo | string | Public GitHub repo URL to build and deploy (e.g. https://github.com/org/repo). CP clones the repo and builds the image from the Dockerfile internally. Provide either repo or image. |
require_x402 | boolean | Trigger the x402 pay-first handshake: cp-api returns 402 with pricing + authorization requirements; the caller signs an EIP-3009 USDC authorization and retries with X-Payment. When false/omitted, depl… |
x_payment | string | Base64url-encoded X-Payment header value from a prior wallet_sign_x402 call. Set on the retry after an X402Challenge response to complete the handshake. |
cp_service_list
List all running services on Compute Portal.
| Parameter | Type | Description |
|---|---|---|
region | string | Filter by region |
cp_service_status
Get the current status, replica count, and health of a service.
| Parameter | Type | Description |
|---|---|---|
name * | string | Service name |
auth_token | string | Optional. Deployment-scoped JWT returned by a prior wallet-signed cp_deploy. Overrides the operator Bearer for this call — required to manage services created via the x402 wallet-only flow. |
cp_service_logs
Fetch the most recent log lines from a running service.
| Parameter | Type | Description |
|---|---|---|
name * | string | Service name |
auth_token | string | Optional. Deployment-scoped JWT returned by a prior wallet-signed cp_deploy. Overrides the operator Bearer for this call — required to manage services created via the x402 wallet-only flow. |
tail | integer | Number of recent log lines to return |
cp_scale
Scale a service's replica count or update its CPU/memory resource limits. For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
name * | string | Service name |
auth_token | string | Optional. Deployment-scoped JWT returned by a prior wallet-signed cp_deploy. Overrides the operator Bearer for this call — required to manage services created via the x402 wallet-only flow. |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
count | integer | Number of replicas |
cpu | string | CPU limit in vCPUs (e.g. '2') |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
ram | string | Memory limit (e.g. '4Gi') |
cp_destroy
Permanently destroy a service and release its resources. Irreversible. DESTRUCTIVE — call once with dry_run: true to receive a confirm_token, then call again with that token to execute.
| Parameter | Type | Description |
|---|---|---|
name * | string | Service name to destroy |
auth_token | string | Optional. Deployment-scoped JWT returned by a prior wallet-signed cp_deploy. Overrides the operator Bearer for this call — required to manage services created via the x402 wallet-only flow. |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
cp_gpu_list
List available GPU nodes with specs, utilization, VRAM usage, and temperature.
| Parameter | Type | Description |
|---|---|---|
region | string | Filter by region |
type | string | Filter by GPU type |
cp_gpu_reserve
Reserve GPU capacity for a fixed duration. For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
type * | string | GPU type to reserve |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
count | integer | Number of GPUs |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
duration | string | Reservation duration (e.g. 4h, 24h, 7d) |
region | string | Region (default: account default) |
cp_gpu_run
Submit a one-shot GPU job (billed from monthly prepaid balance, returns job ID and initial status). For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
image * | string | Docker image to run |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
gpu | string | GPU type |
gpu_count | integer | Number of GPUs |
region | string | Region |
script | string | Command or script to run inside the container |
cp_node_list
List all CP bare-metal nodes with hardware specs and reservation status.
| Parameter | Type | Description |
|---|---|---|
gpu | string | Filter by GPU type (rtx5090|gb10) |
region | string | Filter by region |
cp_env_set
Set one or more environment variables on a running service. For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service name |
vars * | object | Key-value pairs to set |
auth_token | string | Optional. Deployment-scoped JWT returned by a prior wallet-signed cp_deploy. Overrides the operator Bearer for this call — required to manage services created via the x402 wallet-only flow. |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
cp_billing_balance
Return the current account balance, credit, burn rate, and alert threshold.
cp_billing_usage
Return itemized billing usage for a given period.
| Parameter | Type | Description |
|---|---|---|
period | string | Period: today | month | YYYY-MM |
service | string | Filter by service name |
cp_billing_resync
Resync compute plans and entitlements from the marketplace. Call this after a user purchases a plan on https://computeportal.io/pricing to make the plan visible to the agent and clear a NO_ACTIVE_PLAN (402) error.
cp_region_list
List all Compute Portal regions with compliance certifications, GPU availability, and latency.
cp_catalog_list
List all Compute Portal plan SKUs and prices. Useful for recommending a plan to the operator before they purchase on the web.
cp_db_create
Provision a managed database (postgres, redis, mysql, or mongo). For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
type * | string | Database type |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
name | string | Database name (default: <type>-db) |
region | string | Region (default: account default) |
size_gb | integer | Storage in GB |
cp_sandbox_create
Spin up an isolated GPU-attached microVM sandbox for executing AI agent code. Returns sandbox ID and connection details. For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
image * | string | |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
gpu | string | |
gpu_count | integer | |
region | string | |
timeout | string |
cp_sandbox_exec
Execute a command inside a running sandbox and return stdout, stderr, exit code, and duration. For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
command * | array | |
id * | string | |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
cp_sandbox_destroy
Destroy a sandbox and release its GPU resources. Irreversible. DESTRUCTIVE — call once with dry_run: true to receive a confirm_token, then call again with that token to execute.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
cp_domain_add
Attach a custom hostname to a CP service. Verifies CNAME points to <service>.cpctl.app, then registers the domain in Traefik and the Cloudflare tunnel. For cost preview call with dry_run: true first.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Custom hostname to attach (e.g. dashboard.koraccel.kr) |
service * | string | Service name (e.g. my-app) |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |
skip_dns | boolean | Skip DNS CNAME validation (add anyway) |
cp_domain_list
List all domains (default and custom) attached to a service.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service name |
cp_domain_remove
Remove a custom hostname from a CP service. Cannot remove the default <service>.cpctl.app domain. DESTRUCTIVE — call once with dry_run: true to receive a confirm_token, then call again with that token to execute.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Custom hostname to detach |
service * | string | Service name |
confirm_token | string | Confirm token returned by a prior dry_run call. Required for destructive tools. |
dry_run | boolean | If true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute. |