[{"data":1,"prerenderedAt":429,"buildId":430},["ShallowReactive",2],{"-docs-guides-mcp-and-ai-agents":3,"-docs-guides-mcp-and-ai-agents-surround":207,"navigation_docs_en":216},{"id":4,"title":5,"body":6,"description":198,"extension":199,"links":200,"meta":201,"navigation":202,"path":203,"seo":204,"stem":205,"__hash__":206},"docs_en\u002Fdocs\u002F2.guides\u002F08.mcp-and-ai-agents.md","MCP and AI agents",{"type":7,"value":8,"toc":187},"minimark",[9,19,24,39,43,67,72,76,90,94,97,112,116,120,146,150,165,169],[10,11,12,13,18],"p",{},"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 ",[14,15,17],"a",{"href":16},"\u002Fdocs\u002Fguides\u002Flicense-and-updates","License and updates",".",[20,21,23],"h2",{"id":22},"before-you-start","Before you start",[25,26,27,31],"ul",{},[28,29,30],"li",{},"Have a crawl ready. The agent works on the crawls stored in the data directory.",[28,32,33,34,38],{},"Know your client. The ",[14,35,37],{"href":36},"\u002Fdocs\u002Fpages\u002Fsettings\u002Fmcp-server","MCP Server"," page carries a snippet per client.",[20,40,42],{"id":41},"start-the-server","Start the server",[44,45,46,54,61,64],"ol",{},[28,47,48,49,53],{},"Open Settings > MCP Server, or press ",[50,51,52],"code",{},"Cmd+,"," and pick it in the list.",[28,55,56,57,60],{},"Turn the big switch on. The card reads Server running with its ",[50,58,59],{},"http:\u002F\u002F127.0.0.1:\u003Cport>"," address. The server listens locally only.",[28,62,63],{},"Reveal the Bearer token with the eye button, and copy it. Every request must send it in the header.",[28,65,66],{},"Change the port only if you need to. Turn the server off and on again after an Apply.",[68,69],"docs-shot",{"alt":70,"name":71},"The MCP Server page with the running server, the token field and the client snippets","settings-mcp",[20,73,75],{"id":74},"connect-a-client","Connect a client",[44,77,78,81,84,87],{},[28,79,80],{},"Pick your client in the tab strip: Claude, ChatGPT, OpenCode, Pi, DeepSeek Harness, GitHub Copilot, Cursor, Zed or Other clients.",[28,82,83],{},"Copy the snippet under the tab. The code block masks the token on screen, but the clipboard always carries the real one.",[28,85,86],{},"Paste the snippet where the location line points. The notes on each client tab name the special cases.",[28,88,89],{},"Keep the import folder empty for full freedom. When set, the MCP import tools accept only paths inside it.",[20,91,93],{"id":92},"prefer-a-stdio-client","Prefer a stdio client",[10,95,96],{},"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:",[25,98,99,106],{},[28,100,101,102,105],{},"Run ",[50,103,104],{},"telaiseo-cli mcp"," as the command of the client. Nothing but the protocol prints on stdout.",[28,107,108,109,18],{},"Headless users reach the scheduler and an optional HTTP MCP server with ",[50,110,111],{},"telaiseo-cli serve",[68,113],{"alt":114,"name":115},"The CLI page with the generated help of the telaiseo-cli commands","settings-cli",[20,117,119],{"id":118},"work-with-the-agent","Work with the agent",[44,121,122,125,140,143],{},[28,123,124],{},"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.",[28,126,127,128,131,132,135,136,139],{},"Let the agent read before it answers. The AI pages prompt names the tools it should use: ",[50,129,130],{},"search_cards"," to search, ",[50,133,134],{},"get_card"," to read, ",[50,137,138],{},"submit_recommendation"," to record.",[28,141,142],{},"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.",[28,144,145],{},"Keep TelaiSEO read-only for the site data. The agent edits your website project, TelaiSEO only reports.",[20,147,149],{"id":148},"check-the-result","Check the result",[25,151,152,155,158],{},[28,153,154],{},"The status card reads Server running, and stays on the address it printed at start.",[28,156,157],{},"A failed start turns the switch off and shows the error under the card.",[28,159,160,161,18],{},"The agent answers with real crawl numbers. If it guesses, re-run it against the live server as in ",[14,162,164],{"href":163},"\u002Fdocs\u002Fguides\u002Fai-pages-workflow","AI pages workflow",[20,166,168],{"id":167},"next","Next",[25,170,171,176],{},[28,172,173,174,18],{},"Build the cards and run recommendation tests in ",[14,175,164],{"href":163},[28,177,178,179,181,182,186],{},"The field reference lives in ",[14,180,37],{"href":36}," and on the ",[14,183,185],{"href":184},"\u002Fdocs\u002Fpages\u002Fsettings\u002Fcli","CLI"," page.",{"title":188,"searchDepth":189,"depth":189,"links":190},"",2,[191,192,193,194,195,196,197],{"id":22,"depth":189,"text":23},{"id":41,"depth":189,"text":42},{"id":74,"depth":189,"text":75},{"id":92,"depth":189,"text":93},{"id":118,"depth":189,"text":119},{"id":148,"depth":189,"text":149},{"id":167,"depth":189,"text":168},"Connect an AI agent to the crawl data through the MCP server or the CLI.","md",null,{},{"title":5},"\u002Fdocs\u002Fguides\u002Fmcp-and-ai-agents",{"title":5,"description":198},"docs\u002F2.guides\u002F08.mcp-and-ai-agents","BmcTnN-lKuHOzPa0GZZA6xPk9jCqo1OjguveupQ5bsw",[208,213],{"title":209,"path":210,"stem":211,"description":212,"children":-1},"Scheduled crawls","\u002Fdocs\u002Fguides\u002Fscheduled-crawls","docs\u002F2.guides\u002F07.scheduled-crawls","Run a crawl on a cadence, export after it and learn about regressions without opening the app.",{"title":164,"path":163,"stem":214,"description":215,"children":-1},"docs\u002F2.guides\u002F09.ai-pages-workflow","Build the cards of a crawl, review the agent proposals, run the tests and export the files.",[217],{"title":218,"path":219,"stem":220,"children":221},"Docs","\u002Fdocs","docs",[222,225,244,285],{"title":223,"path":219,"stem":224},"Overview","docs\u002Findex",{"title":226,"icon":227,"path":228,"stem":229,"children":230,"page":243},"Getting Started","i-lucide-rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[231,235,239],{"title":232,"path":233,"stem":234},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F01.introduction",{"title":236,"path":237,"stem":238},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F02.installation",{"title":240,"path":241,"stem":242},"Menus and shortcuts","\u002Fdocs\u002Fgetting-started\u002Fmenus-and-shortcuts","docs\u002F1.getting-started\u002F03.menus-and-shortcuts",false,{"title":245,"icon":246,"path":247,"stem":248,"children":249,"page":243},"Guides","i-lucide-route","\u002Fdocs\u002Fguides","docs\u002F2.guides",[250,254,258,264,268,272,276,277,278,279,281],{"title":251,"path":252,"stem":253},"First site crawl","\u002Fdocs\u002Fguides\u002Ffirst-site-crawl","docs\u002F2.guides\u002F01.first-site-crawl",{"title":255,"path":256,"stem":257},"Read and fix findings","\u002Fdocs\u002Fguides\u002Fread-and-fix-findings","docs\u002F2.guides\u002F02.read-and-fix-findings",{"title":259,"path":260,"stem":261,"children":262},"Indexability audit","\u002Fdocs\u002Fguides\u002Findexability-audit","docs\u002F2.guides\u002F03.indexability-audit",[263],{"title":259,"path":260,"stem":261},{"title":265,"path":266,"stem":267},"Server logs and bot hits","\u002Fdocs\u002Fguides\u002Fserver-logs-and-bot-hits","docs\u002F2.guides\u002F04.server-logs-and-bot-hits",{"title":269,"path":270,"stem":271},"Compare and export","\u002Fdocs\u002Fguides\u002Fcompare-and-export","docs\u002F2.guides\u002F05.compare-and-export",{"title":273,"path":274,"stem":275},"Export and reports","\u002Fdocs\u002Fguides\u002Fexport-and-reports","docs\u002F2.guides\u002F06.export-and-reports",{"title":209,"path":210,"stem":211},{"title":5,"path":203,"stem":205},{"title":164,"path":163,"stem":214},{"title":17,"path":16,"stem":280},"docs\u002F2.guides\u002F10.license-and-updates",{"title":282,"path":283,"stem":284},"Import external data","\u002Fdocs\u002Fguides\u002Fimport-search-console-and-analytics-data","docs\u002F2.guides\u002F11.import-search-console-and-analytics-data",{"title":286,"icon":287,"path":288,"stem":289,"children":290,"page":243},"Pages","i-lucide-layout-dashboard","\u002Fdocs\u002Fpages","docs\u002F3.pages",[291,353,357,361,365,369,373,377,381,385,389],{"title":292,"icon":293,"path":294,"stem":295,"children":296,"page":243},"Crawl","i-lucide-bug","\u002Fdocs\u002Fpages\u002Fcrawl","docs\u002F3.pages\u002F01.crawl",[297,300,303,307,313,317,321,325,329,333,337,341,345,349],{"title":292,"path":298,"stem":299},"\u002Fdocs\u002Fpages\u002Fcrawl\u002Foverview","docs\u002F3.pages\u002F01.crawl\u002F01.overview",{"title":286,"path":301,"stem":302},"\u002Fdocs\u002Fpages\u002Fcrawl\u002Fpages","docs\u002F3.pages\u002F01.crawl\u002F02.pages",{"title":304,"path":305,"stem":306},"On-page","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fon-page","docs\u002F3.pages\u002F01.crawl\u002F03.on-page",{"title":308,"path":309,"stem":310,"children":311},"Indexing","\u002Fdocs\u002Fpages\u002Fcrawl\u002Findexing","docs\u002F3.pages\u002F01.crawl\u002F04.indexing",[312],{"title":308,"path":309,"stem":310},{"title":314,"path":315,"stem":316},"Links","\u002Fdocs\u002Fpages\u002Fcrawl\u002Flinks","docs\u002F3.pages\u002F01.crawl\u002F05.links",{"title":318,"path":319,"stem":320},"Server","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fserver","docs\u002F3.pages\u002F01.crawl\u002F06.server",{"title":322,"path":323,"stem":324},"Rendering","\u002Fdocs\u002Fpages\u002Fcrawl\u002Frendering","docs\u002F3.pages\u002F01.crawl\u002F07.rendering",{"title":326,"path":327,"stem":328},"Markup","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fmarkup","docs\u002F3.pages\u002F01.crawl\u002F08.markup",{"title":330,"path":331,"stem":332},"AI readiness","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fai-readiness","docs\u002F3.pages\u002F01.crawl\u002F09.ai-readiness",{"title":334,"path":335,"stem":336},"Your rules","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fyour-rules","docs\u002F3.pages\u002F01.crawl\u002F10.your-rules",{"title":338,"path":339,"stem":340},"Findings","\u002Fdocs\u002Fpages\u002Fcrawl\u002Ffindings","docs\u002F3.pages\u002F01.crawl\u002F11.findings",{"title":342,"path":343,"stem":344},"Details dock","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fdetails-dock","docs\u002F3.pages\u002F01.crawl\u002F12.details-dock",{"title":346,"path":347,"stem":348},"Configuration","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fconfiguration","docs\u002F3.pages\u002F01.crawl\u002F13.configuration",{"title":350,"path":351,"stem":352},"Dialogs and imports","\u002Fdocs\u002Fpages\u002Fcrawl\u002Fdialogs-and-imports","docs\u002F3.pages\u002F01.crawl\u002F14.dialogs-and-imports",{"title":354,"path":355,"stem":356},"AI pages","\u002Fdocs\u002Fpages\u002Fai-pages","docs\u002F3.pages\u002F02.ai-pages",{"title":358,"path":359,"stem":360},"URL list","\u002Fdocs\u002Fpages\u002Furl-list","docs\u002F3.pages\u002F03.url-list",{"title":362,"path":363,"stem":364},"Snippet preview","\u002Fdocs\u002Fpages\u002Fsnippet-preview","docs\u002F3.pages\u002F04.snippet-preview",{"title":366,"path":367,"stem":368},"Compare crawls","\u002Fdocs\u002Fpages\u002Fcompare-crawls","docs\u002F3.pages\u002F05.compare-crawls",{"title":370,"path":371,"stem":372},"Visualise","\u002Fdocs\u002Fpages\u002Fvisualise","docs\u002F3.pages\u002F06.visualise",{"title":374,"path":375,"stem":376},"Download","\u002Fdocs\u002Fpages\u002Fdownload","docs\u002F3.pages\u002F07.download",{"title":378,"path":379,"stem":380},"History","\u002Fdocs\u002Fpages\u002Fhistory","docs\u002F3.pages\u002F08.history",{"title":382,"path":383,"stem":384},"Scheduler","\u002Fdocs\u002Fpages\u002Fscheduler","docs\u002F3.pages\u002F09.scheduler",{"title":386,"path":387,"stem":388},"Plugins","\u002Fdocs\u002Fpages\u002Fplugins","docs\u002F3.pages\u002F10.plugins",{"title":390,"icon":391,"path":392,"stem":393,"children":394,"page":243},"Settings","i-lucide-settings","\u002Fdocs\u002Fpages\u002Fsettings","docs\u002F3.pages\u002F11.settings",[395,398,402,405,407,409,413,417,421,425],{"title":390,"path":396,"stem":397},"\u002Fdocs\u002Fpages\u002Fsettings\u002Foverview","docs\u002F3.pages\u002F11.settings\u002F01.overview",{"title":399,"path":400,"stem":401},"Appearance","\u002Fdocs\u002Fpages\u002Fsettings\u002Fappearance","docs\u002F3.pages\u002F11.settings\u002F02.appearance",{"title":322,"path":403,"stem":404},"\u002Fdocs\u002Fpages\u002Fsettings\u002Frendering","docs\u002F3.pages\u002F11.settings\u002F03.rendering",{"title":37,"path":36,"stem":406},"docs\u002F3.pages\u002F11.settings\u002F04.mcp-server",{"title":185,"path":184,"stem":408},"docs\u002F3.pages\u002F11.settings\u002F05.cli",{"title":410,"path":411,"stem":412},"Background service","\u002Fdocs\u002Fpages\u002Fsettings\u002Fbackground-service","docs\u002F3.pages\u002F11.settings\u002F06.background-service",{"title":414,"path":415,"stem":416},"Data & Storage","\u002Fdocs\u002Fpages\u002Fsettings\u002Fdata-and-storage","docs\u002F3.pages\u002F11.settings\u002F07.data-and-storage",{"title":418,"path":419,"stem":420},"Crawl defaults","\u002Fdocs\u002Fpages\u002Fsettings\u002Fcrawl-defaults","docs\u002F3.pages\u002F11.settings\u002F08.crawl-defaults",{"title":422,"path":423,"stem":424},"License","\u002Fdocs\u002Fpages\u002Fsettings\u002Flicense","docs\u002F3.pages\u002F11.settings\u002F09.license",{"title":426,"path":427,"stem":428},"About and updates","\u002Fdocs\u002Fpages\u002Fsettings\u002Fabout-and-updates","docs\u002F3.pages\u002F11.settings\u002F10.about-and-updates",1796123213672,"40387158-6a0b-4134-9388-f266f9b0697f"]