MCP integrations is a Pro feature in Beta.
What MCP integration enables
Code reviews
Enhanced analysis with external context and documentation
Code suggestions
Improved validation using your organization’s knowledge
PR chat
Access to relevant documentation and project information
Supported integrations
Access your documentation, project management tools, knowledge bases, Figma designs, and more through MCP servers.Considerations
CodeRabbit as MCP client: CodeRabbit acts as the MCP client, not the server. It ingests data from your connected MCP servers.
Data relevance: Consider what MCP data will be helpful for code reviews. CodeRabbit uses this data for analysis, validation, and chat interactions.
Faster integrations: This approach unlocks integrations without waiting for formal CodeRabbit support. If a tool has an MCP server, CodeRabbit can connect to it.
Setup
1
Navigate to integrations
Go to the Integrations page within your CodeRabbit app settings and select the MCP Server tab.
2
Add MCP integration
Click Add MCP Integration and provide your server connection details along with a descriptive name.
3
Complete authentication
Complete the authentication process for your MCP server following the prompts.
4
Configure tools
Enable or disable individual MCP tools for each server based on your needs.
How it works
CodeRabbit automatically calls relevant MCP tools during analysis to:
Gather context
Collects additional review context from your connected data sources
Enhance comments
Validates and enriches suggested review comments with relevant information
Enhanced review comments will include enriched insights while maintaining your existing workflow. Tools used during analysis are listed under “Additional context used.”