# EventDash MCP

Query EventDash analytics from Cursor, Claude Code, Codex, and VS Code. Read-only.

Endpoint: https://www.eventda.sh/api/mcp

HTML docs: https://www.eventda.sh/docs/mcp
Long-form: https://www.eventda.sh/blog/ask-analytics-from-cursor

## Tokens

- `edt_` account token (default): Settings → API / MCP. Optional app allowlist.
- `edr_` app read key: one app, mostly analytics.
- `ed_` tracking keys: ingest only. They cannot call MCP.

Never put MCP tokens in the tracker snippet. Never paste secrets into chat. Configure credentials in the MCP client.

## Connect

Cursor / VS Code `mcp.json`:

```json
{
  "mcpServers": {
    "eventdash": {
      "url": "https://www.eventda.sh/api/mcp",
      "headers": {
        "Authorization": "Bearer edt_xxx"
      }
    }
  }
}
```

Claude Code:

```bash
claude mcp add --transport http eventdash https://www.eventda.sh/api/mcp \
  --header "Authorization: Bearer edt_xxx"
```

Codex: store the token in `EVENTDASH_TOKEN`, then:

```bash
codex mcp add eventdash \
  --url https://www.eventda.sh/api/mcp \
  --bearer-token-env-var EVENTDASH_TOKEN
```

stdio-only clients can use `npx -y mcp-remote` with the same URL and Authorization header.

Tool reference: https://www.eventda.sh/docs/mcp/tools.md
For agents (install tracker): https://www.eventda.sh/docs/ai.md
