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

NameTypeDescription
provider requiredstringRequired provider slug, from the provider list.
user_id requiredstringRequired. Your identifier for the user the connection acts for: 1 to 64…
scopesarrayOptional OAuth scopes to request. Defaults to every scope the provider offers…
connection_parametersobjectValues for the provider's connection_parameters, validated against their…
credentialobjectOptional credential to connect through. Omitted uses DigitalOcean's shared…
networkobjectOptional 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:

call_tool arguments
{
  "name": "digitalocean_api__connections_create",
  "arguments": {
    "provider": "…",
    "user_id": "…"
  }
}

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 connection tool with provider set to ….

More from DigitalOcean API