Home / Servers / DigitalOcean API / functions_access_key_create

Create a Namespace Access Key

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

Create a Namespace Access Key Creates a new access key for a serverless functions namespace. The access key can be used to authenticate requests to the namespace's functions. The secret key is only returned once upon creation.… [POST /v2/functions/namespaces/{namespace_id}/keys]

Name on the gateway: digitalocean_api__functions_access_key_create · may change things.

Parameters

NameTypeDescription
namespace_id requiredstringThe ID of the namespace to be managed.
name requiredstringThe access key's name.
expires_instringThe duration after which the access key expires, specified as a human-readable…

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__functions_access_key_create",
  "arguments": {
    "namespace_id": "…",
    "name": "…"
  }
}

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 namespace access key tool with namespace_id set to ….

More from DigitalOcean API