Create Mcp Api Key

Create a new MCP API key for the authenticated user.

The API key is returned only once upon creation and cannot be retrieved later. Store it securely.

Use this key in Claude Code or Cursor with: { "mcpServers": { "deeptrace": { "url": "https://api.deeptrace.ai/mcp/sse", "headers": { "Authorization": "Bearer <your_api_key>" } } } }

post/api/mcp-api-keys

Request

  • Base URL: https://api.deeptrace.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.deeptrace.com/api/mcp-api-keys
  • Auth: none declared

Request body

namestring required

A descriptive name for this API key (e.g., 'My Cursor', 'Claude Desktop')

expires_in_daysinteger nullable

Number of days until the key expires. Null for no expiration.

Response

Successful Response

idstring required
namestring required
api_keystring required
key_prefixstring required
expires_atstring nullable required
created_atstring required

Changes

No recorded changes to this operation across all 39 revisions of this API.