Commit 660627e
authored
Add charmbracelet crush client integration (#403)
**What I did**
Add crush client integration to MCP Toolkit.
<img width="1015" height="772" alt="Screenshot 2026-02-13 at 12 35 26 PM" src="https://github.com/user-attachments/assets/6e00e4d4-ded0-4e52-afab-7ac3d75998d2" />
**Testing**
* Connected via pinata
```
cat ~/.config/crush/crush.json
─────┬───────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /Users/justin/.config/crush/crush.json
─────┼───────────────────────────────────────────────────────────────────────────────────────────────────
1 │ {"mcp":{"MCP_DOCKER":{"command":"docker","args":["mcp","gateway","run","--profile","default"],"typ
│ e":"stdio"}}}
```
```
What mcp tools are available
✓ Bash ./bin/docker-mcp tools list
stat /Users/justin/Projects/mcp-gateway/bin/docker-mcp: no such file or directory
Exit code 127
✓ Bash docker mcp tools list 2>&1 || make docker-mcp && docker mcp tools list 2>&1
77 tools:
- API-create-a-comment - Create A Comment
- API-create-a-data-source - Create A Data Source
- API-delete-a-block - Delete A Block
- API-get-block-children - Get Block Children
- API-get-self - Get Self
- API-get-user - Get User
- API-get-users - Get Users
- API-list-data-source-templates - List Data Source Templates
- API-move-page - Move Page
… (149 lines hidden) [click or space to expand]
You have 77 MCP tools available from various servers:
## Gateway Management Tools
• mcp-add - Add new MCP server to session
• mcp-remove - Remove MCP server from registry
• mcp-find - Search for servers in catalog
• mcp-exec - Execute a tool in current session
• mcp-config-set - Configure MCP server settings
• mcp-create-profile - Save current gateway state
• mcp-activate-profile - Load a saved profile
## GitHub Tools (~40 tools)
• Issue management: create, read, update, comment, search issues
• Pull requests: create, read, update, merge, review PRs
• Repository: create, fork, search repos
• Files: get/create/update/delete files, push changes
• Branches/Tags: list, create branches and tags
• Releases: list, get releases
• Teams: get teams and members
• Code search: search code, users, repos
## Notion Tools (~15 tools)
• Pages: create, retrieve, update, move, search pages
• Blocks: get, update, delete, patch block children
• Databases: retrieve database info
• Data Sources: create, query, update data sources
• Comments: create and retrieve comments
• Users: get user info
...
```
* Connected via CLI
```
❯ docker mcp client connect crush --profile default
=== Project-wide MCP Configurations (/Users/justin/Projects/mcp-gateway) ===
● claude-code: disconnected
● crush: connected
MCP_DOCKER: Docker MCP Catalog (gateway server) (stdio)
● cursor: no mcp configured
● kiro: no mcp configured
● vscode: no mcp configured
You might have to restart 'crush'.
Tip: Your client is now connected! Use docker mcp tools ls to see your available tools
```
**Related issue**
<!-- If this is a bug fix, make sure your description includes "fixes #xxxx", or "closes #xxxx" -->
**(not mandatory) A picture of a cute animal, if possible in relation to what you did**1 parent 06f3eaf commit 660627e
File tree
6 files changed
+39
-13
lines changed- docs/generator/reference
- pkg/client
6 files changed
+39
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
269 | 287 | | |
270 | 288 | | |
271 | 289 | | |
| |||
300 | 318 | | |
301 | 319 | | |
302 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
303 | 329 | | |
0 commit comments