ComputePortal

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

ComputePortal: 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.

ParameterTypeDescription
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
domainsarrayCustom domains to attach
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.
envobjectEnvironment variables
gpustringGPU type: rtx5090 | gb10. Shorthand for machine_type when you want a GPU SKU.
gpu_countintegerNumber of GPUs
imagestringDocker image to deploy (e.g. myorg/agent:latest). Provide either image or repo.
machine_typestringCompute 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.
namestringService name (default: derived from image or repo)
regionstringRegion ID (e.g. eu-west)
repostringPublic 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_x402booleanTrigger 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_paymentstringBase64url-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.

ParameterTypeDescription
regionstringFilter by region

cp_service_status

Get the current status, replica count, and health of a service.

ParameterTypeDescription
name *stringService name
auth_tokenstringOptional. 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.

ParameterTypeDescription
name *stringService name
auth_tokenstringOptional. 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.
tailintegerNumber 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.

ParameterTypeDescription
name *stringService name
auth_tokenstringOptional. 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_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
countintegerNumber of replicas
cpustringCPU limit in vCPUs (e.g. '2')
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.
ramstringMemory 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.

ParameterTypeDescription
name *stringService name to destroy
auth_tokenstringOptional. 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_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf 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.

ParameterTypeDescription
regionstringFilter by region
typestringFilter by GPU type

cp_gpu_reserve

Reserve GPU capacity for a fixed duration. For cost preview call with dry_run: true first.

ParameterTypeDescription
type *stringGPU type to reserve
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
countintegerNumber of GPUs
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.
durationstringReservation duration (e.g. 4h, 24h, 7d)
regionstringRegion (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.

ParameterTypeDescription
image *stringDocker image to run
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.
gpustringGPU type
gpu_countintegerNumber of GPUs
regionstringRegion
scriptstringCommand or script to run inside the container

cp_node_list

List all CP bare-metal nodes with hardware specs and reservation status.

ParameterTypeDescription
gpustringFilter by GPU type (rtx5090|gb10)
regionstringFilter by region

cp_env_set

Set one or more environment variables on a running service. For cost preview call with dry_run: true first.

ParameterTypeDescription
service *stringService name
vars *objectKey-value pairs to set
auth_tokenstringOptional. 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_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf 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.

ParameterTypeDescription
periodstringPeriod: today | month | YYYY-MM
servicestringFilter 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.

ParameterTypeDescription
type *stringDatabase type
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.
namestringDatabase name (default: <type>-db)
regionstringRegion (default: account default)
size_gbintegerStorage 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.

ParameterTypeDescription
image *string
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.
gpustring
gpu_countinteger
regionstring
timeoutstring

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.

ParameterTypeDescription
command *array
id *string
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf 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.

ParameterTypeDescription
id *string
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf 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.

ParameterTypeDescription
hostname *stringCustom hostname to attach (e.g. dashboard.koraccel.kr)
service *stringService name (e.g. my-app)
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.
skip_dnsbooleanSkip DNS CNAME validation (add anyway)

cp_domain_list

List all domains (default and custom) attached to a service.

ParameterTypeDescription
service *stringService 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.

ParameterTypeDescription
hostname *stringCustom hostname to detach
service *stringService name
confirm_tokenstringConfirm token returned by a prior dry_run call. Required for destructive tools.
dry_runbooleanIf true, validate inputs and return a planned action + confirm_token without mutating state. Call again with the returned confirm_token to execute.