This feature is available exclusively as part of the Pro plan. Please refer to our pricing page for more information about our plans and features.
What MCP servers add to reviews
When MCP servers are connected, CodeRabbit can draw on external context beyond the code itself. Supported integrations include:- Documentation and knowledge bases — Internal docs, wikis, and reference material
- Project management tools — Issues, tickets, and project specs
- Design tools — Figma designs and related design assets
- Any tool with an MCP server — If a tool publishes an MCP server, CodeRabbit can connect to it without waiting for a formal integration
How CodeRabbit uses MCP during analysis
CodeRabbit acts as the MCP client — it ingests data from your connected MCP servers, not the other way around. During a code review or chat interaction, CodeRabbit:Gathers context
Automatically calls relevant MCP tools to collect additional review context from your connected data sources
Enhances comments
Validates and enriches suggested review comments with the information retrieved
Supports chat
Accesses your organization’s knowledge bases and documentation when responding to PR chat questions
Stays transparent
Lists the tools it used under “Additional context used” in the review walkthrough
{repo} or {pr} that tell CodeRabbit exactly where to look for each pull request. See User guidance for the full reference and examples.
Examples of MCP server types
Based on the integrations described in the CodeRabbit documentation, common categories of MCP servers you can connect include:| Category | Examples |
|---|---|
| Documentation systems | Internal wikis, Confluence spaces, Context7 |
| Design tools | Figma files and design assets |
| Project management | Issue trackers, project boards |
| Knowledge bases | Team knowledge bases and reference documentation |
This approach unlocks integrations without waiting for formal CodeRabbit support. If a tool has an MCP server, CodeRabbit can connect to it.
Configuration
MCP servers must be added through the CodeRabbit web interface before they can be used. Go to app.coderabbit.ai/integrations, and click Add MCP Integration. For full setup instructions, see Integrate MCP servers.
knowledge_base.mcp section of your .coderabbit.yaml file:
.coderabbit.yaml
- The
usagefield (auto|enabled|disabled) Controls whether MCP servers are used as a knowledge source.autodisables MCP for public repositories. Useenabledto activate for all repositories, ordisabledto turn off entirely. - The
disabled_serversfield allows you to selectively disable specific servers by name.