GMI Cloud MCP server
72 operations0 webhooks
GPU cloud for AI - serverless LLM, image, video, and audio inference, the GMI Router, GPU containers and bare-metal servers, and code sandboxes.
Try GMI Cloud with your agent
Connect GMI Cloud, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in GMI Cloud on my account, then run one read-only example and show me the result.
GMI Cloud tools and triggers
Tools are what your agent can do in GMI Cloud through Corsair's MCP server. Triggers are the GMI Cloud events a routine can start from.
Containers
- CreateWrite
Launch GPU container workloads from a template (billed while they run)
containers.create
- Create ShellWrite
Generate a web shell URL path for a running container
containers.createShell
- DeleteDestructive
Delete a container workload; its local data is lost
containers.delete
- GetRead-only
Get a container workload by ID, including status and IP addresses
containers.get
- Get LogsRead-only
Download the logs of a container workload as text
containers.getLogs
- ListRead-only
List container workloads in the organization
containers.list
- List ProductsRead-only
List container products (GPU types and specs) in a data center
containers.listProducts
- RestartWrite
Restart a container workload
containers.restart
- UpdateWrite
Update a container's name, template, command, arguments, environment, ports, or SSH keys
containers.update
Sandbox Templates
- CreateWrite
Create a sandbox template from an image or another template and start its first build
sandboxTemplates.create
- DeleteDestructive
Delete a sandbox template; existing sandboxes keep running
sandboxTemplates.delete
- GetRead-only
Get a sandbox template with its current and latest build
sandboxTemplates.get
- Get BuildRead-only
Get a sandbox template build status and artifact availability
sandboxTemplates.getBuild
- Get Build LogsRead-only
Get build logs for a sandbox template build, paged by offset
sandboxTemplates.getBuildLogs
- ListRead-only
List sandbox templates with pagination
sandboxTemplates.list
- List BuildsRead-only
List the builds of a sandbox template, newest first, with pagination
sandboxTemplates.listBuilds
- UpdateWrite
Update a sandbox template's name, description, or labels
sandboxTemplates.update
Baremetals
- ActionWrite
Start, stop, power-cycle, or reboot a bare-metal server
baremetals.action
- CreateWrite
Provision bare-metal GPU servers (billed while they exist)
baremetals.create
- DeleteDestructive
Delete a bare-metal server and release its resources
baremetals.delete
- GetRead-only
Get a bare-metal server by ID
baremetals.get
- ListRead-only
List bare-metal GPU servers, optionally filtered by data center
baremetals.list
- List ProductsRead-only
List bare-metal server products (GPU types and specs) in a data center
baremetals.listProducts
- UpdateWrite
Rename a bare-metal server
baremetals.update
Elastic Ips
- AllocateWrite
Allocate a static public IPv4 address for the organization
elasticIps.allocate
- AssociateWrite
Attach an elastic IP to a bare-metal server or container
elasticIps.associate
- DisassociateWrite
Detach an elastic IP from its instance
elasticIps.disassociate
- GetRead-only
Get an elastic IP by ID
elasticIps.get
- ListRead-only
List elastic IPs allocated to the organization
elasticIps.list
- List ProductsRead-only
List elastic IP products in a data center
elasticIps.listProducts
- ReleaseDestructive
Release an elastic IP; the address cannot be reclaimed
elasticIps.release
Firewalls
- AssociateWrite
Apply a firewall to bare-metal servers or containers
firewalls.associate
- CreateWrite
Create a firewall with inbound rules in a data center
firewalls.create
- DeleteDestructive
Delete a firewall
firewalls.delete
- DisassociateWrite
Remove a firewall from bare-metal servers or containers
firewalls.disassociate
- GetRead-only
Get a firewall and its rules by ID
firewalls.get
- ListRead-only
List firewalls, optionally filtered by data center
firewalls.list
- UpdateWrite
Replace a firewall's name, description, and inbound rules
firewalls.update
Sandboxes
- ConnectWrite
Connect to a running sandbox and return its data-plane domain and access token; a timeout extends its lifetime
sandboxes.connect
- CreateWrite
Create a sandbox from a template; returns the data-plane host and access token used by sandboxExec and sandboxFiles
sandboxes.create
- DeleteDestructive
Kill a sandbox; it moves to deleting and then deleted once resources are released
sandboxes.delete
- GetRead-only
Get sandbox details, including state, resources, and failure reason
sandboxes.get
- ListRead-only
List active sandboxes (provisioning, running, updating, checkpointing, failed) with pagination
sandboxes.list
- Set TimeoutWrite
Reset a running sandbox's time-to-live relative to now (300 seconds when omitted)
sandboxes.setTimeout
- Update MetadataWrite
Replace a sandbox's metadata as a whole (an empty object clears it)
sandboxes.updateMetadata
Templates
- CreateWrite
Create a custom container template
templates.create
- DeleteDestructive
Delete a custom container template
templates.delete
- GetRead-only
Get a container template by ID
templates.get
- ListRead-only
List container templates (official and custom) used to launch containers
templates.list
- UpdateWrite
Update a custom container template
templates.update
Vpcs
- AllocateWrite
Allocate the default VPC for the organization in a data center
vpcs.allocate
- GetRead-only
Get a VPC and its subnets by ID
vpcs.get
- ListRead-only
List VPCs, optionally filtered by data center
vpcs.list
- ReleaseDestructive
Release the default VPC
vpcs.release
Sandbox Exec
- CancelWrite
Cancel a running sandbox command
sandboxExec.cancel
- GetRead-only
Get the status, exit code, and output of a sandbox command
sandboxExec.get
- RunWrite
Run a shell command inside a sandbox; with wait it returns the result, otherwise poll sandboxExec.get
sandboxExec.run
Images
- GetRead-only
Get an OS image by ID
images.get
- ListRead-only
List OS images for bare-metal servers, optionally filtered by data center and product
images.list
Media Models
- GetRead-only
Get a media model's description and the payload parameters its requests accept
mediaModels.get
- ListRead-only
List the video, image, and audio model IDs served by the GMI request queue
mediaModels.list
Media Requests
- CreateWrite
Queue a video, image, or audio generation request; poll mediaRequests.get for the outcome (billed)
mediaRequests.create
- GetRead-only
Get the status of a queued media request and, once it succeeds, its output file URLs
mediaRequests.get
Sandbox Files
- DownloadRead-only
Download a file from a sandbox by absolute path; returns base64 content
sandboxFiles.download
- UploadWrite
Write a file to an absolute path inside a sandbox, overwriting any existing file
sandboxFiles.upload
Api Keys
- Get CurrentRead-only
Verify the configured API key and return its details, including the organization it belongs to
apiKeys.getCurrent
Chat
- Create CompletionWrite
Generate a chat completion with an LLM through the OpenAI-compatible API (billed per token)
chat.createCompletion
Idcs
- ListRead-only
List the data centers (IDCs) available for GPU compute resources
idcs.list
Models
- ListRead-only
List the LLMs available on GMI Cloud serverless inference
models.list
Router
- AutorouteWrite
Let the GMI Router pick the best model for a conversation by cost, balance, or quality and return its completion
router.autoroute
Sandbox Products
- ListRead-only
List the sandbox product catalog (CPU, memory, disk) in a data center
sandboxProducts.list
Uploads
- Create UrlWrite
Get a pre-signed upload URL and the stable public URL to reference an image, video, or audio file in media requests
uploads.createUrl
Connect GMI Cloud to Claude, ChatGPT or Cursor
- 1
Connect GMI Cloud in Corsair
Add your GMI Cloud API key once in Corsair. Corsair stores the credential encrypted and makes the GMI Cloud API calls for your agent, so it never goes into a prompt or a config file. Connect GMI Cloud
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs GMI Cloud. On a ChatGPT personal plan, connect GMI Cloud here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, GMI Cloud's read and write operations run right away and its 8 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/gmicloud, add the GMI Cloud plugin, and connect with an API key. Then call methods like corsair.gmicloud.api.apiKeys.getCurrent() from your app. Corsair syncs data per tenant.
Yes. GMI Cloud requires an API key from your GMI Cloud account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit GMI Cloud, GitHub, Notion, Stripe, and the rest. Trigger GMI Cloud from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for GPU cloud for AI - serverless LLM, image, video, and audio inference, the GMI Router, GPU containers and bare-metal servers, and code sandboxes. Common builds include sync jobs, admin tooling, and agents that call GMI Cloud APIs from your backend. Local DB entities let you query synced GMI Cloud records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per GMI Cloud API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/gmicloud in the open repo. When GMI Cloud ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your GMI Cloud data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store GMI Cloud data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put GMI Cloud on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 8 destructive GMI Cloud operations. You can change a link's mode at hub.corsair.dev/me.