Setup
~/.cursor/mcp.json (global) or .cursor/mcp.json (project)
~/.cursor/mcp.json
{
"mcpServers": {
"autoleads": {
"url": "https://api.grezy.org/mcp/al/",
"headers": {
"Authorization": "Api-Key YOUR_API_KEY"
}
}
}
}Replace YOUR_API_KEY with the key you created in Settings → API keys and MCP.
- 1Open (or create) ~/.cursor/mcp.json.
- 2Paste the configuration above.
- 3In Cursor, open Settings → MCP and check that autoleads is active.
Worth knowing
- Cursor expands ${env:MY_VARIABLE} inside headers, which keeps the key out of the file.
Other clients
Claude is a trademark of Anthropic, ChatGPT of OpenAI, Cursor of Anysphere, VS Code and GitHub Copilot of Microsoft, Windsurf of Codeium. These marks belong to their respective owners and mentioning them implies no partnership.