AdLoop Cloud
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global), with your API key from Settings → API keys:
To sign in with AdLoop instead of using a key, leave out headers. Cursor then offers a login next to AdLoop in its MCP settings, which opens AdLoop’s consent page. Cursor receives the sign-in through an app link rather than a website, so the consent page asks you to confirm that destination before Allow access works.
Self-hosted
The env block is optional; leave it out for the full catalog. See Toolsets.
Cursor warns when many MCP tools are active at once. If you run several MCP servers, a restricted AdLoop key (or ADLOOP_TOOLSETS) keeps the tool list lean. Copy .cursor/rules/adloop.mdc from the repository into your project so Cursor knows the orchestration and safety patterns.
Verify
Ask Cursor’s agent to run the AdLoop health check. If something fails, see Troubleshooting.
Your AI can read these docs too. Add https://docs.getadloop.com/mcp as an additional MCP server and your assistant can search this documentation while it works: setup answers, troubleshooting, and tool guidance on demand.