Skip to main content

Docs MCP server

Page summary:

A Docs MCP server exposes the Strapi documentation to AI coding tools. Connect it to your IDE to get Strapi-aware code suggestions and answers directly in your development environment.

The Docs MCP (Model Context Protocol) server is powered by Kapa, the same service behind the Ask AI button on the documentation website. It draws from the full Strapi documentation, including guides, API references, and code examples. The Docs MCP server is part of the AI tools for developers that Strapi offers.

MCP servers for Strapi

Strapi offers 2 different MCP servers:

  • the Docs MCP server, covered on the present page,
  • and the Strapi MCP server for content management, covered on its dedicated feature page.

Compatible tools

The MCP server works with any tool that supports the MCP protocol, including:

Connection details

When opening the Ask AI window, you should see a Use MCP dropdown in the top right corner. Click on it and choose which tool you'd like to connect:

Ask AI modal with Use MCP options highlightedAsk AI modal with Use MCP options highlighted

If manual MCP server configuration is required:

  1. Click the Copy MCP URL from the dropdown. The server URL should be: https://strapi-docs.mcp.kapa.ai

  2. Add the server to your IDE's MCP configuration file:

    Add to your .cursor/mcp.json file:

    .cursor/mcp.json
    {
    "mcpServers": {
    "strapi-docs": {
    "url": "https://strapi-docs.mcp.kapa.ai"
    }
    }
    }

Once connected, your AI coding assistant can query the Strapi documentation directly to answer questions, suggest implementations, and verify API usage.

Tip

For docs-related questions, start your prompts with Use the strapi-docs MCP server to answer:. This will ensure the tool queries docs.strapi.io instead of returning answers based on its training data, which can be outdated.