Home / Servers / DigitalOcean API / microvms_get_console

Open a console in a MicroVM

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Open a console in a MicroVM To open an interactive /bin/sh console in a MicroVM's workload container, open a WebSocket connection to wss://api.digitalocean.com/v2/microvms/{microvm_id}/console. Send the API token in the… [GET /v2/microvms/{microvm_id}/console]

Name on the gateway: digitalocean_api__microvms_get_console · read-only.

Parameters

NameTypeDescription
microvm_id requiredstringThe unique ID of the MicroVM.
rowsintegerThe initial number of terminal rows.
colsintegerThe initial number of terminal columns.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__microvms_get_console",
  "arguments": {
    "microvm_id": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the open a console in a microvm tool with microvm_id set to ….

More from DigitalOcean API