BoxCompute’s remote MCP server lets an AI app create Linux VMs in your account, run commands in them, read and edit their files, and open preview URLs for servers they run.
https://mcp.boxcompute.ai/mcpYou need a BoxCompute account; personal VMs require credit. New customers can sign up; eligible accounts receive $5 in free compute credit, valid for 14 days. Sign-up review and eligibility apply.
Connect an app
Apps that support MCP sign-in need only the URL. The first time the app connects, it opens a BoxCompute page in your browser that names the app and what it will be able to do. Choose Allow access to connect it, or Cancel to refuse.
- In Claude, open Settings → Connectors.
- Choose Add custom connector, name it BoxCompute, and enter
https://mcp.boxcompute.ai/mcp. - Choose Connect and sign in to BoxCompute when asked.
The connector is then available in Claude on the web, Claude Desktop and the Claude mobile apps.
claude mcp add --transport http boxcompute https://mcp.boxcompute.ai/mcpThen run /mcp in Claude Code, select boxcompute and choose Authenticate.
codex mcp add boxcompute --url https://mcp.boxcompute.ai/mcp
codex mcp login boxcomputecodex mcp login opens the BoxCompute sign-in page. If Codex later stops connecting, for example
after you revoke its key, run codex mcp logout boxcompute and then login again.
Add a remote (Streamable HTTP) server with the URL https://mcp.boxcompute.ai/mcp. A client that
supports MCP authorization signs you in through the browser. For one that does not, use an
API key.
What an app can do
The sign-in page lists what you grant:
| Permission | Tools |
|---|---|
| See your VMs and their files | account_get, workspace_list, sandbox_list, sandbox_get, file_read, file_list, asset_list |
| Create, start and stop VMs | sandbox_create, sandbox_start, sandbox_stop |
| Run commands and change files in your VMs | command_run, process_start, process_get, process_output, process_cancel, file_write, file_edit, asset_save, asset_restore, preview_create, preview_list, preview_close |
| Delete VMs and their disks | sandbox_delete |
| See your credit balance | the balance in account_get |
| Email your own account address | email_send; included with Starter and for organization members |
The sign-in page also asks which Workspaces the app can use: every workspace, including ones you create later, or just one. An app limited to one workspace sees, creates and uses VMs only there (details). Connect the same app twice, such as a personal and a work Claude, and limit each to its own workspace.
sandbox_create uses the selected workspace when workspace_id is omitted;
another workspace is refused with INSUFFICIENT_SCOPE, and a VM elsewhere is
NOT_FOUND, even for an organization admin. account_get identifies the selected
workspace in api_key.workspace; that field is omitted for Every workspace.
Allowing access creates an API key named after the app, such as MCP · Claude, or MCP · Claude · Work when it is limited to a workspace, on your API keys page. The app acts as that key: its requests appear in your API activity and the VMs it creates are attributed to it. Revoke the key to disconnect the app. Connecting again asks you to allow it again. Deleting a selected workspace also deletes its limited key and disconnects the app.
Use an API key instead
Every client can authenticate with a BoxCompute API key in the Authorization
header. The key’s scopes decide which tools the client is offered. The same server also answers at
https://api.boxcompute.ai/mcp, for API keys only: sign-in through the browser works only at
mcp.boxcompute.ai.
claude mcp add --transport http boxcompute https://mcp.boxcompute.ai/mcp \
--header "Authorization: Bearer $BOXCOMPUTE_API_KEY"For Cursor (~/.cursor/mcp.json) and similar clients:
{
"mcpServers": {
"boxcompute": {
"url": "https://mcp.boxcompute.ai/mcp",
"headers": { "Authorization": "Bearer ${env:BOXCOMPUTE_API_KEY}" }
}
}
}VS Code uses the same entry in .vscode/mcp.json, under servers instead of mcpServers.
Codex reads the key from an environment variable named in ~/.codex/config.toml:
[mcp_servers.boxcompute]
url = "https://mcp.boxcompute.ai/mcp"
bearer_token_env_var = "BOXCOMPUTE_API_KEY"Keep the key in an environment variable or secret store, not in a file you commit.
Tools
| Tool | What it does |
|---|---|
account_get |
The account and key in use, and the credit balance when allowed |
workspace_list |
Workspaces in the account, with their organization |
sandbox_list, sandbox_get |
VMs with their state, compute size, root-disk size when known, network access and organization |
sandbox_create |
Create and start a VM: small (0.5 CPU, 1 GiB), large (1.5 CPU, 3 GiB), xl (4 CPU, 8 GiB) or xxl (4 CPU guaranteed, bursts to 8; 16 GiB), with or without internet; default 30 GiB root disk holding the OS and /workspace |
sandbox_start, sandbox_stop |
Start a stopped VM, or stop one now and keep its files |
sandbox_delete |
Permanently delete a VM and its /workspace |
command_run |
Run a shell command and wait for it: 30 seconds by default, up to 60 with timeout_seconds |
process_start, process_get, process_output, process_cancel |
Run a command in the background for up to 15 minutes, check on it and read its output; process_get waits up to 30 seconds for it to finish with wait_seconds (default 0) |
file_read, file_list |
Read a file or list a directory under /workspace |
file_write, file_edit |
Write a file (up to 2 MiB) or replace text in one |
asset_list |
List a workspace’s saved Assets, folders and download links; pass next_cursor back for another page |
asset_save |
Save one VM file, up to 5 GiB, to that VM’s workspace’s Assets and return its download link |
asset_restore |
Copy a saved Asset into a VM in the same workspace under a fresh /workspace name, without replacing an existing file |
preview_create |
A public HTTPS URL, valid for one hour, for a port a server in the VM listens on |
preview_list, preview_close |
List a VM’s open preview URLs, or close one at once; an always-on URL stops being reopened |
email_send |
Send subject and plain-text text to the account owner’s own address; email:send scope and Starter or organization membership required |
sandbox_create accepts optional disk_gib, a whole number from 10 to 30, defaulting to 30.
Only BoxCompute platform admins can choose below 30; any other account gets INVALID_REQUEST
and no VM, so customer VMs have 30 GiB. The disk is fixed for
the VM’s lifetime and counts in full against account storage even when stopped. sandbox_list
and sandbox_get return disk_gib: null for older VMs whose disk size was not recorded.
Do not infer those disks’ sizes from today’s default.
sandbox_create also accepts optional workspace_id. Without it, a workspace-limited
connection uses its selected workspace; an Every workspace connection uses the account’s
first personal workspace, or its first workspace if none is personal.
A VM created in an organization workspace counts against the
organization’s VM limit instead of the account’s.
Organization VMs can run past zero credit, charging their creator’s wallet
into a negative balance unless the organization’s VM charges are covered by
BoxCompute. An organization admin with an Every workspace key can use another member’s
organization VM by ID through MCP, with the usual scopes; ordinary members
cannot. Personal VMs remain private and still need credit.
workspace_list, sandbox_list and sandbox_get return organization as the organization’s
name, or null when personal. See personal and organization VMs.
XL and XXL are included with Starter and for organization members; other accounts receive
FEATURE_ACCESS_DENIED. The same size eligibility
applies to HTTP and MCP creation.
Their compute rates are 8× and 16× Small respectively; Large is 3×. See VM sizes.
MCP does not expose create metadata, autoResume, or desktop controls; use the
HTTP API for those features.
Neither hosted MCP nor public v2 exposes app-only VM resizing.
Each tool is marked read-only or not, and destructive or not, so your app can ask before it stops,
deletes or changes anything. These annotations describe the requested operation, not a guarantee
that compute stays stopped: file_read and file_list can start a stopped VM and incur compute
charges, even though they do not change its files. autoResume: false, set through HTTP, does not
apply here: command and file tools start such a VM too, and its running time is billed.
sandbox_list and sandbox_get never start a VM.
Hand over a file through Assets
Ask the connected app to use asset_save for a report, video or archive it
made in a VM. The saved file appears in Assets in that VM’s workspace;
its download link opens for the owner when signed in and survives stopping
or deleting the VM. It is not a public preview URL.
To bring an uploaded or previously saved file into a VM, ask the app to use
asset_list with the VM’s workspace_id, then asset_restore with its
asset_id and the destination sandbox_id. Without workspace_id, listing
uses the connection’s selected workspace, or the account’s first personal
workspace (first workspace if none is personal) when the connection covers
every workspace. Saving and restoring require the VM’s owner; an organization
admin’s access to a member’s VM does not grant access to that member’s Assets.
A large copy can outlast a call: asset_save returns state: "saving", or
asset_restore returns state: "copying". Check asset_list for the saved
file or file_list under /workspace for the restored one before starting
another copy. Copies are not durable across a service restart; if a copy
does not finish, ask the app to try it again.
asset_list uses sandbox:read; saving and restoring use sandbox:execute.
Existing connections with these scopes need no new permission. Saving or
restoring can start a stopped VM and incur compute charges; listing saved
Assets does not need a running VM. These tools do not add an Assets API to
the public v2 API, released SDKs or CLI.
Limits
- Every call answers within about 75 seconds. A VM that is still booting returns
ready: falsefromsandbox_createorsandbox_start, and the boot continues; commands and file tools on it say it is still starting, and can be called again a few seconds later. - Commands longer than 60 seconds belong in
process_start. - Files are confined to
/workspace.file_readdefaults to 64 KiB and allows up to 256 KiB per part; passnext_offsetand the returned cursor to continue. Binary data is base64.file_listdefaults to 200 entries and allows up to 500 per page; pass its cursor to continue. command_runoutput is capped at 48 KiB per stream.process_startretains up to 1 MiB per stream;process_outputreads up to 48 KiB at a time. Passnext_offsetback to continue;earliest_offsetidentifies output already discarded.- A preview URL is public: anyone with it can reach that port until it expires.
- Account limits on running and total VMs apply as they do in the app and the HTTP API.
Errors carry the same codes as the HTTP API, such as INSUFFICIENT_CREDIT or NOT_FOUND, with a
message the app can act on.
email_send shares the owner-email limits
with the app and API: 10 per rolling minute, 100 per 24 hours and 1,000 per 30 days.
All accounts together also share a 500-email rolling 24-hour cap. A rate-limit
refusal can therefore occur below your own allowance; wait for the indicated retry time.
It cannot choose a recipient or send attachments. Each call is a new send, so do not
blindly retry an uncertain result. Older connected-app keys may lack email:send;
reconnect and allow access again if that tool is missing. The scope alone does not
grant sending access: Starter or organization membership is required.
Review sends and their saved text in the app’s Menu → Emails.
Add an MCP server to your BoxCompute agents
This is the other direction: BoxCompute acts as a client of a server you trust, instead of an outside app using BoxCompute’s VM tools. Every account can use Menu → MCP servers → Add server in the app; no early-access grant is required. Servers belong to the selected workspace, with at most 20 per workspace.
- Enter the server’s public HTTPS URL on port 443 and choose Add server. Localhost, private-network addresses, redirects and local stdio commands are not supported for customer servers.
- If it needs authentication, choose Sign in and complete the provider’s browser flow. If the app asks for a client ID, register a client with the provider using the redirect URL shown in the app, then enter that client ID and any required client secret.
- For a server that takes an API key instead, use Advanced → Headers in the server form. Enter credentials there, not in chat or a committed file.
Use the optional Description field in Add server or Edit to tell agents when to use it, for example Use for publishing my websites. It accepts up to 500 characters, normalized to one line, and appears in the agent’s server list even when that server is waiting for sign-in. Keep credentials out of the description: it is guidance, not a secret field. Clearing it removes the note; changing only the name or description keeps a connected server’s existing tools.
Connected tools become available to agents in that workspace. Actions not known to be read-only ask for approval in Ask first; Full access skips those prompts. Only connect servers you trust with the data and actions their tools can access. Sign-in renews automatically when supported; if it expires or is revoked, return to this page and sign in again. Changing the URL or importing a server into another workspace requires a new sign-in. Removing a server removes its tools from BoxCompute but does not revoke access at the provider; revoke it there too when needed. These settings have no public v2 API, SDK or CLI controls.
Privacy and support
The app receives the output of the tools it calls, such as command output and file contents, and handles it under its own terms. BoxCompute records each request in your API activity without the tool’s arguments. See the privacy policy.
For help, email [email protected]. Do not include API keys or passwords in your message.