Guides
MCP and AI agents
Connect an AI agent to the crawl data through the MCP server or the CLI.
This guide connects an MCP client such as Claude to TelaiSEO. The agent can then start crawls, query URLs, read findings and export data, and propose fixes. The connection needs a licence, as in License and updates.
Before you start
- Have a crawl ready. The agent works on the crawls stored in the data directory.
- Know your client. The MCP Server page carries a snippet per client.
Start the server
- Open Settings > MCP Server, or press
Cmd+,and pick it in the list. - Turn the big switch on. The card reads Server running with its
http://127.0.0.1:<port>address. The server listens locally only. - Reveal the Bearer token with the eye button, and copy it. Every request must send it in the header.
- Change the port only if you need to. Turn the server off and on again after an Apply.
Connect a client
- Pick your client in the tab strip: Claude, ChatGPT, OpenCode, Pi, DeepSeek Harness, GitHub Copilot, Cursor, Zed or Other clients.
- Copy the snippet under the tab. The code block masks the token on screen, but the clipboard always carries the real one.
- Paste the snippet where the location line points. The notes on each client tab name the special cases.
- Keep the import folder empty for full freedom. When set, the MCP import tools accept only paths inside it.
Prefer a stdio client
Two snippets per client cover a second route: the client starts TelaiSEO itself over stdin and stdout, with no server needed. The same route runs on the command line:
- Run
telaiseo-cli mcpas the command of the client. Nothing but the protocol prints on stdout. - Headless users reach the scheduler and an optional HTTP MCP server with
telaiseo-cli serve.
Work with the agent
- Ask for an audit in plain words. The first example on the MCP page does it: audit the site, then list the highest-impact findings with their URLs.
- Let the agent read before it answers. The AI pages prompt names the tools it should use:
search_cardsto search,get_cardto read,submit_recommendationto record. - Ask for fixes with the closing example: retrieve every finding and its affected URLs, then fix the confirmed ones in your website project by impact.
- Keep TelaiSEO read-only for the site data. The agent edits your website project, TelaiSEO only reports.
Check the result
- The status card reads Server running, and stays on the address it printed at start.
- A failed start turns the switch off and shows the error under the card.
- The agent answers with real crawl numbers. If it guesses, re-run it against the live server as in AI pages workflow.
Next
- Build the cards and run recommendation tests in AI pages workflow.
- The field reference lives in MCP Server and on the CLI page.