Home / Servers / DigitalOcean API / sessions_create

Create a Session

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

Create a Session Creates a session owned by your team, with a new session URN, and returns the MCP URL an agent connects to. tools selects the tools and toolbelts the session exposes, and policy decides which calls… [POST /v2/action-gateway/sessions]

Name on the gateway: digitalocean_api__sessions_create · may change things.

Parameters

NameTypeDescription
name requiredstringRequired human-readable session name.
actorIdstringOptional actor binding: the user whose connections the session's tool calls…
policyobjectOptional tool-permission policy. Omitted asks before every call.
toolsarrayOmitted enables every tool. An explicit empty array enables no tools. Direct…
configobjectOptional session options. config.preloadTools may contain concrete tool names…
networkobjectProduct-level session network binding. When set, vpc_uuid must identify a VPC…
insightsobjectOmitted when the request omitted insights or explicitly sent null.

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__sessions_create",
  "arguments": {
    "name": "…"
  }
}

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 session tool with name set to ….

More from DigitalOcean API