mcmodding-mcp 0.2.2 → 0.3.0
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 +43 -0
- package/dist/cli/{install.d.ts → manage.d.ts} +1 -1
- package/dist/cli/manage.d.ts.map +1 -0
- package/dist/cli/manage.js +749 -0
- package/dist/cli/manage.js.map +1 -0
- package/dist/db-versioning.d.ts +1 -1
- package/dist/db-versioning.d.ts.map +1 -1
- package/dist/db-versioning.js +14 -6
- package/dist/db-versioning.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/indexer/store.d.ts +15 -0
- package/dist/indexer/store.d.ts.map +1 -1
- package/dist/indexer/store.js +44 -26
- package/dist/indexer/store.js.map +1 -1
- package/dist/services/example-service.d.ts +2 -1
- package/dist/services/example-service.d.ts.map +1 -1
- package/dist/services/example-service.js +71 -3
- package/dist/services/example-service.js.map +1 -1
- package/dist/services/search-service.js +3 -3
- package/dist/services/search-service.js.map +1 -1
- package/dist/services/search-utils.d.ts.map +1 -1
- package/dist/services/search-utils.js +66 -9
- package/dist/services/search-utils.js.map +1 -1
- package/dist/tools/getExample.d.ts +1 -1
- package/dist/tools/getExample.d.ts.map +1 -1
- package/dist/tools/getExample.js +2 -2
- package/dist/tools/getExample.js.map +1 -1
- package/package.json +1 -1
- package/scripts/postinstall.js +36 -18
- package/dist/cli/install.d.ts.map +0 -1
- package/dist/cli/install.js +0 -397
- package/dist/cli/install.js.map +0 -1
package/README.md
CHANGED
|
@@ -64,6 +64,42 @@ That's it! Your AI assistant now has access to Minecraft modding documentation.
|
|
|
64
64
|
|
|
65
65
|
---
|
|
66
66
|
|
|
67
|
+
## Database Management
|
|
68
|
+
|
|
69
|
+
Manage your documentation databases with the built-in CLI:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Run the database manager
|
|
73
|
+
npx mcmodding-mcp manage
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The interactive manager allows you to:
|
|
77
|
+
|
|
78
|
+
- **Install** - Download databases you don't have yet
|
|
79
|
+
- **Update** - Check for and apply database updates
|
|
80
|
+
- **Re-download** - Restore deleted or corrupted databases
|
|
81
|
+
|
|
82
|
+
### Available Databases
|
|
83
|
+
|
|
84
|
+
| Database | Description | Size |
|
|
85
|
+
| -------------------------- | ----------------------------------------------------------- | ------- |
|
|
86
|
+
| **Documentation Database** | Core Fabric & NeoForge documentation (installed by default) | ~520 MB |
|
|
87
|
+
| **Mod Examples Database** | 1000+ high-quality modding examples | ~30 MB |
|
|
88
|
+
|
|
89
|
+
The manager shows version information and highlights available updates:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
◉ 📚 Documentation Database [core]
|
|
93
|
+
✔ Installed: v0.2.1 → ↻ Update: v0.2.2 [52.3 MB]
|
|
94
|
+
Core Fabric & NeoForge documentation - installed by default
|
|
95
|
+
|
|
96
|
+
○ 🧩 Mod Examples Database
|
|
97
|
+
⚠ Not installed → Available: v0.1.0 [28.1 MB]
|
|
98
|
+
1000+ high-quality modding examples for Fabric & NeoForge
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
67
103
|
## Available Tools
|
|
68
104
|
|
|
69
105
|
The MCP server provides four powerful tools:
|
|
@@ -186,6 +222,9 @@ npm run format # Prettier formatting
|
|
|
186
222
|
npm run build # Build TypeScript
|
|
187
223
|
npm run build:prod # Build with fresh documentation index
|
|
188
224
|
npm run index-docs # Index documentation with embeddings
|
|
225
|
+
|
|
226
|
+
# Database Management
|
|
227
|
+
npx mcmodding-mcp manage # Interactive database installer/updater
|
|
189
228
|
```
|
|
190
229
|
|
|
191
230
|
### Project Structure
|
|
@@ -317,6 +356,10 @@ We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
|
317
356
|
|
|
318
357
|
MIT License - see [LICENSE](LICENSE) for details.
|
|
319
358
|
|
|
359
|
+
## Changelog
|
|
360
|
+
|
|
361
|
+
See [CHANGELOG.md](CHANGELOG.md) for a detailed history of changes and releases.
|
|
362
|
+
|
|
320
363
|
---
|
|
321
364
|
|
|
322
365
|
## Acknowledgments
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare function runInstaller(): Promise<void>;
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=manage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../src/cli/manage.ts"],"names":[],"mappings":"AAs0BA,wBAAsB,YAAY,kBAoKjC"}
|