1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
This is a Model Context Protocol (MCP) server for CodeBank, allowing AI agents to interact with code bases and generate code bank summaries.
Make sure you have Rust and Cargo installed, then install the `cb-mcp` binary by running:
```bash
cargo install codebank
```
The binary will be in `~/.cargo/bin/cb-mcp`.
Please add the following to your the mcp config of cursor or claude:
```json
"cb-mcp": {
"command": "/Path/to/cb-mcp",
"args": [
]
}
```
Your mcp client will run the following command (if they didn't, you can run it manually):
```bash
cb-mcp stdio
```
This allows AI agents to interact with the server through standard input/output.
Please add the following to your the mcp config of cursor or claude:
```json
"cb-mcp": {
```
Run as an MCP server in SSE (Server-Sent Events) mode on a specific port:
```bash
cb-mcp sse --port 3000
```
This starts a web server that AI agents can interact with.
When running in server mode, the following tools are available to AI agents:
- -
CodeBank supports different generation strategies:
- --