Setup
.vscode/mcp.json (workspace) or your user profile
.vscode/mcp.json
{
"servers": {
"autoleads": {
"type": "http",
"url": "https://api.grezy.org/mcp/al/"
}
}
}- 1Create .vscode/mcp.json at the root of your project and paste the configuration above.
- 2Start the server from the button VS Code shows above the block.
- 3A browser window opens: sign in to AutoLeads, review the requested permissions and click “Allow”.
- 4Open Chat in Agent mode and select the AutoLeads tools.
With an API key
For a script or a shared setup without a browser sign-in.
.vscode/mcp.json
{
"servers": {
"autoleads": {
"type": "http",
"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.
- 1Create .vscode/mcp.json at the root of your project and paste the configuration above.
- 2Start the server from the button VS Code shows above the block.
Worth knowing
- Careful: VS Code uses the “servers” key, not “mcpServers” like Cursor.
- With an API key, replace it with ${input:autoleads-key} and declare an “inputs” entry to keep it out of version control.