Skip to content

Commit 810ec64

Browse files
committed
Add MCP server
Signed-off-by: popcorny <[email protected]>
1 parent 4ff9968 commit 810ec64

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

docs/5-data-diffing/mcp-server.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: MCP Server
3+
---
4+
5+
Recce allows you to expose its tools to AI agents for integration. Here's how to use Claude Code to integrate with Recce.
6+
7+
8+
## Method 1: MCP Server
9+
10+
To use Recce in Claude Code, add an MCP server to your project. Claude Code will launch the MCP server when the session starts.
11+
12+
1. Add Recce to your dbt project
13+
14+
```
15+
claude mcp add --scope project recce -- recce mcp-server
16+
```
17+
18+
2. Run Claude Code
19+
20+
```
21+
claude
22+
```
23+
24+
3. Ask Claude Code about your changes
25+
26+
```
27+
> Understand changes from Recce.
28+
```
29+
30+
## Method 2: MCP Server (SSE)
31+
32+
Alternatively, you can launch a standalone MCP server. Claude Code will connect to it using HTTP-SSE.
33+
34+
1. Add Recce to your dbt project
35+
36+
```
37+
claude mcp add --transport sse --scope project recce http://localhost:8000/sse
38+
```
39+
40+
2. Launch the standalone MCP server with HTTP-SSE
41+
42+
```
43+
cd my-dbt-project/
44+
recce mcp-server --sse
45+
```
46+
47+
3. Run Claude Code
48+
49+
```
50+
claude
51+
```
52+
53+
4. Ask Claude Code about your changes
54+
55+
```
56+
> Understand changes from Recce.
57+
```

0 commit comments

Comments
 (0)