API Key Authentication for MCP

As an alternative to OAuth 2.0, you can authenticate MCP requests using a user-scoped API key. This is useful for programmatic access or when OAuth flow is not supported by your MCP client.

Requirements

  • The API key must be associated with a user
  • The user must be a member of the organization

Usage

Include the x-api-key header in your MCP requests:

x-api-key: dmm_your_api_key_here

Claude Code Example

Add the MCP server using the Claude Code CLI:

claude mcp add --transport http entropy-data /mcp --header "x-api-key: dmm_your_api_key_here"

Replace /mcp with your organization's MCP endpoint URL (displayed in the configuration wizard).

MCP Client Config

Or add the following to your claude_desktop_config.json or .mcp.json:

{
  "mcpServers": {
    "entropy-data": {
      "url": "/mcp",
      "headers": {
        "x-api-key": "dmm_your_api_key_here"
      }
    }
  }
}

Replace /mcp with your organization's MCP endpoint URL.

Managing API Keys

To create or manage your API keys, visit the API Keys section in your organization settings.

Learn more about API Key authentication →