Home / Servers / DigitalOcean API / genai_create_openai_api_key
Create OpenAI API Key
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create OpenAI API Key To create an OpenAI API key, send a POST request to /v2/gen-ai/openai/keys. [POST /v2/gen-ai/openai/keys]
Name on the gateway: digitalocean_api__genai_create_openai_api_key · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
api_key | string | OpenAI API key |
name | string | Name of the key |
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_openai_api_key",
"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 create openai api key tool with api_key set to ….