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 server at
https://strapi-docs.mcp.kapa.airequires OAuth. A request without a bearer token, including MCPinitialize, returns 401. Protected-resource metadata is published athttps://strapi-docs.mcp.kapa.ai/.well-known/oauth-protected-resource.
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.
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:
- Cursor
- VS Code with GitHub Copilot
- Claude Code
- Windsurf
- Any other MCP-compatible IDE or tool
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:

If manual MCP server configuration is required:
-
Click the Copy MCP URL from the dropdown. The server URL should be:
https://strapi-docs.mcp.kapa.ai -
Add the server to your tool's MCP configuration:
- Cursor
- VS Code
- Claude Code
- Windsurf
Add to your
.cursor/mcp.jsonfile:.cursor/mcp.json{
"mcpServers": {
"strapi-docs": {
"url": "https://strapi-docs.mcp.kapa.ai"
}
}
}Add to your
.vscode/mcp.jsonfile:.vscode/mcp.json{
"servers": {
"strapi-docs": {
"type": "http",
"url": "https://strapi-docs.mcp.kapa.ai"
}
}
}Run the following command in your terminal:
claude mcp add --transport http strapi-docs https://strapi-docs.mcp.kapa.aiThen run
/mcpin Claude Code and follow the steps in your browser to log in.Add to your
~/.codeium/windsurf/mcp_config.jsonfile:~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"strapi-docs": {
"serverUrl": "https://strapi-docs.mcp.kapa.ai"
}
}
}
Authentication
The Docs MCP server requires OAuth. A request without a bearer token, including the MCP initialize method, returns HTTP 401. OAuth protected-resource metadata is published at https://strapi-docs.mcp.kapa.ai/.well-known/oauth-protected-resource.
That metadata names the authorization server https://mcp.kapa.ai/auth/public, the openid scope, and bearer tokens in the Authorization header.
Available tools
The Docs MCP server exposes the following tools to connected AI clients:
| Tool | Parameters | Description |
|---|---|---|
search_strapi_knowledge_sources | query | Searches the Strapi documentation and other Strapi knowledge sources, and returns the most relevant snippets with their source URL. The query is a complete natural-language sentence. |
give_feedback | message, category, and optional context, severity, and tool_name | Sends feedback to the Strapi team. category is product, documentation, mcp_server, or other. severity is high, medium, or low. |
Once connected, your AI coding assistant can query the Strapi documentation directly to answer questions, suggest implementations, and verify API usage.
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.