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
| Name | Type | Description |
|---|---|---|
microvm_id required | string | The unique ID of the MicroVM. |
rows | integer | The initial number of terminal rows. |
cols | integer | The 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:
{
"name": "digitalocean_api__microvms_get_console",
"arguments": {
"microvm_id": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 ….