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
| Name | Type | Description |
|---|---|---|
name required | string | Required human-readable session name. |
actorId | string | Optional actor binding: the user whose connections the session's tool calls… |
policy | object | Optional tool-permission policy. Omitted asks before every call. |
tools | array | Omitted enables every tool. An explicit empty array enables no tools. Direct… |
config | object | Optional session options. config.preloadTools may contain concrete tool names… |
network | object | Product-level session network binding. When set, vpc_uuid must identify a VPC… |
insights | object | Omitted 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:
{
"name": "digitalocean_api__sessions_create",
"arguments": {
"name": "…"
}
}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 create a session tool with name set to ….