What is Agent Cloud?
The Agent Cloud is a Model Context Protocol (MCP) server which allows any MCP-compatible AI agent (Claude Code, Cursor, Windsurf, etc.) to interact directly with io.net APIs. Instead of manual dashboard management, you can now manage your decentralized infrastructure through natural language.Why Connect to Agent Cloud?
- Agentic DevOps: Ask your agent to “Find the cheapest 4x H100 cluster and deploy my PyTorch image,” and let it handle the API calls.
- Plug-and-Play: No custom SDKs to install. Use the universal MCP standard to bridge your AI tools to the large GPU cloud.
- Enterprise Ready: Supports both simple API key headers for individuals and dynamic key forwarding for multi-tenant applications.
- x402 Payments: When credits run short, a deploy returns an x402 payment request your agent can settle in USDC and retry, with no trip back to the dashboard.
Quickstart: Connect to the IO Cloud
You can link your AI agent to our hosted MCP server in seconds.1. Link Your Agent (Claude Code Example)
Replace<YOUR_IO_NET_API_KEY> with your personal key from the io.net dashboard with io-cloud project scopes:
2. Verify Connection
Once added, restart your agent and try these prompts:- “What io-cloud tools are available to me?”
- “List all active container deployments in my account.”
- “Find available NVIDIA H100 hardware specs.”
Desktop Agent Configuration
If you prefer using GUI-based agents, copy and paste the configurations below. Replace<YOUR_IO_NET_API_KEY> with your actual key with io-cloud project scopes.
Claude Desktop
Add this to yourclaude_desktop_config.json (found in %AppData%\Claude on Windows or ~/Library/Application Support/Claude on macOS):
Cursor & Windsurf
- Open Settings > Features > MCP.
- Click + Add New MCP Server.
- Name:
io-cloud - Type:
command(orhttpif supported). - URL:
https://mcp.io.solutions/mcp - Header:
x-api-key: <YOUR_IO_NET_API_KEY>
Capabilities & Documentation
Available MCP Tools
The recommended flow is: check credits, pick hardware from the catalog, estimate the hourly price, deploy, keep an eye on runway, and destroy the deployment when the work is done.
Billing: pay as you go by default
Both deploy tools default tobilling_model: "payg":
- The first hour is charged from your credits at deploy time. After that, usage is charged every few minutes.
- A PayG deployment has no end time. It runs until you destroy it or your credits run out, and when credits run out it is terminated.
- The first hour is not refunded. Destroying a deployment after 3 minutes still costs a full hour, so avoid deploy, destroy, redeploy loops.
- On a PayG deployment, a
finished_atabout 30 years out andcompute_minutes_remainingaround 60 are placeholders, not an expiry. duration_hoursis not needed for PayG. The extend tools do not work on PayG deployments; destroy them to stop billing.
get_credit_status before deploying and while PayG deployments run. burn_rate.runway_hours_estimate is how many hours your credits last at the current burn rate; supplier prices can change, so treat it as an estimate. When runway drops under 24 hours the result includes a runway_warning, and the agent tells you and asks whether to top up and how much. It does not call top_up_credits or send a payment without your approval.
Set billing_model: "duration" (with duration_hours) for a fixed number of hours paid up front.
Working with Hardware IDs
The catalog returns two kinds of hardware. Regional hardware uses string IDs and reports alocation (for example gpu_1x_a6000 in US, or H100_sxm5x8 in CA); network hardware uses integer IDs with a null location.
What you can pass back depends on the service. vmaas_deploy_vm and caas_get_price_estimate accept either form, so pass the ID exactly as the catalog returned it and do not coerce a string ID to an integer. caas_deploy_container and caas_get_available_replicas currently accept integer IDs only, so pick a network hardware entry for those calls.
Every deploy needs a placement, so location_ids is not optional in practice: pass exactly one location, or a node_pool_id for a private node pool. Passing both is rejected, and so is passing neither. Only one location per deployment is supported today. caas_get_price_estimate requires location_ids as well. VMaaS accepts country codes such as ["US"]; caas_deploy_container currently takes integer location IDs through this server.
Topping Up Credits with x402
There are two ways to add credits with x402, the HTTP 402 payment protocol, without a human opening the dashboard:- Ahead of time: once the owner approves, call
top_up_creditswithamount_usd, the exact USDC amount you will send (1 to 10,000, at most 2 decimals). Pick a round number. The result hassend_exactlyandcredits_usd, the credits you receive after the provider fee. Calling it again with the same amount returns the same quote. Use this to keep PayG deployments funded. - When a request is short: a deploy or extend that lacks credits returns an x402 quote for the shortfall.
caas_deploy_container, caas_extend_deployment_duration, vmaas_deploy_vm, vmaas_extend_cluster_duration) return status: "payment_required" instead of an error. This is a bill to pay and then retry, not a failure.
Under payment you get a standard x402 envelope: x402Version: 2, an accepts array whose first entry uses the exact scheme, and an io_net object with the amounts in USD. Any x402-capable client can read it. Today the quote is payable in USDC on Solana, but take the chain and token from accepts[0].network and accepts[0].asset rather than assuming:
- Pay exactly
maxAmountRequiredof the givenasset, to the exactpayToaddress, on the statednetwork.maxAmountRequiredis in the asset’s atomic units, so"16040000"means 16.04 USDC. The tool result also carries asend_exactlyobject with the amount already converted. - Always take
payTofrom the response you are acting on. Never send to an address cached from an earlier call. A plain transfer with no memo matches correctly. - Send it in a single transfer. Never split it across several.
- Top-ups have a $1.00 minimum, so a shortfall under a dollar still requires a $1 payment.
io_net.shortfall_usd is the gap between the request’s cost and your balance. io_net.quote_usd is what the top-up actually costs, which is the shortfall grossed up for the payment provider’s fee and floored at the minimum. For a shortfall quote, pay exactly quote_usd, not shortfall_usd. The difference between the two (the fee gross-up and the $1 minimum) stays on your account as IO Credits.
Authentication Methods
- Static Header (Recommended for Individuals): Include your API key with
io-cloudproject scopes in thex-api-keyHTTP header during setup. - Dynamic Forwarding (For Multi-User Apps): Pass the key dynamically within the
auth.api_keyargument of any specific tool call.
Programmatic Usage (Python Example)
If you are building a custom integration, you can use themcp Python SDK to interact with the IO Cloud server.
Troubleshooting
- Authentication Failure (401/403): Verify your API key in the io.net dashboard.
- “No API key provided”: Ensure the header is correctly set in your JSON config or passed in the tool arguments.
- Connection Timeout: Verify your network allows outbound traffic to
https://mcp.io.solutions. status: "payment_required": Your account is short on credits. Send exactly the quoted amount (send_exactly.amount) in one transfer, then retry the call.- Paid but no credits: The amount sent did not exactly match
maxAmountRequired. It cannot be matched automatically. Contact support@io.net with theio_net.quote_id,io_net.payment_intent_idand the transaction signature. - Empty hardware list: Filters match the catalog’s own values. Use
gpu: "H100", notgpu: "NVIDIA H100".
Ready to scale your infrastructure? For high-volume requirements or custom integration support, contact us at support@io.net