Skip to main content

MCP Server

The CloudBlast MCP (Model Context Protocol) server lets AI assistants manage your cloud infrastructure directly. Create servers, deploy workers, run AI sandboxes, configure firewalls, manage backups and more, all through natural language.

Claude Desktop

Use CloudBlast tools directly in Claude Desktop conversations.

Cursor & Windsurf

Manage infrastructure from your AI-powered code editor.

Claude Code

Full server management from the Claude Code CLI.

Any MCP Client

Works with any client that supports the Model Context Protocol.

Connection Options

There are two ways to connect. Both require a CloudBlast API token — get yours from Account Settings.

Hosted Server (recommended)

Nothing to install. Connect any remote-capable MCP client to https://mcp.cloudblast.io and authenticate with your API token.

Local via npm

Run the server locally with npx @cloudblast/mcp-server over stdio. Works with every MCP client.

Hosted Server

The hosted server supports the modern Streamable HTTP transport: Authenticate every request with your API token in a header: either Authorization: Bearer <token> or X-API-Key: <token>. If your client only supports the legacy SSE transport, use the local npm install over stdio instead. The hosted server needs a token with the write permission. Every MCP request is a POST, which counts as a write, so a read-only token cannot use it. Tools that delete something (such as delete_server, delete_worker and destroy_sandbox) also need the delete permission.

Claude Code

Cursor

Add this to .cursor/mcp.json:

Other Remote Clients

Any client that supports remote MCP servers can connect with a config like:
If your client only supports the older SSE transport, use the local npm install over stdio instead.

Local Installation (npm)

Install the MCP server from npm:
Or run directly with npx (no install needed):
The Workers and Sandboxes tools need version 1.1.0 or later of @cloudblast/mcp-server.

Configuration

The local server reads these environment variables:

Claude Desktop

Add this to your Claude Desktop config file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Cursor

Add this to your Cursor MCP settings (.cursor/mcp.json):

Claude Code

Run this command to add the MCP server to Claude Code:
Then set your API token as an environment variable:

Available Tools

Once connected, your AI assistant will have access to the following tools:

Account

Plans & Locations

SSH Keys

Servers

Server IPs

Backups

Security Groups (Firewall)

Workers

Sandboxes

AI sandboxes are Linux and Windows VMs for AI agents. See the Sandboxes guide for how they work and what they cost.
sandbox_computer returns screenshots as images the model can see. When an answer holds a picture (a screenshot action, or any action called with screenshot: true), the tool returns it as an MCP image block, next to a text block with the rest of the answer. The base64 never goes into the text, so it does not fill the model’s context.

Example Prompts

Once the MCP server is connected, you can ask your AI assistant things like:
  • “List all my servers and their status”
  • “Create a new Ubuntu 24.04 server in the US location”
  • “Take a backup of server abc12345”
  • “Add a firewall rule to allow SSH (port 22) on my web security group”
  • “What’s my current resource usage?”
  • “Restart server abc12345”
  • “Deploy https://github.com/example/app as a worker and tell me when it is live”
  • “Start a Linux desktop sandbox, open example.com in the browser and show me a screenshot”
  • “Run my test suite in a fresh ephemeral sandbox and stop it when it is done”