AI assistants (MCP)
Connect Claude, Codex, Cursor or another MCP assistant to ask about reports and leads, and make changes by chat, each one previewed first.
You can connect Claude, Codex, Cursor or another AI assistant to your EventsIQ account. Then you ask in plain words, and the assistant looks up the answer or makes the change for you. For example: "How many leads did we sell yesterday?", "Which campaign had the best ROAS last week?" or "Pause Acme Insurance".
This works through MCP (Model Context Protocol), the standard way AI assistants connect to other tools. EventsIQ runs an MCP server. Your assistant connects to it by signing in to EventsIQ, or with a key you make in EventsIQ.
An EventsIQ account and an assistant that supports MCP servers, such as Claude Desktop, Claude Code, Codex or Cursor. Apps that can sign in need nothing else. For the others, make a key in Settings › AI assistants.
Which way to connect
| Assistant | Sign in | Key |
|---|---|---|
| Claude.ai | Yes, as a custom connector | No, connectors cannot send a key |
| Claude Desktop | Yes, as a custom connector | Yes, in its config file. Needs Node.js |
| Claude Code | Yes, with Authenticate in /mcp | Yes |
| Cursor | Yes | Yes |
| ChatGPT | Yes, in developer mode | No, connectors cannot send a key |
| Codex | Not covered here | Yes, CLI and IDE extension |
| Other MCP assistants | If the app supports MCP sign in | If it can send a header, or start a local command |
Sign in when you can: there is no key to copy or keep safe. Either way, the assistant works with your permissions. See Connect by signing in and Set up your assistant with a key.
Make a key
- Open Settings › AI assistants.
- Click Make a key.
- Give it a name you will recognise later, such as "Claude on my laptop".
- Choose what the key can do:
- Read only: reports, leads, destinations, routing and campaigns. It changes nothing.
- Read and write: everything Read only can do, plus creating and editing. The assistant shows each change and asks you first.
- Click Make key, then copy the key. It starts with
eiq_live_.
Copy the key before you close the window. EventsIQ keeps only a fingerprint of it, so nobody can show it to you again. If you lose it, revoke it and make a new one. Until you close the page, the setup steps below the list have your new key filled in, ready to copy.
Good to know:
- Anyone signed in can make a Read only key. A Read and write key needs the account owner, or a team member whose role has Manage settings.
- Each person can have up to 10 live keys. Make one per assistant or computer, so you can turn one off without touching the others.
- The account owner sees every key in the account. A team member sees their own.
- Demo accounts cannot make keys.
Revoke and delete a key
Click Revoke on a key to turn it off. Any assistant using it stops working straight away. This cannot be undone: make a new key to connect again.
A revoked key moves to Revoked keys. Click Delete there to take it off the list. A live key cannot be deleted, so revoke it first. Activity history keeps a line for each key made, revoked and deleted.
Connect by signing in (easiest)
Apps that support MCP sign in need only the address. There is no key to make or copy: the app opens EventsIQ, you sign in, choose what it may do, and allow it.
| What | Value |
|---|---|
| Server address | https://app.eventsiq.io/mcp |
- Claude.ai and Claude Desktop: Settings, Connectors, Add custom connector. Name it EventsIQ, paste the address and choose Connect. The connector works in both.
- Claude Code: run
claude mcp add --scope user --transport http eventsiq https://app.eventsiq.io/mcp, start Claude Code, type/mcp, pick eventsiq and choose Authenticate. - Cursor: add
{ "mcpServers": { "eventsiq": { "url": "https://app.eventsiq.io/mcp" } } }to~/.cursor/mcp.json, then turn it on in Cursor Settings, MCP and sign in when it asks. - ChatGPT: in developer mode, add a connector with the address and sign in when it asks.
On the EventsIQ page that opens:
- Sign in, if you are not already.
- Check the app's name, and pick Read only or Read and write. Read and write needs the account owner, or a team member whose role has Manage settings.
- Choose Allow. You go back to the app, connected.
The app shows in Settings › AI assistants as Signed in, with its logo. Click Disconnect to sign it out straight away. Activity history notes each app you connect.
Set up your assistant with a key
For apps that cannot sign in, or if you prefer a key, every assistant needs the same two things:
| What | Value |
|---|---|
| Server address | https://app.eventsiq.io/mcp |
| Header | Authorization: Bearer <your key> |
Settings › AI assistants shows the setup for each assistant below, with your address, and your key
filled in right after you make one. In the examples here, replace eiq_live_YOUR_KEY with your key.
Claude Desktop
- In Claude Desktop open Settings, Developer, Edit Config. This opens
claude_desktop_config.json. - Paste this in, merged with any servers already there. Save, then restart Claude Desktop. It needs Node.js on your computer.
1{
2 "mcpServers": {
3 "eventsiq": {
4 "command": "npx",
5 "args": ["-y", "mcp-remote", "https://app.eventsiq.io/mcp", "--header", "Authorization:${EVENTSIQ_AUTH}"],
6 "env": {
7 "EVENTSIQ_AUTH": "Bearer eiq_live_YOUR_KEY"
8 }
9 }
10 }
11}- Ask Claude something like "How many leads did we sell yesterday?"
Claude Code
Run this in a terminal, then start Claude Code and type /mcp to check EventsIQ is connected.
claude mcp add --scope user --transport http eventsiq https://app.eventsiq.io/mcp --header "Authorization: Bearer eiq_live_YOUR_KEY"--scope user makes EventsIQ available in every folder, not only the one you ran the command in.
To change to a new key, remove the old one first, then run the command above again:
claude mcp remove eventsiq --scope userCodex
This works for the Codex CLI and the Codex IDE extension.
- Add this to
~/.codex/config.toml:
1[mcp_servers.eventsiq]
2url = "https://app.eventsiq.io/mcp"
3bearer_token_env_var = "EVENTSIQ_API_KEY"- Put your key in the environment Codex starts from, for example in your shell profile:
export EVENTSIQ_API_KEY="eiq_live_YOUR_KEY"- Start Codex and type
/mcpto check EventsIQ is listed.
Cursor
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project. Then open Cursor
Settings, MCP and check EventsIQ is on.
1{
2 "mcpServers": {
3 "eventsiq": {
4 "url": "https://app.eventsiq.io/mcp",
5 "headers": {
6 "Authorization": "Bearer eiq_live_YOUR_KEY"
7 }
8 }
9 }
10}Other assistants
Any assistant that speaks MCP over Streamable HTTP and can send a header works:
1URL: https://app.eventsiq.io/mcp
2Transport: Streamable HTTP
3Header: Authorization: Bearer eiq_live_YOUR_KEYAn assistant that can only start a local command can use
npx -y mcp-remote https://app.eventsiq.io/mcp --header "Authorization: Bearer <key>".
Claude.ai custom connectors and ChatGPT connectors cannot send a key. Connect them by signing in, as in Connect by signing in above.
What an assistant can do
With any key
A Read only key can look at everything below. It never changes anything and never sends a lead.
| Area | What the assistant can read |
|---|---|
| Account | Your account name, your role, the key's scope, the time zone, and your plan and usage if you can see billing |
| Reports | Leads, sold, unsold, held and failed for any dates, revenue, and the ROAS report by campaign, ad campaign, traffic source, form or destination |
| Leads | Search leads like on Logs, one lead's full story with every call, held and scheduled leads, uploads and their schedules, and an export as CSV (up to 500 rows, plus a Logs link for the rest) |
| Failed lead scheduler | Its rules, and which leads a rule would queue right now, with why each did not go and what the fix fills |
| Destinations | Every destination with its status, sold today, cap and price, and how one delivers |
| Routing | Every routing setup with its branches, waterfalls, problems and conversion events, and your saved presets |
| Forms and sources | Forms with their questions, steps, design and ending, a form's embed code, and webhook sources with their address |
| Campaigns | Campaigns with their tracking link and settings, and traffic sources |
| Tracking | Tracking health, connected ad accounts and their status, postback events and conversion integrations |
| Checks | A practice run for a destination, and which branch your recent leads would take in a routing. Both send nothing |
Passwords, tokens, signing secrets, the postback key and secret header values are never shown.
With a Read and write key
A Read and write key can also create and edit:
| Area | What the assistant can change |
|---|---|
| Destinations | Create one, edit its address, body, headers, ping post and sold rule, its caps and what happens when full, its name and price, pause or resume it |
| Routing | Create a routing setup, add or edit branches, set the destinations in each waterfall and their order, turn it on or off, attach a source |
| Forms | Create a form, edit its questions, steps, design and ending, publish or unpublish it, and turn lead intake on or off |
| Campaigns | Create and edit campaigns and traffic sources, and turn a campaign on or off |
| Webhook sources | Create and edit inbound webhook sources and their field mapping, and make a new signing secret |
| Postbacks and conversions | Create and edit postback events, set up conversion and cost tracking integrations on ad accounts you already connected, and set a routing's conversion events |
| Leads | Upload leads (up to 500 rows), change a running upload's schedule, retry failed leads, send held leads now, and send a lead again to a destination it was offered to |
| Failed lead scheduler | Make or change a rule that resends leads a destination skipped, refused or could not be reached for, filling empty fields first (such as the last name: John J.) |
What it cannot do
- Connect or reconnect ad accounts, or paste tokens. Do that in the app under Connections.
- Change settings: team and roles, billing and plans, domains, alerts, the field map, global events and scripts, or API keys.
- Delete anything. Taking a question off a form, or a destination out of a waterfall, is allowed, because nothing is deleted.
How you stay in control
- The key works as you. The assistant sees and does exactly what you can in the app, with your permissions, nothing more. If your role changes or your access is turned off, the next request follows the new rules.
- Every change shows a preview first. Before it creates or edits anything, the assistant shows what will change, one line per change, old to new. Nothing happens until you say yes.
- Sending leads is marked. The tools that send leads to destinations (retry, send held leads, send due leads now, upload, send a lead again, switch on a failed lead rule) are marked as actions with outside effects, so your assistant asks with extra care. They always preview first.
- Every change is in Activity history. Each entry starts with "Via AI assistant, key" and the key's name. See Activity history.
- Read only keys cannot change anything. A Read only key is never shown the editing tools, and is refused if it tries one.
- You can turn a key off at any time. Revoking works on the next request.
What to ask
Questions:
- "How many leads did we sell yesterday, and for how much?"
- "Which campaign had the best ROAS last week?"
- "Why did lead 64f… not sell? Show me every call."
- "Which destinations are full for today?"
- "Is anything wrong with our tracking?"
- "Export last week's unsold leads from the Solar form as CSV."
Changes, with a Read and write key:
- "Pause Acme Insurance."
- "Set Beta Solar's daily cap to 40."
- "Create a destination for https://partner.example/leads that posts first name, phone and zip as JSON, and put it second in the Solar routing."
- "In the Solar routing, send Texas and Florida leads to Acme first, then Beta."
- "Make the phone question required on the Roof quote form, and add a dropdown for roof age."
- "Which branch would last week's leads have taken?"
- "Retry the failed leads to Acme from today."
- "Upload these 40 leads to Acme, 10 a day between 9 and 5 Eastern."
Dates are calendar days in your account's time zone. Lists show up to 100 rows at a time.
Troubleshooting
The assistant says 401, or asks me to Authenticate. If you connected by signing in, choose Authenticate (or the app's sign in button) and sign in to EventsIQ again. This is expected after you click Disconnect in Settings › AI assistants.
If you connected with a key, the key is wrong, was revoked, or is missing from the setup. Make a new key in Settings › AI assistants and put it in the setup again, or remove the key from the setup and sign in instead, if your app supports it.
Claude Code says eventsiq already exists.
Remove the old one with claude mcp remove eventsiq --scope user, then run the add command again. If
it was first added without --scope user, use --scope local in the remove command.
EventsIQ shows as disabled in /mcp.
In Claude Code, type /mcp, pick eventsiq and choose Enable. In Cursor, switch it on under
Cursor Settings, MCP.
The assistant says the key is read only. The key is Read only. Make a Read and write key to make changes, or ask the account owner to make one if your role cannot.
The assistant says too many requests. A key can make 120 requests a minute. Wait a minute and ask again.
A change did not happen. The assistant shows a preview first and waits for your yes. Say yes, and it calls again to make the change. Check Activity history to see what was changed.