Reference

Remote MCP server

Server URL, access filters, tools, and behavior worth knowing

The remote MCP server runs at https://api.nevia.cloud/mcp over Streamable HTTP. Your MCP client signs you in with OAuth. For setup, see Connect your agent with MCP.

Nevia is invite-only during the beta. If you have no seat yet, see Request access to Nevia.

Setup by client

Claude Code

claude mcp add --transport http nevia https://api.nevia.cloud/mcp

Sign in with /mcp: pick nevia and complete the browser sign-in. The tools appear after you sign in. If they don't, restart or reconnect the client.

Codex

codex mcp add nevia --url https://api.nevia.cloud/mcp

Sign in with codex mcp login nevia. A browser opens. The tools appear after you sign in. If they don't, restart or reconnect the client.

Cursor

This deep link adds Nevia to Cursor's MCP setup:

cursor://anysphere.cursor-deeplink/mcp/install?name=nevia&config=eyJ1cmwiOiJodHRwczovL2FwaS5uZXZpYS5jbG91ZC9tY3AifQ==

It passes the server URL https://api.nevia.cloud/mcp. Sign in with the button next to the server. The tools appear after you sign in. If they don't, restart or reconnect the client.

claude.ai and Claude Desktop

Add a custom MCP connector for Nevia and use the same server URL:

https://api.nevia.cloud/mcp

Sign in through the connector's sign-in step in your browser. The tools appear after the connector reconnects.

Add the URL without ?readonly=true in every client above; this setup needs write tools.

Access filters

Query parameters on the server URL narrow the tool list.

ParameterEffect
readonly=trueKeeps only the tools marked read-only below.
category=Keeps one category. Repeat to select several: workspaces, secrets, computers, checkpoints, databases, observability.
workspace=<id>Scopes calls to one workspace. Its ID becomes the default for workspace inputs. Other IDs are refused.

Filters combine and never widen the credential's access. whoami, get_operation, and list_operations survive every filter. A workspace filter hides list_workspaces and create_workspace. Read-only also excludes get_database_connection, which returns a write credential. The API checks permissions on every call.

Tools

Identity and operations

ToolPurposeRead-only
whoamiYour principal, workspaces, and active restrictionsYes
get_operationRead an operation, optionally waiting on itYes
list_operationsList a workspace's operationsYes

Workspaces and access

ToolPurposeRead-only
list_workspacesList your workspacesYes
create_workspaceCreate a workspace. You become its admin.No
get_workspaceRead a workspaceYes
get_usageWhat your resources used this month and what is running now, with an estimated cost, for all workspaces, one workspace or one resourceYes
update_workspaceRename a workspaceNo
delete_workspaceDelete a workspaceNo
inspect_workspace_accessShow members and invitations, or look up one emailYes
grant_workspace_accessAdd members or send invitations, up to 20 per callNo
remove_workspace_accessRemove a member or revoke an invitationNo

Workspace deletion is refused while the workspace has computers or databases. Removing or demoting the last admin is refused. See Workspace permissions. After an unknown grant result, check with inspect_workspace_access before retrying.

Projects

ToolPurposeRead-only
list_projectsList the workspace's projectsYes
create_projectCreate an empty projectNo
get_projectRead a projectYes
update_projectRename a projectNo
delete_projectDelete a project and its grantsNo
list_project_accessShow the grants on a projectYes
update_project_accessGrant a principal a role on a project, or change itNo
remove_project_accessRemove a grant on a projectNo
sleep_projectPut every computer and database in a project to sleepNo
wake_projectWake every computer and database in a projectNo
branch_projectBranch every computer and database into a new projectNo

Project ids also appear as the project input of the computer and database tools: pass one to create or list within a project, move a resource between projects, or none to list resources in no project. Passing null to an update takes a resource out of its project. Giving someone a workspace role, or taking it away, happens through grant_workspace_access and remove_workspace_access; a workspace grant promotes a project-scoped principal to the whole workspace and drops its project grants.

Secrets and variables

ToolPurposeRead-only
list_secretsList secret metadataYes
get_secretRead secret metadataYes
list_variablesList variablesYes
get_variableRead a variable, with its valueYes

MCP only reads. Create, update, and delete with nevia secrets, nevia variables, or the Console. No tool returns a secret's value. Variables are plain text that every member can read.

Computers

ToolPurposeRead-only
list_computersList computers in a workspaceYes
list_imagesList images and the defaultYes
get_computerRead a computer, with its env var namesYes
create_computerCreate a computerNo
update_computerUpdate name, protection, ports, or envNo
delete_computerDelete a computerNo
branch_computerBranch a computerNo
sleep_computerPut a computer to sleepNo
wake_computerWake a computerNo
exec_computerRun a command, or the image's own, and return its outputNo

Env entries accept secrets.NAME, variables.NAME, and {{secrets.NAME}} templates, for example DB_URI=postgres://app:{{secrets.DB_PASSWORD}}@db:5432/app. See Computer environment for the rules and limits.

exec_computer runs the image ENTRYPOINT with argv, or with the image CMD when argv is empty. entrypoint replaces the ENTRYPOINT, and the empty string clears it. It buffers output and keeps up to 64 KiB of UTF-8 per stream. A nonzero exit code or signal sets isError: true with code command_failed; error.details contains stdout, stderr, exit_code, and signal. See Errors and safety for the result format. Never run a command that prints a secret, because its output comes back as is.

Computer checkpoints

ToolPurposeRead-only
list_computer_checkpointsList a computer's checkpointsYes
get_computer_checkpointRead a checkpointYes
create_computer_checkpointCreate a checkpointNo
delete_computer_checkpointDelete a checkpointNo
restore_computer_checkpointRestore a checkpoint as a new computerNo

See Create and restore checkpoints.

Databases

ToolPurposeRead-only
list_databasesList databases in a workspaceYes
get_databaseRead a databaseYes
create_databaseCreate a Postgres databaseNo
update_databaseUpdate name or protectionNo
delete_databaseDelete a databaseNo
get_database_connectionRead connection credentialsNo
reset_database_passwordSet a new passwordNo
branch_databaseBranch a databaseNo
sleep_databasePut a database to sleepNo
wake_databaseWake a databaseNo

A fresh branch's credentials can lag a few seconds behind ready. If connection is missing, call get_database_connection. See Database lifecycle states.

Logs and metrics

ToolPurposeRead-only
list_logsWhat happened to your computers and databases and what they printed, newest firstYes
get_metricsWhat your computers and databases used against what was reserved for themYes

Both take the same scope as get_usage: all workspaces, one workspace, or a list of project or resource ids, optionally narrowed by kind. list_logs covers a window of up to 7 days, an hour by default, and pages older with cursor. get_metrics covers up to 92 days, a day by default, and returns series for up to 20 resources. Each answer carries a console_url that opens the same view in the Console, for the agent to hand to a person. Where logs or metrics are not deployed, the tools answer not_supported.

Waiting

Tools that create, branch, delete, or restore wait within the 45 s call budget. Pass wait: false to skip the wait.

OutcomeMeaning
completedFinished, or nothing to wait for.
acceptedNot confirmed complete. Follow next_steps, or continue with get_operation (wait_seconds up to 60).
Tool errorThe request failed, or the awaited operation failed.

Create and branch calls get a fresh idempotency key each time, so repeating one can create a second resource. Keep the operation ID and wait on it with get_operation.

When sleep or wake returns accepted, follow its operation with get_operation.

See Operations and idempotency.

Errors and safety

Failures set isError: true and include code, message, status, and details under structuredContent.error. Most failures have text [code] message. For command_failed and other exec errors containing output, the text is the same JSON error envelope as structuredContent, so text-only clients also receive the output and exit status.

Exec output is capped at 64 KiB of UTF-8 per stream, without splitting a character. When output is dropped, the stream ends with a truncation notice and its truncated.stdout or truncated.stderr flag is true. These flags live in the successful result or in error.details on failure.

Request IDs remain in server logs. MCP results omit them. Delete, access removal, and exec carry destructive hints. The server does not enforce confirmation, so agents should confirm first.

On this page