composter-cli 1.0.5 → 1.0.8
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 +40 -17
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -314,38 +314,61 @@ npm dependencies are tracked with versions from your `package.json`:
|
|
|
314
314
|
|
|
315
315
|
## 🤖 AI Integration (MCP)
|
|
316
316
|
|
|
317
|
-
|
|
317
|
+
Let AI assistants like **Claude**, **Cursor**, and **GitHub Copilot** access your vault via MCP.
|
|
318
318
|
|
|
319
|
-
###
|
|
319
|
+
### One-Command Setup
|
|
320
320
|
|
|
321
|
-
|
|
322
|
-
- **Cursor** — Native MCP integration
|
|
323
|
-
- **VS Code + Copilot** — Via MCP extension
|
|
321
|
+
Login once, then auto-configure your IDE/assistant:
|
|
324
322
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|------|-------------|
|
|
329
|
-
| `search_components` | Search your vault by name or category |
|
|
330
|
-
| `read_component` | Read full source code of any component |
|
|
323
|
+
```bash
|
|
324
|
+
# Login (if you haven't)
|
|
325
|
+
composter login
|
|
331
326
|
|
|
332
|
-
|
|
327
|
+
# Auto-configure (pick one)
|
|
328
|
+
npx composter-mcp init claude # Claude Desktop
|
|
329
|
+
npx composter-mcp init cursor # Cursor
|
|
330
|
+
npx composter-mcp init vscode # VS Code (Copilot)
|
|
331
|
+
npx composter-mcp init windsurf # Windsurf
|
|
332
|
+
```
|
|
333
333
|
|
|
334
|
-
|
|
334
|
+
Then restart your AI assistant — done!
|
|
335
335
|
|
|
336
|
+
#### Manual config (if you prefer)
|
|
336
337
|
```json
|
|
337
338
|
{
|
|
338
339
|
"mcpServers": {
|
|
339
340
|
"composter": {
|
|
340
|
-
"command": "
|
|
341
|
-
"args": ["
|
|
342
|
-
"cwd": "/path/to/Composter"
|
|
341
|
+
"command": "npx",
|
|
342
|
+
"args": ["composter-mcp"]
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
|
|
348
|
+
Config file locations:
|
|
349
|
+
- Cursor: `.cursor/mcp.json` (project root)
|
|
350
|
+
- VS Code: `.vscode/mcp.json` (project root)
|
|
351
|
+
- Claude Desktop (Linux): `~/.config/claude/claude_desktop_config.json`
|
|
352
|
+
- Claude Desktop (macOS): `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
353
|
+
- Claude Desktop (Windows): `%APPDATA%\\Claude\\claude_desktop_config.json`
|
|
354
|
+
- Windsurf: `~/.codeium/windsurf/mcp_config.json`
|
|
355
|
+
|
|
356
|
+
### Available AI Tools
|
|
357
|
+
|
|
358
|
+
| Tool | Description |
|
|
359
|
+
|------|-------------|
|
|
360
|
+
| `search_components` | Search your vault by name or category |
|
|
361
|
+
| `list_categories` | List all your categories |
|
|
362
|
+
| `list_components` | List components in a category |
|
|
363
|
+
| `read_component` | Read full source code of a component |
|
|
364
|
+
|
|
365
|
+
### Example Prompts
|
|
366
|
+
|
|
367
|
+
- *"Search my Composter vault for button components"*
|
|
368
|
+
- *"What categories do I have in Composter?"*
|
|
369
|
+
- *"Read the DataTable component from my ui category"*
|
|
370
|
+
|
|
371
|
+
📖 [Full MCP Documentation](https://www.npmjs.com/package/composter-mcp)
|
|
349
372
|
|
|
350
373
|
---
|
|
351
374
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "composter-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Your personal vault for React components. Push, pull, and sync reusable components across projects — like shadcn/ui but for YOUR code.",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -20,9 +20,7 @@
|
|
|
20
20
|
"component-library",
|
|
21
21
|
"code-sharing",
|
|
22
22
|
"developer-tools",
|
|
23
|
-
"productivity"
|
|
24
|
-
"mcp",
|
|
25
|
-
"ai-tools"
|
|
23
|
+
"productivity"
|
|
26
24
|
],
|
|
27
25
|
"author": "binit2-1",
|
|
28
26
|
"license": "MIT",
|