# Connecting Cursor and other clients > Index of every page: https://adcopilot.cloud/docs/llms.txt Source: https://adcopilot.cloud/docs/troubleshooting/connect-other-clients/ Markdown: https://adcopilot.cloud/docs/troubleshooting/connect-other-clients.md > Which assistants work with AdCopilot and why there is no API key, with fixes for Cursor, VS Code, Windsurf, Claude Code and Gemini CLI. Claude and ChatGPT have their own pages: [Connecting Claude](https://adcopilot.cloud/docs/troubleshooting/connect-claude) and [Connecting ChatGPT](https://adcopilot.cloud/docs/troubleshooting/connect-chatgpt). This page covers the rest. ## Which assistants work AdCopilot works with an assistant that can do two things: * add a remote MCP server by its URL, over HTTP: ```text https://mcp.adcopilot.cloud/mcp ``` * sign in through your browser with OAuth, the sign-in MCP clients use: the client registers itself with AdCopilot and opens AdCopilot's approval page, **Let \ use your AdCopilot?**. Step-by-step guides: [ChatGPT](https://adcopilot.cloud/docs/connect/chatgpt), [Claude](https://adcopilot.cloud/docs/connect/claude), [Claude Code and Codex](https://adcopilot.cloud/docs/connect/claude-code), [Cursor](https://adcopilot.cloud/docs/connect/cursor) and [Gemini CLI](https://adcopilot.cloud/docs/connect/gemini-cli). Every other client follows [Any MCP client](https://adcopilot.cloud/docs/connect/any-mcp-client), with the notes below. ## There is no API key **What you see.** Your client asks for an API key, a token, a client ID or a client secret. **Why it happens.** Some clients offer several ways to sign in. AdCopilot uses only one: OAuth in your browser. It never issues API keys, and the connector URL holds no secret. **Fix.** 1. Choose the client's OAuth sign-in, the one that discovers the details by itself, and leave key fields empty. 2. Press **Approve** on AdCopilot's page when it opens. A client that can only send an API key or a fixed header cannot connect to AdCopilot. ## Cursor Cursor connects: it adds AdCopilot, opens **Let Cursor use your AdCopilot?**, and **Approve** completes. The link on [Connect Cursor](https://adcopilot.cloud/docs/connect/cursor#add-it) adds it in one step. If **Approve** did nothing on an earlier try, remove AdCopilot in Cursor's MCP settings, add it again, and press **Approve** once. See [Approve does nothing](https://adcopilot.cloud/docs/troubleshooting/connection-errors#approve-does-nothing). * **Nothing called AdCopilot in Cursor's MCP list.** A copy installed from cursor.directory may be listed as **server**. See [Installed from cursor.directory](https://adcopilot.cloud/docs/connect/cursor#cursor-directory). * **A write ran without Cursor asking.** Cursor's default run mode can allow it, and its cloud agents never ask. See [Approvals in Cursor](https://adcopilot.cloud/docs/connect/cursor#approvals). Cursor reads the JSON shape on [Any MCP client](https://adcopilot.cloud/docs/connect/any-mcp-client#clients-that-read-a-json-configuration-file): `mcpServers` → `adcopilot` → `url`. ## VS Code VS Code's `mcp.json` lists servers under `servers`, not `mcpServers`, and wants the type. Microsoft documents this shape, and VS Code's `MCP: Add Server` command (choose **HTTP**) writes it for you: ```json { "servers": { "adcopilot": { "type": "http", "url": "https://mcp.adcopilot.cloud/mcp" } } } ``` VS Code then signs in through your browser: press **Approve** on AdCopilot's page. If it does nothing, see [Approve does nothing](https://adcopilot.cloud/docs/troubleshooting/connection-errors#approve-does-nothing). ## Google Antigravity, Windsurf and other clients Add AdCopilot as a remote MCP server by URL in the client's own MCP settings. Most clients that read a JSON file accept the shape on [Any MCP client](https://adcopilot.cloud/docs/connect/any-mcp-client); some name the address field differently, so check the client's documentation. The client then opens AdCopilot's approval page in your browser: press **Approve**. ## Claude Code * **Not signed in.** Run `/mcp`, choose **adcopilot** and authenticate. * **Tools missing after a release.** Run `/mcp`, choose **adcopilot** and reconnect. * **You added the connector by hand and installed the plugin.** The copy added by hand hides the plugin's: see [Already added the connector by hand?](https://adcopilot.cloud/docs/connect/claude-code-plugin#already-added-the-connector-by-hand). ## Gemini CLI * **Not signed in.** Run `/mcp auth adcopilot` and press **Approve** on the page that opens. * **Tools missing after a release.** Restart Gemini CLI. Still missing: remove AdCopilot (`gemini mcp remove adcopilot`) and add it again, as in [Connect Gemini CLI](https://adcopilot.cloud/docs/connect/gemini-cli). ## The client cannot sign in **What you see.** While connecting, the client reports one of these from AdCopilot. An `invalid_request` or `invalid_scope` shows first on an AdCopilot page that says the client's request can't go ahead, with the reason; the client hears it when you press the page's button. | Error | What it means | | --- | --- | | `access_denied`: "the user declined the request" | **Cancel** was pressed on the approval page. | | `invalid_redirect_uri`: `"redirect_uris entries must be absolute https:// URIs (http://localhost or http://127.0.0.1 allowed for dev clients): …"` | The client asked to be sent back to an address AdCopilot does not accept. | | `invalid_request`: "code\_challenge is required (PKCE)", "code\_challenge\_method must be S256" or "code\_challenge must be 43 to 128 characters …" | The client does not use the secure sign-in AdCopilot requires. | | `invalid_scope`: "unsupported scope requested" | The client asked for permissions AdCopilot does not offer. | An `invalid_scope` inside a tool's answer, after you are connected, is something else: Google would not renew AdCopilot's access to a product. See [Google would not renew access](https://adcopilot.cloud/docs/troubleshooting/google-product-access#google-would-not-renew). **Why it happens.** AdCopilot only sends you back to an `https://` address, to `http://localhost` or `http://127.0.0.1` on your own computer, or to the Cursor app's or the Claude desktop app's own address (`cursor://anysphere.cursor-mcp/oauth/callback`, `claude://claude.ai/mcp-auth-callback/sdk`), and requires the PKCE sign-in with S256. Another client that uses an app-only address, or skips PKCE, cannot sign in. **Fix.** 1. `access_denied`: start the connection again and press **Approve**. 2. The others: update the client to its latest version and try again. If it still fails, the client can't connect to AdCopilot yet; use another assistant. **If it persists.** Write to [support@adcopilot.cloud](mailto:support@adcopilot.cloud) with the client's name and version and the exact error, so we know which clients need it.