Home / Servers / DigitalOcean API / spaces_key_create
Create a New Spaces Access Key
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create a New Spaces Access Key To create a new Spaces Access Key, send a POST request to /v2/spaces/keys. At the moment, you cannot mix a fullaccess permission with scoped permissions. A fullaccess permission will be prioritized… [POST /v2/spaces/keys]
Name on the gateway: digitalocean_api__spaces_key_create · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name | string | The access key's name. |
grants | array | The list of permissions for the access key. |
access_key | string | The Access Key ID used to access a bucket. |
created_at | string | The date and time the key was created. |
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__spaces_key_create",
"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 a new spaces access key tool with name set to ….