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: ed_your_api_key_here

Claude Code Example

Add the MCP server using the Claude Code CLI. Replace <your-entropy-data-host> with your Entropy Data host — on Entropy Data Cloud this is app.entropy-data.com (so the URL is https://app.entropy-data.com/mcp); self-hosted instances use their own domain (shown in the configuration wizard).

claude mcp add --transport http entropy-data https://<your-entropy-data-host>/mcp --header "x-api-key: ed_your_api_key_here"

MCP Client Config

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

{
  "mcpServers": {
    "entropy-data": {
      "url": "https://<your-entropy-data-host>/mcp",
      "headers": {
        "x-api-key": "ed_your_api_key_here"
      }
    }
  }
}

Again, substitute <your-entropy-data-host> with your Entropy Data host (see above).

Managing API Keys

To create or manage your API keys, visit the API Keys section in your organization settings. The key must be user-scoped (see Requirements above).

Learn more about MCP authentication →