Home / Servers / DigitalOcean API / mcp_servers_create

Register an MCP Server

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

Register an MCP Server Registers a remote MCP server for your team, using the streamable HTTP transport. The server starts with syncStatus pending and no tools: discover its tools with POST… [POST /v2/action-gateway/mcp-servers]

Name on the gateway: digitalocean_api__mcp_servers_create · may change things.

Parameters

NameTypeDescription
serverRef requiredstringIdentifier for the server, unique within your team. Must match…
endpoint requiredstringHTTPS URL of the server's MCP endpoint. Its host must resolve only to public…
transportstreamable_httpOptional. streamable_http, the default and only accepted value.
credentialRefSourcenone | secret | connectionHow requests to the server authenticate: none (the default), secret, or…
descriptionstringOptional description shown on the server's catalog card. At most 1024…
credentialRefstringFor credentialRefSource secret: a reference to a secret your team stores with…
api_keystringFor credentialRefSource secret: the key or token itself. DigitalOcean stores…
oauth_client_idstringRequired for credentialRefSource connection: the client ID of your team's…
oauth_client_secretstringRequired for credentialRefSource connection. Write-only; no response returns it.
oauth_authorize_urlstringRequired for credentialRefSource connection: the OAuth authorization endpoint.…
oauth_token_urlstringRequired for credentialRefSource connection: the OAuth token endpoint, under…
oauth_scopesarrayRequired for credentialRefSource connection: the scopes to request from each…
oauth_authorization_ttl_secondsstringHow long, in seconds, a user's authorization may be reused before they must…

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__mcp_servers_create",
  "arguments": {
    "serverRef": "…",
    "endpoint": "…"
  }
}

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 register an mcp server tool with serverRef set to ….

More from DigitalOcean API