Setup
~/.cursor/mcp.json (global) or .cursor/mcp.json (project)
~/.cursor/mcp.json
{
"mcpServers": {
"autoleads": {
"url": "https://api.grezy.org/mcp/al/"
}
}
}- 1Open (or create) ~/.cursor/mcp.json and paste the configuration above.
- 2In Cursor, open Settings → MCP and click “Connect” next to autoleads.
- 3A browser window opens: sign in to AutoLeads, review the requested permissions and click “Allow”.
With an API key
For a script or a shared setup without a browser sign-in.
~/.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 and paste the configuration above.
- 2In Cursor, open Settings → MCP and check that autoleads is active.
Worth knowing
- With an API key, 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.