codebaxing 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +81 -0
- package/README.vi.md +81 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -281,6 +281,87 @@ npm install -g codebaxing
|
|
|
281
281
|
|
|
282
282
|
The Codebaxing tools will now be available in Claude.
|
|
283
283
|
|
|
284
|
+
### Other AI Agents Integration
|
|
285
|
+
|
|
286
|
+
#### Cursor
|
|
287
|
+
|
|
288
|
+
Add to Cursor settings (`~/.cursor/mcp.json`):
|
|
289
|
+
|
|
290
|
+
```json
|
|
291
|
+
{
|
|
292
|
+
"mcpServers": {
|
|
293
|
+
"codebaxing": {
|
|
294
|
+
"command": "npx",
|
|
295
|
+
"args": ["-y", "codebaxing"]
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
#### Windsurf (Codeium)
|
|
302
|
+
|
|
303
|
+
Add to Windsurf MCP config (`~/.codeium/windsurf/mcp_config.json`):
|
|
304
|
+
|
|
305
|
+
```json
|
|
306
|
+
{
|
|
307
|
+
"mcpServers": {
|
|
308
|
+
"codebaxing": {
|
|
309
|
+
"command": "npx",
|
|
310
|
+
"args": ["-y", "codebaxing"]
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
#### VS Code + Continue
|
|
317
|
+
|
|
318
|
+
Add to Continue config (`~/.continue/config.json`):
|
|
319
|
+
|
|
320
|
+
```json
|
|
321
|
+
{
|
|
322
|
+
"experimental": {
|
|
323
|
+
"modelContextProtocolServers": [
|
|
324
|
+
{
|
|
325
|
+
"transport": {
|
|
326
|
+
"type": "stdio",
|
|
327
|
+
"command": "npx",
|
|
328
|
+
"args": ["-y", "codebaxing"]
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
#### Zed
|
|
337
|
+
|
|
338
|
+
Add to Zed settings (`~/.config/zed/settings.json`):
|
|
339
|
+
|
|
340
|
+
```json
|
|
341
|
+
{
|
|
342
|
+
"context_servers": {
|
|
343
|
+
"codebaxing": {
|
|
344
|
+
"command": {
|
|
345
|
+
"path": "npx",
|
|
346
|
+
"args": ["-y", "codebaxing"]
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
#### Generic MCP Client
|
|
354
|
+
|
|
355
|
+
For any MCP-compatible client, use stdio transport:
|
|
356
|
+
|
|
357
|
+
```bash
|
|
358
|
+
# Command
|
|
359
|
+
npx -y codebaxing
|
|
360
|
+
|
|
361
|
+
# Or if installed globally
|
|
362
|
+
codebaxing
|
|
363
|
+
```
|
|
364
|
+
|
|
284
365
|
## Usage
|
|
285
366
|
|
|
286
367
|
### MCP Tools
|
package/README.vi.md
CHANGED
|
@@ -281,6 +281,87 @@ npm install -g codebaxing
|
|
|
281
281
|
|
|
282
282
|
Các tool Codebaxing sẽ có sẵn trong Claude.
|
|
283
283
|
|
|
284
|
+
### Tích hợp với AI Agents khác
|
|
285
|
+
|
|
286
|
+
#### Cursor
|
|
287
|
+
|
|
288
|
+
Thêm vào Cursor settings (`~/.cursor/mcp.json`):
|
|
289
|
+
|
|
290
|
+
```json
|
|
291
|
+
{
|
|
292
|
+
"mcpServers": {
|
|
293
|
+
"codebaxing": {
|
|
294
|
+
"command": "npx",
|
|
295
|
+
"args": ["-y", "codebaxing"]
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
#### Windsurf (Codeium)
|
|
302
|
+
|
|
303
|
+
Thêm vào Windsurf MCP config (`~/.codeium/windsurf/mcp_config.json`):
|
|
304
|
+
|
|
305
|
+
```json
|
|
306
|
+
{
|
|
307
|
+
"mcpServers": {
|
|
308
|
+
"codebaxing": {
|
|
309
|
+
"command": "npx",
|
|
310
|
+
"args": ["-y", "codebaxing"]
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
#### VS Code + Continue
|
|
317
|
+
|
|
318
|
+
Thêm vào Continue config (`~/.continue/config.json`):
|
|
319
|
+
|
|
320
|
+
```json
|
|
321
|
+
{
|
|
322
|
+
"experimental": {
|
|
323
|
+
"modelContextProtocolServers": [
|
|
324
|
+
{
|
|
325
|
+
"transport": {
|
|
326
|
+
"type": "stdio",
|
|
327
|
+
"command": "npx",
|
|
328
|
+
"args": ["-y", "codebaxing"]
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
#### Zed
|
|
337
|
+
|
|
338
|
+
Thêm vào Zed settings (`~/.config/zed/settings.json`):
|
|
339
|
+
|
|
340
|
+
```json
|
|
341
|
+
{
|
|
342
|
+
"context_servers": {
|
|
343
|
+
"codebaxing": {
|
|
344
|
+
"command": {
|
|
345
|
+
"path": "npx",
|
|
346
|
+
"args": ["-y", "codebaxing"]
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
#### MCP Client khác
|
|
354
|
+
|
|
355
|
+
Với bất kỳ MCP client nào, dùng stdio transport:
|
|
356
|
+
|
|
357
|
+
```bash
|
|
358
|
+
# Command
|
|
359
|
+
npx -y codebaxing
|
|
360
|
+
|
|
361
|
+
# Hoặc nếu đã install global
|
|
362
|
+
codebaxing
|
|
363
|
+
```
|
|
364
|
+
|
|
284
365
|
## Sử dụng
|
|
285
366
|
|
|
286
367
|
### MCP Tools
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codebaxing",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "MCP server for semantic code search. Index your codebase and search using natural language.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"@huggingface/transformers": "^3.4.1",
|
|
51
51
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
52
52
|
"chromadb": "^1.9.2",
|
|
53
|
-
"tree-sitter": "^0.
|
|
53
|
+
"tree-sitter": "^0.22.4",
|
|
54
54
|
"tree-sitter-bash": "^0.23.3",
|
|
55
55
|
"tree-sitter-c": "^0.23.4",
|
|
56
56
|
"tree-sitter-c-sharp": "^0.23.1",
|
|
57
57
|
"tree-sitter-cpp": "^0.23.4",
|
|
58
|
-
"tree-sitter-css": "^0.
|
|
58
|
+
"tree-sitter-css": "^0.23.0",
|
|
59
59
|
"tree-sitter-dart": "^1.0.0",
|
|
60
60
|
"tree-sitter-elixir": "^0.3.5",
|
|
61
61
|
"tree-sitter-go": "^0.23.4",
|
|
@@ -87,5 +87,8 @@
|
|
|
87
87
|
"tsx": "^4.19.4",
|
|
88
88
|
"typescript": "^5.8.3",
|
|
89
89
|
"vitest": "^3.1.3"
|
|
90
|
+
},
|
|
91
|
+
"overrides": {
|
|
92
|
+
"tree-sitter": "^0.22.4"
|
|
90
93
|
}
|
|
91
94
|
}
|