Home / Servers / DigitalOcean API / genai_create_oauth2_dropbox_tokens
Get Oauth2 Dropbox Tokens
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Get Oauth2 Dropbox Tokens To obtain the refresh token, needed for creation of data sources, send a GET request to /v2/gen-ai/oauth2/dropbox/tokens. Pass the code you obtrained from the oauth flow in the field 'code' [POST /v2/gen-ai/oauth2/dropbox/tokens]
Name on the gateway: digitalocean_api__genai_create_oauth2_dropbox_tokens · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
code | string | The oauth2 code from google |
redirect_url | string | 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:
{
"name": "digitalocean_api__genai_create_oauth2_dropbox_tokens",
"arguments": {}
}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 get oauth2 dropbox tokens tool with code set to ….