Skip to main content
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.
MCP (Model Context Protocol) servers are a knowledge source that CodeRabbit can query during reviews and chat. By connecting MCP servers to CodeRabbit, you give it access to context from your external tools — such as documentation systems, design files, and project management platforms — so that review comments and chat responses reflect your organization’s full context.

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
This makes review comments more relevant to your team’s standards and project context.

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
CodeRabbit searches your connected MCP tools automatically, but some tools organize their resources in ways that hard to be discovered without a hint—for example, Jenkins Organization Folders or SonarQube projects with custom key formats. In those cases you can supply user guidance: URL patterns with placeholders like {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:
CategoryExamples
Documentation systemsInternal wikis, Confluence spaces, Context7
Design toolsFigma files and design assets
Project managementIssue trackers, project boards
Knowledge basesTeam 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.
Once an MCP server is connected, control its usage with the knowledge_base.mcp section of your .coderabbit.yaml file:
.coderabbit.yaml
knowledge_base:
  mcp:
    usage: auto
    disabled_servers:
      - my-disabled-server
  • The usage field (auto | enabled | disabled) Controls whether MCP servers are used as a knowledge source. auto disables MCP for public repositories. Use enabled to activate for all repositories, or disabled to turn off entirely.
  • The disabled_servers field allows you to selectively disable specific servers by name.
For instructions on connecting and configuring MCP servers in the CodeRabbit app, see Integrate MCP servers.

What’s next