Browse the Help Centre
Overview

Help Centre / API and MCP

How do I connect overads to Cursor or VS Code?

Included in Growth, the one overads plan. API keys, webhooks and the MCP server are part of the plan.

Cursor, VS Code, Codex and Windsurf connect to the overads MCP server with an API key in the editor's MCP config file. The quickest way is to paste one line into the coding agent, Set up https://overads.io/setup.md, and let it write the entry; you then paste your own key into the file.

What you need

  • An overads API key. An owner or admin creates one in Settings > API (the API keys and MCP page). See create an API key.
  • The server address: https://api.overads.io/public/v1/mcp. The transport is Streamable HTTP.
  • The scopes the agent should have. The agent is offered only the tools its key is scoped for.
The agent shouldScopes to tick on the key
Only readRead connections, Read posts, Read analytics
Also schedule postsAdd Write posts and Upload media
Also run your automationsAdd Run workflows

The one-line way

  1. In overads, open Settings > API.
  2. Under PASTE THIS INTO YOUR CODING AGENT, press COPY. The line reads: Set up https://overads.io/setup.md
  3. Paste it into Cursor, Codex, VS Code or Claude Code and send it.
  4. The agent reads the file, works out which agent it is and writes the config entry with a placeholder where the key goes.
  5. Open the file the agent names and replace the placeholder with your key yourself.
  6. Start a new session and ask the agent to list your connected accounts.

The file sets three rules for the agent. It never asks for a password, a sign-in code or an API key in chat. It never signs in or creates an account for you. And any post it schedules follows your workspace's approval rule.

Cursor

.cursor/mcp.jsonjson
{
  "mcpServers": {
    "overads": {
      "url": "https://api.overads.io/public/v1/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}

Project-level in .cursor/mcp.json, or global in ~/.cursor/mcp.json. Cursor > Settings > MCP shows the connection.

VS Code

.vscode/mcp.jsonjson
{
  "servers": {
    "overads": {
      "type": "http",
      "url": "https://api.overads.io/public/v1/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}

For GitHub Copilot agent mode. Open the file and press Start above the server entry.

Codex

~/.codex/config.tomltoml
[mcp_servers.overads]
url = "https://api.overads.io/public/v1/mcp"
http_headers = { Authorization = "Bearer sk_live_YOUR_KEY" }

Codex reads MCP servers from this file. Restart Codex after editing it.

Windsurf

~/.codeium/windsurf/mcp_config.jsonjson
{
  "mcpServers": {
    "overads": {
      "serverUrl": "https://api.overads.io/public/v1/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}

Windsurf > Settings > Cascade > MCP servers, or edit the file directly and refresh.

Any other client

A client that speaks Streamable HTTP and can send a custom Authorization header can connect. In overads, Settings > API has a line under the coding-agent box: Using n8n, Zapier or something else? Connect with an API key. Open it, pick your tool from the list and press Copy on the snippet. The key in every snippet is a placeholder, because a secret is shown once, at creation; replace it with the secret you saved.

curl -sS https://api.overads.io/public/v1/mcp \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'

A client that speaks Streamable HTTP and can send a custom Authorization header can connect this way. POST initialize, keep the Mcp-Session-Id response header, send it on every later request, DELETE to end the session.

Check that it worked

  1. Start a new session, since most editors load MCP tools at start-up.
  2. Ask the agent to call list_connections. It returns your connected social accounts.
  3. Ask which overads workspace it is connected to. The answer names the workspace and the key, by the name you gave the key.

In overads, the key's row under Connected in Settings > API now shows a call count and a last-used time.

Keep the key out of your repository

  • A project-level file such as .cursor/mcp.json or .vscode/mcp.json sits inside the project folder. Add it to .gitignore before you paste a real key, or use the editor's global file instead.
  • Give the editor its own key, named for the machine, with only the scopes it needs.
  • If a key is ever committed or shared, revoke it in Settings > API. Requests using it start failing immediately.

If something goes wrong

What you seeWhyFix
An authentication error on the first callThe placeholder is still in the file, or the key was revoked or has expired.Paste a working key and restart the editor.
The agent says a tool is unknownThe key lacks the scope for that tool. A tool outside the key's scopes is not listed.Create a key with the scope and swap it in.
The tools do not appear at allThe editor has not reloaded its MCP settings.Restart the editor, or start the server entry from its MCP settings.
Calls answer 402The workspace is paused.Choose a plan in Settings > Billing.
Calls worked, then stopped after half an hour idleAn MCP session ends after 30 minutes without a call.Most clients start a new session by themselves. If not, restart the server entry.

A worked example

The developer who built Brew & Bloom's website keeps the menu in the site's repository. They connect Cursor with a key named Cursor laptop that holds Read connections, Write posts and Upload media. After changing the menu file they ask the agent to schedule a post about the new item for Friday at nine. The agent lists the connections, creates the post and reports back. Because the workspace has Require approval on, it also reports that the post is pending, and the owner approves it in overads.

ChatGPT and Claude do not need a key: they connect by signing in. See connect ChatGPT and connect Claude.

Common questions

Can Cursor or VS Code connect by signing in, without a key?

The setup document lists them as key clients: they send an API key in a header. Signing in is offered for ChatGPT, Claude and Claude Code.

What is setup.md?

A plain text page at overads.io/setup.md written for a coding agent. It tells the agent how to add the overads MCP server to itself and what it must never ask you for.

Will the agent ask me for my API key in chat?

The file tells the agent not to. It writes the entry with a placeholder and names the file and line where you paste the key yourself.

Which tools does a coding agent get?

The ones its key is scoped for. A read-only key sees read tools only.

Does it work with n8n and Zapier?

Yes, with an API key. Pick the tool from the list under Connect with an API key in Settings > API for its snippet.