Skip to content

Commit 8d19387

Browse files
added mcp doc
1 parent 73af18a commit 8d19387

File tree

2 files changed

+61
-2
lines changed

2 files changed

+61
-2
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: MCP integrations
3+
description: MCP integrations allow CodeRabbit to access your documentation, project management tools, knowledge bases, Figma designs, and more.
4+
5+
---
6+
:::caution
7+
Pro feature — Early Access only
8+
:::
9+
10+
You can enable CodeRabbit to connect to external tools and data sources through the Model Context Protocol (MCP) integration. This allows CodeRabbit to serve as the client, and grants it with richer contextual understanding for:
11+
12+
- Code reviews
13+
- The validation step for code suggestions
14+
- Chat in the PR
15+
16+
Use the MCP integration as a way to access your documentation, project management tools, knowledge bases, Figma designs, and more.
17+
18+
## Considerations
19+
20+
A few things to keep in mind:
21+
22+
- CodeRabbit acts as the MCP client, not the server. It ingests data.
23+
- The constraint is understanding what MCP data can be helpful for code reviews. See above for how CodeRabbit uses MCP data.
24+
- This approach unlocks integrations in a way that wasn’t possible before. You don’t have to wait for CodeRabbit to have a formal integration, if it has an MCP server, we can connect to it.
25+
26+
## Setup
27+
28+
### Configuration steps
29+
30+
1. Navigate to Integrations Page within your CodeRabbit app settings and select the new MCP Server tab
31+
2. To add a new MCP server, click "Add MCP Integration" and provide your server connection details along with the name
32+
3. Complete the authentication process for your MCP server
33+
4. Enable or disable individual MCP tools for each server
34+
35+
## How it works
36+
37+
### During code reviews
38+
39+
CodeRabbit automatically calls relevant MCP tools during analysis to:
40+
41+
* Gather additional review context.
42+
* Validate and enhance suggested review comments.
43+
44+
Enhanced review comments will include enriched insights while maintaining your existing workflow. Tools used during analysis are listed under "Additional context used."
45+
46+
### In chat interactions
47+
48+
MCP integration enhances chat by:
49+
50+
* Retrieving contextual information based on discussion topics
51+
* Accessing external documentation and knowledge bases
52+

sidebars.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const sidebars: SidebarsConfig = {
127127
{
128128
type: "category",
129129
collapsed: true,
130-
label: "Review local changes",
130+
label: "IDE extensions",
131131
items: [
132132
"guides/about-vscode",
133133
"guides/install-vscode",
@@ -137,6 +137,14 @@ const sidebars: SidebarsConfig = {
137137
"guides/uninstall-vscode",
138138
],
139139
},
140+
{
141+
type: "category",
142+
collapsed: true,
143+
label: "Context enrichment",
144+
items: [
145+
"context-enrichment/mcp-server-integrations",
146+
],
147+
},
140148
{
141149
type: "category",
142150
collapsed: true,
@@ -226,7 +234,6 @@ const sidebars: SidebarsConfig = {
226234
"overview/why-coderabbit",
227235
"faq",
228236
"early-access",
229-
"future-development",
230237
"changelog",
231238
],
232239
},

0 commit comments

Comments
 (0)