Skip to content

fixing lint errors #492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 8, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added mcp doc
  • Loading branch information
edgarcerecerez committed Aug 8, 2025
commit 8d19387fef38d04d30005a2db334d1b05535285c
52 changes: 52 additions & 0 deletions docs/context-enrichment/mcp-server-integrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: MCP integrations
description: MCP integrations allow CodeRabbit to access your documentation, project management tools, knowledge bases, Figma designs, and more.

---
:::caution
Pro feature — Early Access only
:::

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:

- Code reviews
- The validation step for code suggestions
- Chat in the PR

Use the MCP integration as a way to access your documentation, project management tools, knowledge bases, Figma designs, and more.

## Considerations

A few things to keep in mind:

- CodeRabbit acts as the MCP client, not the server. It ingests data.
- The constraint is understanding what MCP data can be helpful for code reviews. See above for how CodeRabbit uses MCP data.
- 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.

## Setup

### Configuration steps

1. Navigate to Integrations Page within your CodeRabbit app settings and select the new MCP Server tab
2. To add a new MCP server, click "Add MCP Integration" and provide your server connection details along with the name
3. Complete the authentication process for your MCP server
4. Enable or disable individual MCP tools for each server

## How it works

### During code reviews

CodeRabbit automatically calls relevant MCP tools during analysis to:

* Gather additional review context.
* Validate and enhance suggested review comments.

Enhanced review comments will include enriched insights while maintaining your existing workflow. Tools used during analysis are listed under "Additional context used."

### In chat interactions

MCP integration enhances chat by:

* Retrieving contextual information based on discussion topics
* Accessing external documentation and knowledge bases

11 changes: 9 additions & 2 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const sidebars: SidebarsConfig = {
{
type: "category",
collapsed: true,
label: "Review local changes",
label: "IDE extensions",
items: [
"guides/about-vscode",
"guides/install-vscode",
Expand All @@ -137,6 +137,14 @@ const sidebars: SidebarsConfig = {
"guides/uninstall-vscode",
],
},
{
type: "category",
collapsed: true,
label: "Context enrichment",
items: [
"context-enrichment/mcp-server-integrations",
],
},
{
type: "category",
collapsed: true,
Expand Down Expand Up @@ -226,7 +234,6 @@ const sidebars: SidebarsConfig = {
"overview/why-coderabbit",
"faq",
"early-access",
"future-development",
"changelog",
],
},
Expand Down
Loading