- The Blaxel plugin for Claude Code, Codex, and Cursor installs the agent skills and the resource management MCP server together.
- The Blaxel agent skills let your coding agent autonomously create sandboxes, deploy agents, run jobs, and launch MCP servers on Blaxel using simple prompts, with support for both command-line (CLI) and code-driven (SDK) operations.
- The Blaxel resource management MCP server lets your coding agent directly manage your Blaxel resources using natural language.
- The Blaxel documentation MCP server lets your coding agent directly read and ask questions of this documentation in real-time for up-to-date commands and features.
- An
llms-full.txttext file with the entire documentation compiled and formatted for LLMs. - A native AI assistant built into this documentation portal.
Blaxel plugin
The Blaxel plugin installs theblaxel-cli and blaxel-sdk agent skills and the resource management MCP server in one step. The MCP server signs you in with OAuth, so no API key goes in your configuration.
Add the Blaxel marketplace first, then install the plugin from it:
- Claude Code
- Codex
- Cursor
/mcp in Claude Code, select plugin:blaxel:blaxel, and sign in to Blaxel in your browser.In Claude Code, running only the install command fails with
Plugin "blaxel" not found in any configured marketplace. Add the marketplace first.Agent skills
Agent skills are instruction sets to extend coding agents with additional knowledge and tools. An agent can load these instructions into its context and use them to complete the tasks assigned to it. Blaxel offers open source agent skills to help coding agents autonomously spin up and manage sandboxes on Blaxel, and migrate sandbox code from other providers to Blaxel.Blaxel skills
The open source Blaxel skills let agents:- create perpetual sandboxes on Blaxel to run code and execute commands
- start application servers within sandboxes
- generate URLs to preview applications running within sandboxes
- create Agent Drives (shared filesystems) on Blaxel
- create and deploy AI agents on Blaxel
- create and deploy MCP servers on Blaxel
- deploy and run batch jobs on Blaxel
- The
blaxel-cliskill lets coding agents create and manage Blaxel resources from the command line using theblCLI. - The
blaxel-sdkskill lets coding agents write code to create and manage Blaxel resources using the Blaxel SDKs.
bl upgrade keeps them up to date. They go to ~/.agents/skills, which Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and other agents read, and to Claude Code and other coding agents detected on your machine. To install or refresh them at any time, run:
bl setup instead. Neither needs Node.js. Set BL_INSTALL_SKILLS=false to stop the installer and upgrades from installing the skills automatically.
Without the Blaxel CLI, add the skills with the command below. You’ll be prompted to choose skills and select your coding agent and installation location.
Blaxel migration skill
The open source Blaxel migration skill gives agents the knowledge they need to migrate sandbox code from other providers to Blaxel. It is currently able to migrate sandbox code from Daytona, E2B and Modal. Add the Blaxel migration skill to your coding agent with the command below, depending on which sandbox provider you wish to migrate from:MCP servers
MCP server for resource management
Blaxel’s MCP server lets compatible AI apps (Claude, Codex, Claude Code, Cursor, Devin Desktop, Goose, OpenCode, VS Code, etc.) manage your Blaxel resources using natural language. It is available as a remote hosted HTTP server. The Blaxel installer andbl setup add it, with the documentation MCP server, to Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf and Devin Desktop on your machine, and tell you how to sign each one in. To add it to another client, or by hand, follow the steps below.
Talk with your preferred agent to:
- Create new services
- Follow what is happening on your infrastructure
- Manage your users
How it works
The MCP server is hosted athttps://api.blaxel.ai/v0/mcp.
Clients connect over HTTPS and stream MCP messages. The server supports OAuth 2.1 sign-in and API key authentication.
OAuth
Use OAuth when your client supports it. Your client opens Blaxel sign-in in a browser and stores the resulting token. The server advertises its authorization server athttps://signin.blaxel.ai. It supports PKCE with the S256 challenge method, dynamic client registration, Client ID Metadata Documents, and public clients. Requested scopes are openid, email, profile, and offline_access.
Authentication headers
For clients without OAuth support, provide your API key in theAuthorization header. If your user has access to multiple workspaces, include the workspace header as well.
- Required:
Authorization: Bearer <APIKEY> - Optional (multi-workspace):
X-Blaxel-Workspace: <WORKSPACE_NAME_OR_ID>
Installation
Claude.ai and Claude Desktop
Claude.ai and Claude Desktop
You need a Claude account, a Blaxel account, and access to a Blaxel workspace. Custom connectors are available on individual Claude accounts as well as Team and Enterprise plans. Organization policies can restrict which connectors you can add.Available actions depend on your Blaxel workspace role. Service-account management requires an admin or owner. Review the workspace and resource names before approving write actions. Starting a batch job returns execution details; it does not wait for the execution to finish.If your account has several workspaces, name the intended workspace in your request. To reconnect after an authorization error, open the connector in Claude’s Connectors settings and complete sign-in again.
1
Add the connector
In Claude, open Customize → Connectors and select Add custom connector.
Enter
Blaxel as the name and https://api.blaxel.ai/v0/mcp as the remote MCP server URL.2
Use automatic OAuth setup
Leave OAuth Client ID and OAuth Client Secret blank. Keep Individual sign-in enabled if Claude shows that option.
3
Sign in to Blaxel
Add the connector and select Connect if prompted. Complete Blaxel sign-in and review the authorization screen before continuing back to Claude.
4
Verify a read operation
Enable Blaxel in a conversation and ask: “Use Blaxel to list the agents in workspace YOUR_WORKSPACE_NAME.”
Replace
YOUR_WORKSPACE_NAME with your workspace name. Confirm that the response identifies resources from that workspace.Codex
Add the hosted server. Codex detects OAuth support and starts the sign-in flow:~/.codex/config.toml:
Claude Code
Add the remote HTTP server to Claude Code with user scope, so it is available in all your projects:/mcp in Claude Code, select blaxel, and follow the authentication prompts.
To use an API key instead, set the headers when you add the server:
Cursor
Add the server to~/.cursor/mcp.json:
blaxel. Cursor opens Blaxel sign-in.
Cursor Agent users can start sign-in from a terminal:
When you run
cursor-agent in your home folder, ~/.cursor/mcp.json is also the project config, so cursor-agent mcp list shows each server in it, such as blaxel, as not loaded (needs approval). Approve each once, for example cursor-agent mcp enable blaxel (and cursor-agent mcp enable blaxel-docs if you added the documentation server). A server needs approval again if its config changes.Devin Desktop (formerly Windsurf)
Add the server to~/.config/devin/mcp_config.json (Windows: %APPDATA%\devin\mcp_config.json). Windsurf releases from before the rename use ~/.codeium/windsurf/mcp_config.json.
headers object with the authentication headers.
Goose
Add the server to~/.config/goose/config.yaml (Windows: %APPDATA%\Block\goose\config\config.yaml):
headers map with the authentication headers.
OpenCode
Add the hosted server to your global OpenCode config, then sign in:VS Code
Add the hosted server to your VS Code user profile:Selecting a workspace
Every tool accepts an optionalworkspace argument. Ask your client to use that argument when you want a tool to act on a specific workspace.
If your account has multiple workspaces, you can also set the active workspace by including the X-Blaxel-Workspace header. If neither is set, your AI app may prompt you to specify one when a tool is invoked.
Example prompts
Ask your AI app to perform actions using Blaxel MCP tools, for example:- List my agents
- Create a new MCP server named search with blaxel-search integration
- Invite test@mydomain.com to my workspace
Supported actions
The Blaxel MCP server exposes tools for common platform operations. You can list, create and remove services (Sandboxes, Agents, MCP Servers, Jobs, Models, …), as well as manage users and service accounts. See the open-source definitions for the latest list and schemas.Running locally
Prefer using the hosted server athttps://api.blaxel.ai/v0/mcp. If you must run locally or customize behavior, clone the repository and follow its instructions.
Limitations
- The server requires an OAuth sign-in or a valid API key.
- When using multiple workspaces, set the
workspaceargument or theX-Blaxel-Workspaceheader to disambiguate.
MCP server for documentation
You can also give your coding assistant real-time access to this documentation. Connect your coding assistant directly to the Blaxel documentation via MCP athttps://docs.blaxel.ai/mcp.
Claude Code
Add the remote HTTP server to your Claude Code by running the following command:Cursor
- Open Cursor Settings
- Go to MCP & Integrations
- Click ”+ Add a custom MCP server”
- Add this configuration:
MCP server for sandboxes
Every Blaxel sandbox also exposes its own built-in MCP server, hosted via streamable HTTP athttps://<SANDBOX_BASE_URL>/mcp, so agents can operate that specific sandbox directly.