You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-33Lines changed: 4 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# 🦡 codebadger-toolkit
1
+
# 🦡 codebadger
2
2
3
3
A containerized Model Context Protocol (MCP) server providing static code analysis using Joern's Code Property Graph (CPG) technology with support for Java, C/C++, JavaScript, Python, Go, Kotlin, C#, Ghidra, Jimple, PHP, Ruby, and Swift.
4
4
@@ -25,16 +25,12 @@ python --version
25
25
```bash
26
26
# Create a virtual environment (optional but recommended)
27
27
python -m venv venv
28
-
source venv/bin/activate # On Windows: venv\Scripts\activate
29
28
30
29
# Install dependencies
31
30
pip install -r requirements.txt
32
31
```
33
32
34
33
### 2. Start the Docker Services (Joern)
35
-
36
-
```bash
37
-
docker compose up -d
38
34
```
39
35
40
36
This starts:
@@ -64,7 +60,6 @@ The MCP server will be available at `http://localhost:4242`.
64
60
65
61
# Stop Docker services
66
62
docker-compose down
67
-
68
63
# Optional: Clean up everything
69
64
bash cleanup.sh
70
65
```
@@ -101,19 +96,17 @@ Edit the MCP configuration file for VS Code (GitHub Copilot):
101
96
{
102
97
"inputs": [],
103
98
"servers": {
104
-
"codebadger-toolkit": {
105
99
"url": "http://localhost:4242/mcp",
106
100
"type": "http"
107
101
}
108
102
}
109
103
}
110
104
```
111
-
112
105
---
113
106
114
107
### Claude Code Integration
115
108
116
-
To integrate `codebadger-toolkit` into **Claude Desktop**, edit:
109
+
To integrate `codebadger` into **Claude Desktop**, edit:
117
110
118
111
**Path:**
119
112
@@ -126,7 +119,7 @@ Add the following:
126
119
```json
127
120
{
128
121
"mcpServers": {
129
-
"codebadger-toolkit": {
122
+
"codebadger": {
130
123
"url": "http://localhost:4242/mcp",
131
124
"type": "http"
132
125
}
@@ -135,7 +128,6 @@ Add the following:
135
128
```
136
129
137
130
## Available Tools
138
-
139
131
### Core Tools (hash-based)
140
132
-`generate_cpg`: Generate a CPG for a codebase (from local path or GitHub URL)
141
133
-`get_cpg_status`: Get status and existence of a CPG by `codebase_hash`
0 commit comments