Skip to main content

GPU MCP server

https://mcp.ecohash.com/gpu is an MCP server that gives an AI coding agent the GPU-instance lifecycle as tools — find capacity, quote, launch, get the SSH command, stop — on your account and your credit. The agent loop is the client's (Claude Code, Codex, Claude Desktop); we only expose tools.

Connect it by signing in with your EcoHash account, or with an API key. Either way the agent can do only what you allow: viewing and quoting, or also launching and managing.

Connect​

Add the server without a key:

claude mcp add --transport http ecohash-gpu https://mcp.ecohash.com/gpu

For other clients, add https://mcp.ecohash.com/gpu as a remote (HTTP) MCP server with no headers.

The first time the client uses it, it opens EcoHash in your browser. Sign in if asked, and you see what the app is asking for:

  • Use models — call models on your account.
  • View GPU resources and prices — list instances, clusters, storage and templates, and quote prices.
  • Launch and manage GPU resources — spends credit — launch, extend and terminate. Off unless you tick it.

Choose what to allow and click Allow. The client is connected; it appears under API Keys → Connected apps, where you can disconnect it at any time.

The app is shown as unverified — any app can register a name — so only approve a request you just started yourself.

If your client runs on a remote machine, the browser may end on a page at http://localhost:… that fails to load. That is expected: copy the full address of that page and give it to the client if it asks for it.

With an API key​

For clients without sign-in support, scripts and CI, use a key with Compute access (Read-only or Full — see API keys):

Claude Code

claude mcp add --transport http ecolink-gpu https://mcp.ecohash.com/gpu \
--header "Authorization: Bearer eco_YOUR_KEY"

Codex / Claude Desktop / others — add to the client's MCP servers configuration:

{
"mcpServers": {
"ecolink-gpu": {
"url": "https://mcp.ecohash.com/gpu",
"headers": { "Authorization": "Bearer eco_YOUR_KEY" }
}
}
}

Then ask, in plain words: "launch an RTX Pro 6000 with my SSH key and give me the command", "what GPU instances do I have running?", "stop instance 512".

If a tool needs more than you allowed, it returns the same sentence the API gives — for example "this API key is read-only for compute — use a key with full Compute access to launch, change or delete resources" — and the agent tells you rather than retrying. Reconnect with Launch and manage allowed (or use a Full key) if you want it to launch.

Tools​

GPU instances

ToolWhat it doesCost
list_gpu_availabilityRegions, GPU types, how many are free, what one GPU comes with, price per hourfree
get_balanceYour available creditfree
quote_instanceWhat a launch will hold now and cost per hour afterfree
list_instancesYour instances, with status and SSH commandfree
get_instanceOne instance: status, SSH command, service URL, credit heldfree
create_instanceLaunch. Defaults to no end time (billed hourly until you stop it) and to the GPU Base platform image (has OpenSSH). Pass an SSH public key to get an SSH command back; pass cloud_drives / shared_filesystems ids to mount storageholds credit
extend_instanceAdd hours to a fixed-duration instanceholds credit
terminate_instanceStop it; GPUs released, unused held credit refundedirreversible

GPU clusters

ToolWhat it doesCost
list_clusters, get_clusterYour clusters; one cluster with its replicas and attached filesystemsfree
create_cluster2–8 replicas, fixed duration, optional new or existing shared filesystemholds credit for the whole run
scale_clusterChange the replica countconfirm
extend_clusterAdd hoursholds credit
terminate_clusterStop all replicasirreversible

Templates

ToolWhat it doesCost
list_templatesYour saved launch configurations and the public catalogue (instance and cluster templates)free
quote_templateWhat launching one would hold, in which region, and whether capacity is freefree
launch_templateStart an instance or cluster from a template, with optional name / region / duration / SSH key overridesholds credit

Storage and SSH keys

ToolWhat it doesCost
list_storageCloud drives, shared filesystems, free capacity per regionfree
create_storageA drive or filesystem (50–500 GB) in a regionbills daily until deleted
delete_storageDestroy one (refused while mounted)irreversible
list_ssh_keys, add_ssh_keySaved public keysfree

Every tool that commits money or destroys something requires confirm: true. A well-behaved agent quotes first, tells you the amount, and only confirms after you agree — the tool descriptions say so, and your client also asks before running a tool with side effects.

Deliberately not tools: a terminal, file upload, file browse, folder export. Once an instance is running, the agent works over SSH, which is a better terminal than any tool.

Limits​

On top of the API's rate limits, the MCP server caps what one key can commit through it: 20 launches per hour and $200 of estimated holds per day per key. Above that a tool call is refused with a message saying so, and nothing is charged. Contact us if you need more.

Security notes​

  • The server holds no credentials. Your sign-in token or key travels in the request header and is used for that request only.
  • With sign-in, the client holds a short-lived token that it renews on its own; nothing is pasted into a configuration file. Disconnect it under API Keys → Connected apps and it stops working on its next request.
  • With a key, the key lives in your client's configuration file. Revoke it from the console's API Keys page at any time; create a separate key for the agent rather than reusing one from a production service.
  • Start an agent with view and quote only. It can then explore and price a launch, and ask you before anything is spent.
  • Nothing the agent does bypasses your account's limits: the same holds, the same GPU cap, the same membership rules as the console.

Your privacy choices

Essential cookies are always on. You can change these choices at any time.