Key takeaways
- An MCP server runs with your permissions and your credentials. Treat connecting one like installing a package from the internet, because that is what it is.
- Scope every key narrowly, give each client or project its own, and prefer short-lived OAuth tokens over long-lived secrets pasted into config files.
- Enforce read-only at the source (the API scope or database role), not only in the MCP layer. A server's own "read-only mode" has been bypassed in the wild.
- Cap spend per key. For SEO tools billed in API units, a runaway agent is a budget incident as well as a security one.
- Write down client data rules before the first connection: which accounts go to which AI tool, who can see the logs, and what your contracts say about third-party processing.
Why SEO teams should care
A year ago, most SEO people used MCP, if at all, to let Claude pull a keyword report. In 2026 it is routine. Agents read Search Console, query backlink databases, crawl sites, draft content and sometimes publish it. Each of those connections is a credential, and each credential belongs to either your agency or your client.
Microsoft's security team put the core idea plainly in its June 2026 post, The state of MCP security in 2026: the moment a model can choose and call tools, it becomes software that acts. Tool descriptions, schemas, outputs and credentials all sit inside the trust boundary. The same post notes that the protocol deliberately does not enforce security for you. That is your job.
For SEO teams the stakes are specific. You hold analytics data under NDA, Search Console access for dozens of properties, and API keys that cost real money per call. One careless setup can leak one of them. A bad one can leak all three.
The risks that matter for SEO workflows
The general MCP threat list is long. Four items are relevant day to day.
Over-broad access
Microsoft ranks over-broad access and credential aggregation among the main risks of 2026. The recommended control is least privilege per resource: narrow OAuth scopes instead of wildcards, short-lived tokens instead of long-lived secrets. OvalEdge makes the same point at the tool level. A data analyst role might get read-only query tools but not tools that modify records or trigger workflows.
For an SEO team, translate that as follows. An agent that writes briefing notes from rank data needs read access to rank data. It does not need the ability to edit a Search Console property, remove a sitemap, or publish to a CMS.
Prompt injection through content you fetch
SEO agents read the open web all day: competitor pages, SERP snippets, forum threads, client site content. Better Design's November 2026 write-up notes that your agent reads every tool description and every tool result, so text in an issue, a ticket or a web page can steer it. Their examples include a public GitHub issue that led an agent to leak private repository data.
The practical defense, repeated across the sources I read, is to limit what an injected instruction could do. If the agent holding your crawl results also holds a write-capable CMS token, one hostile page can reach further than it should. Separate them.
Fake or hijacked servers
The first widely reported malicious MCP server was postmark-mcp in September 2025. A single line inserted into an npm package copied emails. SEO teams love community servers for niche tools, so the lesson applies: known publisher, pinned version, and a quick read of what the server actually does before you give it a key.
Credentials sitting in config files
This one is quiet and common. Many early MCP setups put an API key in plaintext inside a client config file. Ahrefs' old local server did exactly that, with the key in an env API_KEY field. That repo was archived on February 24, 2026, is marked as not maintained, and works only with API v3 keys. If anyone on your team still runs it, they are holding a full API key in a local file. Move them to the hosted server.
Scoped keys: one key, one job
The rule is simple. One key per server, per client, per purpose. Better Design lists this as one of four layers: install from a known publisher with a pinned version, use one key per server with narrow scope, approve calls in the client, and sandbox and log at runtime.
What the Ahrefs setup looks like
Ahrefs is the one SEO vendor where I could verify the details from official docs, so it makes a useful worked example.
- Ahrefs runs a hosted remote MCP server at
https://api.ahrefs.com/mcp/mcpover Streamable HTTP, available on the Lite plan or higher. - Connecting an AI tool shows an authorization consent screen. Once approved, the connection appears in your account with its own API key tagged with
MCPscope. - Keys created through OAuth for MCP default to a monthly limit of 200,000 API units per key. Workspace admins can change or remove that limit in the API keys report.
- Keys created manually have no per-key limit by default, though workspace plan limits still apply. Enterprise customers can also connect with their regular API keys.
- Calls through MCP use the same API units as direct API calls, and each plan caps the rows per request an agent can access.
Two things follow from this. First, prefer the OAuth flow over hand-made keys, because it gives you a labeled, revocable, capped key without any extra work. Second, if you do generate a key manually, set the limit yourself. The default of "none" is the dangerous one.
Ahrefs also states that using the MCP endpoint through custom scripts, bridges or standalone HTTP/JSON-RPC clients is unsupported and not permitted, and points programmatic access to the public API. Check the terms before you wire a hosted server into an automation pipeline. Breaking a vendor's terms is a risk too, just not a technical one.
Search Console
Google's read-only Search Console scope is https://www.googleapis.com/auth/webmasters.readonly. I only found that in a secondary listing, so confirm it against Google's own documentation. The principle holds regardless: if the agent only reports on performance, authorize the read-only scope and nothing broader. Google Search Console is free and holds the most sensitive first-party data you have, so it deserves the narrowest grant on this list.
Other vendors
I could not verify official MCP scope documentation for Semrush, Moz, DataForSEO or Screaming Frog. Third-party connectors describe OAuth sign-in or API-key-plus-URL setups for Semrush, but neither is an official source. Until you have read the vendor's own docs, assume nothing about scopes, and ask the vendor directly what a connected agent can and cannot do.

Read-only access: enforce it where the data lives
Here is the part most teams get wrong. A read-only toggle in an MCP server is a promise made by the server's code. Better Design cites an OWASP note about a 2026 case where a server's query-filtering "read-only mode" still let writes through. Their advice is to enforce read-only at the source, for example with a read-only database role.
The industry is moving the same way. GitHub added read-only and lockdown modes after its incident, and Supabase added a read-only mode and project scoping. Those are good additions, but they are the vendor's layer. Your layer sits underneath.
| Layer | Example for an SEO team | Strength |
|---|---|---|
| Credential scope | Search Console readonly scope, MCP-scoped Ahrefs key | Strong, enforced by the provider |
| Database role | Read-only role on the warehouse holding rank and traffic data | Strong, enforced by the database |
| Server setting | A "read-only mode" flag in the MCP server | Medium, depends on the server's code |
| Client approval | Prompt before each tool call | Medium, depends on a human paying attention |
| Instruction in the prompt | "Never edit anything" | Weak, a suggestion to the model |
Stack them. Use the top two rows as the foundation and treat the rest as backup.
A caution on OAuth scopes
Scopes are necessary, not sufficient. NHIMG argues that OAuth scopes cannot express dynamic roles, contextual resource boundaries or sequence-aware rules, so you also need server-side policy. OvalEdge's version is blunter: the token was scoped and the call was authorized, yet the agent still left with 40,000 customer records it should never have seen. For SEO teams the analogy is an agent with a valid analytics key pulling every client's data when it was only meant to touch one. Separate keys per client solve most of that without any clever policy engine.
Spend controls are a security control
API units are money. A looped agent or an injected instruction that says "fetch everything" can burn a month's allowance in an afternoon. Three habits help:
- Keep the per-key monthly limit on OAuth-created keys, and set one by hand on manual keys.
- Watch usage in the vendor's limits and usage page (in Ahrefs, under Account settings).
- Use the row-per-request ceiling your plan imposes as a feature, not an annoyance.
Client data rules: write them down first
I found no authoritative research on NDA language or data processing agreements for AI vendors, so what follows is working practice, not legal advice. Run it past whoever reviews your contracts.
Decide what may leave the building
Before connecting any client property, answer these in a one-page internal policy:
- Which AI clients are approved (and on which plan tier, since consumer and business accounts handle data differently)?
- Which client data classes may be sent to a model at all? Public rank data is one thing. Revenue-linked analytics, customer lists and unreleased content plans are another.
- Does the client contract mention third-party processors or AI tools? If it is silent, ask before you connect.
- Who can see the conversation logs, and how long are they kept?
Keep clients apart
Never give one agent session access to two clients. Separate keys, separate projects, ideally separate workspaces. Cross-contamination is the failure that ends agency relationships, and it needs no attacker, only a sloppy prompt.
Log and revoke
Obot's minimum baseline is a good checklist for teams with any size: OAuth 2.1 on every remote endpoint, every tool call logged with user identity, tokens stored centrally rather than in client configs, access scoped through identity provider groups, and explicit approval for sensitive operations. A five-person SEO shop will not run an identity provider, but the spirit translates. Keep a shared sheet of every connection, who made it, and what it can do. Review it monthly. Revoke when a contractor leaves or a client churns.
Client-side settings that cost nothing
Every major client (Claude Code, Cursor, Codex, VS Code) can approve tool calls one at a time and allow or block single tools, though each names the setting differently. Better Design also flags that project files such as .mcp.json can start servers. Claude Code and Codex ask before trusting a cloned repository's servers, while VS Code starts them once you trust the workspace. If you open client repos or audit scripts someone sent you, check for that file first.
Free scanners exist too: Snyk Agent Scan (formerly mcp-scan), Cisco MCP Scanner and the official MCP Inspector. Run one before approving any community server.

The Better Design guide above is worth bookmarking for its client-by-client settings walkthrough. OvalEdge's checklist covers the enterprise side, including data-layer classification.

Keeping up with the spec
Microsoft points to a release candidate dated July 28, 2026. As described there, requests now carry what a gateway needs to inspect and enforce on each call, client-server identity checks are tighter, and a new MCP Apps capability lets a server ship interactive UI that the host renders in a sandbox. That last one is new surface area. Revisit your assumptions every release rather than trusting last year's review.
Where AI visibility tooling fits
If your team also tracks how brands appear in AI answers, the same rules apply to those platforms. Promptwatch, for instance, offers a hosted MCP server with scoped project, organization and read-only API keys, so you can give an agent reporting access without write access. It is documented at promptwatch.com/docs. Check any vendor's key model the way you would Ahrefs': can I scope it, cap it and revoke it?

For a broader list of tools in this space, the GEO software directory at bestgeosoftware.com is a reasonable starting point.
A starter checklist
| Step | Action | Done when |
|---|---|---|
| 1 | Inventory every MCP connection and key | Shared sheet exists, owners named |
| 2 | Remove plaintext keys from config files | No API_KEY values in local configs |
| 3 | Use OAuth flows over manual keys | Keys are labeled and revocable |
| 4 | Set per-key spend limits | Every key has a monthly cap |
| 5 | Use read-only scopes by default | Write access granted per task, not per person |
| 6 | Enforce read-only at the source | Database roles and API scopes, not just flags |
| 7 | One client, one key set | No shared sessions across clients |
| 8 | Require approval on write tools | Client prompts before publish or edit calls |
| 9 | Write the client data policy | Approved tools and data classes documented |
| 10 | Monthly review and revocation | Departed staff and churned clients cleaned up |
Bottom line
Most MCP incidents come from a key that could do more than the job needed. Narrow the key, cap the spend, enforce read-only where the data lives, and keep each client in its own box. That covers most of the risk, and none of it needs a security team. The rest is paperwork, and the paperwork is worth doing before the first client asks about it.

