Giving your AI agent SEO tools: MCP explained
MCP is the open protocol that lets an AI agent call outside tools. How it works, and how to connect an agent to SEO data safely.
Agents8 min read
The Model Context Protocol (MCP) is an open standard that lets an AI application connect to outside tools and data through one common interface. For SEO, it means your agent can read Search Console, run a site audit or check rankings by calling tools on a server, instead of you pasting exports into a chat. You connect the server once, sign in, and the agent can use whatever tools that server offers, within the permissions you hold.
The problem MCP solves#
A language model on its own knows only what it learned in training and what you type into the conversation. It cannot see your rankings, your traffic or your site. Asked for SEO advice with no data, it gives generic advice.
Before MCP, every connection between an AI application and an outside system had to be built separately. MCP replaces that with one protocol. A tool provider builds one server. Any AI application that supports MCP can connect to it.
Anthropic introduced MCP in November 2024 as an open standard. In December 2025 it donated the protocol to the Agentic AI Foundation, a fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI. The specification is public; the current revision is dated 28 July 2026.
How MCP works#
Three participants#
| Participant | What it is | Example |
|---|---|---|
| Host | The AI application you use, which manages the connections | Claude Code, Claude Desktop, ChatGPT, Cursor |
| Client | A component inside the host that holds the connection to one server | Created by the host, one per server |
| Server | A program that provides tools and context to clients | An SEO platform's MCP server |
You will mostly think about the host and the server. The client is plumbing.
What a server can offer#
A server can expose three kinds of thing:
- Tools: functions the model can call, such as "fetch Search Console performance for this project". This is the part that matters most for SEO work.
- Resources: data the application can read as context, such as files or records.
- Prompts: reusable templates a user can choose.
Each tool has a name, a description in plain language, and an input schema that says which parameters it accepts. The specification describes tools as model-controlled: the model reads the descriptions, decides which tool fits your request, and calls it.
Here is the general shape of a tool definition. This one is made up for illustration.
{
"name": "get_page_clicks",
"description": "Weekly clicks for one URL from the connected search data.",
"inputSchema": {
"type": "object",
"properties": {
"url": { "type": "string" },
"weeks": { "type": "integer" }
},
"required": ["url"]
}
}The quality of the description matters a great deal. It is what the model uses to choose, so a vague description leads to the wrong tool being called.
How messages travel#
MCP messages use JSON-RPC 2.0. The specification defines two standard transports:
- stdio, for a server that runs as a program on your own machine;
- Streamable HTTP, for a server reached over the network at a URL.
A hosted SEO platform uses the second. There is nothing to install: you give your agent the server's address.
The July 2026 revision made the core of the protocol stateless, so each request carries what it needs. As a user you should notice nothing, provided your agent and the server are both reasonably up to date.
Signing in#
Authorisation is optional in the specification, and when it is used over HTTP it is based on OAuth 2.1. In practice your agent opens a sign-in page in your browser, you log in and approve, and the agent receives a token. Many servers also accept an API key sent as a header, which suits machines with no browser.
Either way, the agent acts as you. It should be able to do what your account can do and nothing more.
What this looks like for SEO#
With an SEO server connected, a request such as "which pages lost the most clicks last month, and why?" can become a chain of tool calls:
- The agent lists your projects and picks the right one.
- It fetches Search Console performance for the last eight weeks.
- It finds the pages with the largest drop.
- It fetches the latest audit issues for those pages.
- It checks tracked rankings for the keywords those pages target.
- It writes up what it found, with the numbers.
This is the same reading a person would do by hand in Search Console and a site audit. Every figure in the answer came from a tool, not from the model's memory. That is the real gain: the model does the reading and reasoning, and the data is yours and current.
Agents can also write back. A server may let the agent save a report, add keywords to a tracker, or record that a change shipped so it can be measured later.
Tools are not a workflow#
Giving an agent ninety tools does not tell it how to do an SEO audit. It will call whichever tools seem relevant and stop when it has something plausible to say.
A skill fills that gap. An agent skill is an instruction file, usually called SKILL.md, that describes one workflow step by step: which tools to call and in what order, what to check before drawing a conclusion, when to ask before spending, and what the finished report should contain.
Tools give the agent access. Skills give it a method. You want both.
What to do in practice#
- Choose a host that supports remote MCP servers. Most current agents do, though the menus differ.
- Add the server's URL in the host's settings or with its command-line tool.
- Sign in when the browser opens, and choose the right workspace.
- Check the connection. Ask the agent who it is signed in as and to list your projects. Both should be free, read-only calls.
- Install the skills if the server offers them. Connecting a server does not usually install skills; they are files on the agent's side.
- Start with one focused request. "Audit example.com" works far better than "do my SEO".
- Read the tool calls. Most hosts show which tools were called and with what inputs. Reading them is how you learn to trust or correct the agent.
Safety and cost#
The specification is direct about risk. It says tools represent arbitrary code execution and must be treated with caution, that hosts must obtain user consent before invoking a tool, and that there should always be a human in the loop with the ability to deny tool invocations.
For SEO work, that translates into a few habits.
- Connect only servers you trust. A server's tool descriptions go into the model's context. The specification says clients must treat tool annotations as untrusted unless they come from a trusted server.
- Give the agent the least access that does the job. A read-only role is enough for analysis.
- Know which tools cost money. Fetching fresh rankings or AI answers usually means a paid lookup with a data provider. Reading data already stored usually does not.
- Ask for an estimate first on anything large: a rank check across hundreds of keywords, a big map grid, a long list of prompts.
- Set a spending limit on the server if it offers one, so a mistake cannot become a large bill.
- Treat API keys like passwords. Revoke any you no longer use.
- Review before anything is published. An agent can draft a title or a redirect map. A person should approve what goes live.
Common mistakes#
- Expecting the connection to do the work. Tools without a clear request produce a tour of your data, not a finding.
- Asking for everything at once. One workflow per request gives better results and is easier to check.
- Not checking which workspace or project the agent is in. A correct analysis of the wrong site is worthless.
- Letting the agent guess when a tool fails. If a lookup errors, the right answer is "I could not get that", not an estimate from memory. Tell your agent so.
- Confusing skills with tools. Updating the server does not update skill files on your machine.
- Connecting many overlapping servers. If three servers each offer a "keyword research" tool, the model has to pick, and may pick badly.
- Skipping the human review because the output reads well. Fluent is not the same as correct.
How to measure whether it helps#
Judge an agent the way you would judge a new colleague.
- Accuracy: spot-check its numbers against the source. Do the clicks it quotes match Search Console?
- Traceability: can you see which tool produced each figure?
- Time saved: how long did the audit or report take compared with doing it by hand?
- Cost per task: what did the paid lookups come to?
- Outcomes: did the changes it recommended, once shipped, improve anything? Record them and check at fixed intervals, as described in How to prove SEO work worked.
The last measure is the one that counts. An agent that produces tidy reports nobody acts on has saved no one anything.
How NulSEO helps#
NulSEO includes an MCP server with 94 tools covering research, site audits, rank tracking, local SEO, AI visibility, Search Console and Analytics data, the Opportunity Queue, the Impact Ledger and reports. It speaks streamable HTTP and signs agents in with OAuth or an API key. Your agent inherits your role, so a Viewer's agent cannot run paid lookups, and every request is held to the monthly spend caps. NulSEO also serves 12 agent skills, from SEO Audit to Local SEO. Set up your agent has steps for Claude, ChatGPT, Codex and Cursor.