Home / Servers / DigitalOcean API / genai_get_oauth2_url

Get Oauth2 URL

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

Get Oauth2 URL To generate an Oauth2-URL for use with your localhost, send a GET request to /v2/gen-ai/oauth2/url. Pass 'http://localhost:3000 as redirect_url [GET /v2/gen-ai/oauth2/url]

Name on the gateway: digitalocean_api__genai_get_oauth2_url · read-only.

Parameters

NameTypeDescription
typestringType "google" / "dropbox".
redirect_urlstringThe redirect url.

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__genai_get_oauth2_url",
  "arguments": {}
}

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 get oauth2 url tool with type set to ….

More from DigitalOcean API