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
| Name | Type | Description |
|---|---|---|
namespace_id required | string | The ID of the namespace to be managed. |
name required | string | The access key's name. |
expires_in | string | The 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:
{
"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:
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 ….