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 the Quickstart with MCP.

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.
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
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

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.

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 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 buffers output and keeps the first 64 KiB per stream. A nonzero exit code is a result, not a tool error. 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.

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.

Sleep and wake can return accepted with no operation yet. Read the resource again and do not repeat the transition.

See Operations and idempotency.

Errors and safety

Failures set isError: true and include code, message, status, details, and request_id. Delete, access removal, and exec carry destructive hints. The server does not enforce confirmation, so agents should confirm first.

On this page