Add the server
Cursor reads MCP servers from a config file. Create it if it does not exist, then restart Cursor so it picks up the change.
{
"mcpServers": {
"mcp-ads": {
"url": "https://mcp-ads.com/mcp-slim"
}
}
}This is a remote server entry, so it takes a url rather than a command. There is no package to install and no API key field.
Where this helps
- Checking campaign performance without leaving the editor
- Building landing pages while reading the search terms that will point at them
- Wiring up conversion tracking with the GA4 and GTM tools open beside the code
- Editing a WordPress site from the same session that reads its Search Console data
Troubleshooting
- The server is not listed after a restart: the config is in the wrong place or is not valid JSON. Check the file is at ~/.cursor/mcp.json (user level) or .cursor/mcp.json in the project root, and that there is no trailing comma after the last entry. Cursor reports a parse error only in its MCP log, not in a dialog.
- The OAuth window never opens: a popup blocker or a browser that is not the system default. Cursor prints the authorisation URL in the MCP output panel; copy it into any browser and finish there.
- "A server with this URL already exists": the same URL is defined at both the user and project level, or in two entries with different names. Keep one entry and remove the other, then restart.
- The entry shows red or zero tools: the URL is wrong or the network blocks it. It must be exactly https://mcp-ads.com/mcp-slim with no trailing slash. On a corporate network, check that mcp-ads.com is reachable from a browser first.
- Tools appear but every call fails with an authorisation error: the grant was revoked or expired. Remove the server entry, restart, add it back and approve the sign-in again.