Home / Servers / DigitalOcean API / connections_create
Create a Connection
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create a Connection Connects one of your users, identified by user_id, to a provider so tools can act on their account. An OAuth connection starts pending, and authorization carries the URL to send the user to; read… [POST /v2/action-gateway/connections]
Name on the gateway: digitalocean_api__connections_create · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
provider required | string | Required provider slug, from the provider list. |
user_id required | string | Required. Your identifier for the user the connection acts for: 1 to 64… |
scopes | array | Optional OAuth scopes to request. Defaults to every scope the provider offers… |
connection_parameters | object | Values for the provider's connection_parameters, validated against their… |
credential | object | Optional credential to connect through. Omitted uses DigitalOcean's shared… |
network | object | Optional private network for the connection's calls. Requires VPC networking… |
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__connections_create",
"arguments": {
"provider": "…",
"user_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 create a connection tool with provider set to ….