Home / Servers / DigitalOcean API / harness_create_workspace

Create a persistent workspace.

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

Create a persistent workspace. Creates a persistent workspace with a fixed size limit. A workspace is a set of files with its own ID that is mounted at /workspace in the session it is attached to, and is kept when that session is… [POST /v2/agents/workspaces]

Name on the gateway: digitalocean_api__harness_create_workspace · may change things.

Parameters

NameTypeDescription
size_limit_gib requiredintegerSize limit of the workspace in GiB, from 1 to 100. A team limit can lower the…
namestringOptional label of at most 255 characters. It does not need to be unique.

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__harness_create_workspace",
  "arguments": {
    "size_limit_gib": 0
  }
}

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 create a persistent workspace. tool with size_limit_gib set to ….

More from DigitalOcean API