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

NameTypeDescription
namestringThe access key's name.
grantsarrayThe list of permissions for the access key.
access_keystringThe Access Key ID used to access a bucket.
created_atstringThe 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:

call_tool arguments
{
  "name": "digitalocean_api__spaces_key_create",
  "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 create a new spaces access key tool with name set to ….

More from DigitalOcean API