Connect to the n8n docs MCP server
The n8n documentation publishes two Model Context Protocol (MCP) servers. Connect an AI tool to a server to let it search n8n's knowledge and answer your questions as you work.
The two servers draw on different sources, so pick the one that fits how you want your AI tool to answer:
GitBook docs server
The published n8n docs only
Searching and reading exact documentation pages. The docs are the single, authoritative source.
Kapa.ai server
The docs, the community forum, and the n8n blog
Broader questions that the docs alone don't cover, such as troubleshooting and real-world examples. This is the same engine that powers the AI Assistant on the docs site.
You can connect both. Use the GitBook server when you want answers grounded in the docs, and the Kapa.ai server when you want answers drawn from n8n's wider knowledge base.
Both servers use HTTP transport, so your AI tool needs to support remote MCP servers over HTTP. Neither supports stdio or SSE.
MCP server URLs
Use the endpoint for the server you want:
GitBook docs server
https://docs.n8n.io/~gitbook/mcp
Kapa.ai server
https://n8n.mcp.kapa.ai
Connect your AI tool
The steps differ by tool, but each one needs a server URL from above. The following examples set up both servers. To connect only one, keep the entry you want and remove the other.
Claude Code
Run these commands in your terminal:
Cursor
Add the servers to your mcp.json file:
VS Code
Add the servers to your mcp.json file:
Other tools
For any other MCP client, add a new remote (HTTP) server in its MCP settings and enter a server URL:
After you connect, your tool can search n8n's knowledge as you work.
Related resources
Last updated
Was this helpful?