@venizia/ignis-docs 0.0.1-2 → 0.0.1-4
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 +408 -2
- package/mcp-server/dist/common/config.js +4 -4
- package/mcp-server/dist/common/index.d.ts +2 -2
- package/mcp-server/dist/common/paths.js +11 -11
- package/mcp-server/dist/helpers/docs.helper.js +10 -10
- package/mcp-server/dist/helpers/index.d.ts +2 -2
- package/mcp-server/dist/index.js +8 -8
- package/mcp-server/dist/tools/base.tool.d.ts +2 -2
- package/mcp-server/dist/tools/get-doc-content.tool.d.ts +2 -2
- package/mcp-server/dist/tools/get-doc-content.tool.js +4 -4
- package/mcp-server/dist/tools/get-doc-metadata.tool.d.ts +2 -2
- package/mcp-server/dist/tools/get-doc-metadata.tool.js +9 -9
- package/mcp-server/dist/tools/index.d.ts +7 -7
- package/mcp-server/dist/tools/list-categories.tool.d.ts +2 -2
- package/mcp-server/dist/tools/list-categories.tool.js +3 -3
- package/mcp-server/dist/tools/list-docs.tool.d.ts +2 -2
- package/mcp-server/dist/tools/list-docs.tool.js +6 -6
- package/mcp-server/dist/tools/search-docs.tool.d.ts +2 -2
- package/mcp-server/dist/tools/search-docs.tool.js +6 -6
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -21,13 +21,15 @@ Add to your Claude Desktop config (`claude_desktop_config.json`):
|
|
|
21
21
|
{
|
|
22
22
|
"mcpServers": {
|
|
23
23
|
"ignis-docs": {
|
|
24
|
-
"command": "
|
|
25
|
-
"args": ["@venizia/ignis-docs"]
|
|
24
|
+
"command": "bunx",
|
|
25
|
+
"args": ["@venizia/ignis-docs@latest"]
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
+
You can also `npx` for alternative
|
|
32
|
+
|
|
31
33
|
## Available MCP Tools
|
|
32
34
|
|
|
33
35
|
| Tool | Description |
|
|
@@ -51,3 +53,407 @@ Ignis brings together the structured, enterprise development experience of **Loo
|
|
|
51
53
|
## License
|
|
52
54
|
|
|
53
55
|
MIT
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## MCP Docs Server | PROMP REQUEST:
|
|
60
|
+
|
|
61
|
+
**Question:** With Bun runtime + package management, create a monorepo project, "packages" is root folder of contain another project folder. Inside "packages" have two folder "be" and "fe". Just implement be with best practice ignis framework.
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
## Plan: Create Bun Workspace Monorepo with Production-Ready Ignis Backend
|
|
65
|
+
|
|
66
|
+
## User Requirements ✅
|
|
67
|
+
- **Backend Scope**: Production Starter Kit (CRUD API + Authentication + Components)
|
|
68
|
+
- **Components**: Swagger (API Docs), Health Check, Authentication (JWT)
|
|
69
|
+
- **Frontend**: Empty placeholder with basic package.json
|
|
70
|
+
- **Architecture**: Follow Ignis best practices
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Implementation Plan
|
|
75
|
+
|
|
76
|
+
### 1. Root Monorepo Setup
|
|
77
|
+
|
|
78
|
+
**Files to create:**
|
|
79
|
+
- `package.json` - Root workspace configuration
|
|
80
|
+
- `.gitignore` - Ignore node_modules, dist, .env files
|
|
81
|
+
- `README.md` - Project documentation
|
|
82
|
+
|
|
83
|
+
**Root package.json structure:**
|
|
84
|
+
```json
|
|
85
|
+
{
|
|
86
|
+
"name": "ignis-monorepo",
|
|
87
|
+
"version": "1.0.0",
|
|
88
|
+
"private": true,
|
|
89
|
+
"workspaces": ["packages/*"],
|
|
90
|
+
"scripts": {
|
|
91
|
+
"be:dev": "bun --cwd packages/be run server:dev",
|
|
92
|
+
"be:build": "bun --cwd packages/be run build",
|
|
93
|
+
"be:lint": "bun --cwd packages/be run lint"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### 2. Backend Package Structure (`packages/be/`)
|
|
101
|
+
|
|
102
|
+
**Directory structure:**
|
|
103
|
+
```
|
|
104
|
+
packages/be/
|
|
105
|
+
├── package.json
|
|
106
|
+
├── tsconfig.json
|
|
107
|
+
├── .prettierrc.mjs
|
|
108
|
+
├── .prettierignore
|
|
109
|
+
├── eslint.config.mjs
|
|
110
|
+
├── .env.example
|
|
111
|
+
├── scripts/
|
|
112
|
+
│ └── clean.sh
|
|
113
|
+
└── src/
|
|
114
|
+
├── index.ts # Entry point
|
|
115
|
+
├── application.ts # Main application class
|
|
116
|
+
├── migration.ts # Drizzle migration config
|
|
117
|
+
├── controllers/
|
|
118
|
+
│ ├── hello.controller.ts
|
|
119
|
+
│ └── todo.controller.ts
|
|
120
|
+
├── services/
|
|
121
|
+
│ └── authentication.service.ts
|
|
122
|
+
├── repositories/
|
|
123
|
+
│ └── todo.repository.ts
|
|
124
|
+
├── datasources/
|
|
125
|
+
│ └── postgres.datasource.ts
|
|
126
|
+
└── models/
|
|
127
|
+
└── todo.model.ts
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Key decisions:**
|
|
131
|
+
- PostgreSQL for database (as recommended in Ignis docs)
|
|
132
|
+
- Todo CRUD as example implementation
|
|
133
|
+
- JWT authentication with custom AuthenticationService
|
|
134
|
+
- All three components: Swagger, Health Check, Authentication
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
### 3. Backend Dependencies
|
|
139
|
+
|
|
140
|
+
**Production dependencies:**
|
|
141
|
+
```bash
|
|
142
|
+
bun add hono @hono/zod-openapi @scalar/hono-api-reference @venizia/ignis dotenv-flow
|
|
143
|
+
bun add drizzle-orm drizzle-zod pg lodash
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
**Development dependencies:**
|
|
147
|
+
```bash
|
|
148
|
+
bun add -d typescript @types/bun @venizia/dev-configs tsc-alias tsconfig-paths
|
|
149
|
+
bun add -d drizzle-kit @types/pg @types/lodash
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
### 4. Configuration Files
|
|
155
|
+
|
|
156
|
+
**tsconfig.json:**
|
|
157
|
+
- Extend from `@venizia/dev-configs/tsconfig.common.json`
|
|
158
|
+
- Configure path aliases: `@/*` → `src/*`
|
|
159
|
+
- Output to `dist/`
|
|
160
|
+
|
|
161
|
+
**.prettierrc.mjs:**
|
|
162
|
+
- Import from `@venizia/dev-configs`
|
|
163
|
+
|
|
164
|
+
**eslint.config.mjs:**
|
|
165
|
+
- Import from `@venizia/dev-configs`
|
|
166
|
+
|
|
167
|
+
**.env.example:**
|
|
168
|
+
```env
|
|
169
|
+
# Application
|
|
170
|
+
HOST=0.0.0.0
|
|
171
|
+
PORT=3000
|
|
172
|
+
APP_ENV_APPLICATION_NAME=ignis-backend
|
|
173
|
+
|
|
174
|
+
# Database
|
|
175
|
+
APP_ENV_POSTGRES_HOST=localhost
|
|
176
|
+
APP_ENV_POSTGRES_PORT=5432
|
|
177
|
+
APP_ENV_POSTGRES_USERNAME=postgres
|
|
178
|
+
APP_ENV_POSTGRES_PASSWORD=your_password
|
|
179
|
+
APP_ENV_POSTGRES_DATABASE=ignis_db
|
|
180
|
+
|
|
181
|
+
# Authentication (REQUIRED - Generate strong secrets!)
|
|
182
|
+
APP_ENV_APPLICATION_SECRET=your-strong-application-secret-here
|
|
183
|
+
APP_ENV_JWT_SECRET=your-strong-jwt-secret-here
|
|
184
|
+
APP_ENV_JWT_EXPIRES_IN=86400
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
### 5. Core Implementation Files
|
|
190
|
+
|
|
191
|
+
#### `src/application.ts`
|
|
192
|
+
**Features:**
|
|
193
|
+
- Register PostgresDataSource
|
|
194
|
+
- Register TodoRepository
|
|
195
|
+
- Register TodoController, HelloController
|
|
196
|
+
- Register AuthenticationService
|
|
197
|
+
- Register all 3 components: HealthCheckComponent, SwaggerComponent, AuthenticateComponent
|
|
198
|
+
- Register JWTAuthenticationStrategy
|
|
199
|
+
- Configure app with base path `/api`
|
|
200
|
+
|
|
201
|
+
#### `src/models/todo.model.ts`
|
|
202
|
+
**Schema:**
|
|
203
|
+
- `id` (UUID, auto-generated)
|
|
204
|
+
- `title` (text, required)
|
|
205
|
+
- `description` (text, optional)
|
|
206
|
+
- `isCompleted` (boolean, default false)
|
|
207
|
+
- `createdAt`, `modifiedAt` (timestamps, auto-generated)
|
|
208
|
+
|
|
209
|
+
#### `src/datasources/postgres.datasource.ts`
|
|
210
|
+
**Features:**
|
|
211
|
+
- Connect to PostgreSQL using environment variables
|
|
212
|
+
- Register Todo model schema
|
|
213
|
+
- Implement connect/disconnect lifecycle
|
|
214
|
+
|
|
215
|
+
#### `src/repositories/todo.repository.ts`
|
|
216
|
+
**Features:**
|
|
217
|
+
- Extend `DefaultCRUDRepository<TTodoSchema>`
|
|
218
|
+
- Inject PostgresDataSource
|
|
219
|
+
|
|
220
|
+
#### `src/controllers/todo.controller.ts`
|
|
221
|
+
**Features:**
|
|
222
|
+
- Use `ControllerFactory.defineCrudController()` for auto-generated CRUD endpoints
|
|
223
|
+
- Base path: `/todos`
|
|
224
|
+
- All operations protected by JWT (optional - can be added later)
|
|
225
|
+
|
|
226
|
+
#### `src/controllers/hello.controller.ts`
|
|
227
|
+
**Features:**
|
|
228
|
+
- Simple GET `/hello` endpoint
|
|
229
|
+
- Returns `{ message: "Hello, World!" }`
|
|
230
|
+
- OpenAPI schema with Zod
|
|
231
|
+
|
|
232
|
+
#### `src/services/authentication.service.ts`
|
|
233
|
+
**Features:**
|
|
234
|
+
- Implement `IAuthService` interface
|
|
235
|
+
- `signIn()` method with hardcoded test credentials (test_username / test_password)
|
|
236
|
+
- Generate JWT using JWTTokenService
|
|
237
|
+
- TODO comments for production implementation (database lookup, password hashing)
|
|
238
|
+
|
|
239
|
+
#### `src/migration.ts`
|
|
240
|
+
**Features:**
|
|
241
|
+
- Drizzle Kit configuration
|
|
242
|
+
- Point to todo.model.ts
|
|
243
|
+
- Use PostgreSQL dialect
|
|
244
|
+
- Connection from environment variables
|
|
245
|
+
|
|
246
|
+
#### `src/index.ts`
|
|
247
|
+
**Features:**
|
|
248
|
+
- Import dotenv-flow
|
|
249
|
+
- Create Application instance
|
|
250
|
+
- Start server
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
### 6. Frontend Package Structure (`packages/fe/`)
|
|
255
|
+
|
|
256
|
+
**Minimal setup:**
|
|
257
|
+
```
|
|
258
|
+
packages/fe/
|
|
259
|
+
├── package.json
|
|
260
|
+
└── README.md
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
**package.json:**
|
|
264
|
+
```json
|
|
265
|
+
{
|
|
266
|
+
"name": "@ignis-monorepo/fe",
|
|
267
|
+
"version": "1.0.0",
|
|
268
|
+
"private": true,
|
|
269
|
+
"description": "Frontend application - framework to be determined"
|
|
270
|
+
}
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
**README.md:**
|
|
274
|
+
```markdown
|
|
275
|
+
# Frontend Application
|
|
276
|
+
|
|
277
|
+
This folder is prepared for the frontend application.
|
|
278
|
+
|
|
279
|
+
## Next Steps
|
|
280
|
+
- Choose your framework (React, Vue, Svelte, etc.)
|
|
281
|
+
- Run framework setup command
|
|
282
|
+
- Configure to work with backend at http://localhost:3000/api
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
### 7. Scripts and Utilities
|
|
288
|
+
|
|
289
|
+
**packages/be/scripts/clean.sh:**
|
|
290
|
+
- Remove `dist/`, `*.tsbuildinfo`, `.eslintcache`
|
|
291
|
+
- Remove `artifact.zip`
|
|
292
|
+
|
|
293
|
+
**packages/be/package.json scripts:**
|
|
294
|
+
```json
|
|
295
|
+
{
|
|
296
|
+
"lint": "bun run eslint && bun run prettier:cli",
|
|
297
|
+
"lint:fix": "bun run eslint --fix && bun run prettier:fix",
|
|
298
|
+
"prettier:cli": "prettier \"**/*.{js,ts}\" -l",
|
|
299
|
+
"prettier:fix": "bun run prettier:cli --write",
|
|
300
|
+
"eslint": "eslint --report-unused-disable-directives .",
|
|
301
|
+
"build": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
|
|
302
|
+
"clean": "sh ./scripts/clean.sh",
|
|
303
|
+
"rebuild": "bun run clean && bun run build",
|
|
304
|
+
"migrate:dev": "NODE_ENV=development drizzle-kit push --config=src/migration.ts",
|
|
305
|
+
"generate-migration:dev": "NODE_ENV=development drizzle-kit generate --config=src/migration.ts",
|
|
306
|
+
"preserver:dev": "bun run rebuild",
|
|
307
|
+
"server:dev": "NODE_ENV=development bun .",
|
|
308
|
+
"server:prod": "NODE_ENV=production bun ."
|
|
309
|
+
}
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
### 8. Post-Setup Instructions
|
|
315
|
+
|
|
316
|
+
**After implementation, user needs to:**
|
|
317
|
+
|
|
318
|
+
1. **Create PostgreSQL database:**
|
|
319
|
+
```bash
|
|
320
|
+
psql -U postgres
|
|
321
|
+
CREATE DATABASE ignis_db;
|
|
322
|
+
\q
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
2. **Copy .env.example to .env and configure:**
|
|
326
|
+
```bash
|
|
327
|
+
cd packages/be
|
|
328
|
+
cp .env.example .env
|
|
329
|
+
# Edit .env with your database credentials and secrets
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
3. **Generate strong secrets:**
|
|
333
|
+
```bash
|
|
334
|
+
# Use these commands to generate secrets:
|
|
335
|
+
openssl rand -base64 32 # For APP_ENV_APPLICATION_SECRET
|
|
336
|
+
openssl rand -base64 32 # For APP_ENV_JWT_SECRET
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
4. **Install dependencies:**
|
|
340
|
+
```bash
|
|
341
|
+
bun install
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
5. **Run database migration:**
|
|
345
|
+
```bash
|
|
346
|
+
bun run be:dev # This will run migration automatically via preserver:dev
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
6. **Test the API:**
|
|
350
|
+
- Health check: `http://localhost:3000/health`
|
|
351
|
+
- API docs: `http://localhost:3000/doc/explorer`
|
|
352
|
+
- Hello endpoint: `http://localhost:3000/api/hello`
|
|
353
|
+
- Sign in: `POST http://localhost:3000/api/auth/sign-in` with `{"identifier": {"value": "test_username"}, "credential": {"value": "test_password"}}`
|
|
354
|
+
- Todos CRUD: `http://localhost:3000/api/todos`
|
|
355
|
+
|
|
356
|
+
---
|
|
357
|
+
|
|
358
|
+
### 9. Available Endpoints
|
|
359
|
+
|
|
360
|
+
After setup, the following endpoints will be available:
|
|
361
|
+
|
|
362
|
+
| Method | Path | Description | Auth Required |
|
|
363
|
+
|--------|------|-------------|---------------|
|
|
364
|
+
| `GET` | `/health` | Health check | No |
|
|
365
|
+
| `POST` | `/health/ping` | Ping-pong test | No |
|
|
366
|
+
| `GET` | `/doc/explorer` | Swagger UI (Scalar) | No |
|
|
367
|
+
| `GET` | `/doc/openapi.json` | OpenAPI spec | No |
|
|
368
|
+
| `GET` | `/api/hello` | Hello world | No |
|
|
369
|
+
| `POST` | `/api/auth/sign-in` | JWT login | No |
|
|
370
|
+
| `GET` | `/api/todos` | List todos | No* |
|
|
371
|
+
| `POST` | `/api/todos` | Create todo | No* |
|
|
372
|
+
| `GET` | `/api/todos/:id` | Get todo | No* |
|
|
373
|
+
| `PATCH` | `/api/todos/:id` | Update todo | No* |
|
|
374
|
+
| `DELETE` | `/api/todos/:id` | Delete todo | No* |
|
|
375
|
+
|
|
376
|
+
*Note: Todo endpoints can be easily protected with JWT by adding `authStrategies: [Authentication.STRATEGY_JWT]` to route configs*
|
|
377
|
+
|
|
378
|
+
---
|
|
379
|
+
|
|
380
|
+
### 10. Critical Files to Create
|
|
381
|
+
|
|
382
|
+
**Root level:**
|
|
383
|
+
1. `package.json` - Workspace config
|
|
384
|
+
2. `.gitignore` - Git ignore patterns
|
|
385
|
+
3. `README.md` - Project documentation
|
|
386
|
+
|
|
387
|
+
**packages/be/:**
|
|
388
|
+
1. `package.json` - Backend dependencies and scripts
|
|
389
|
+
2. `tsconfig.json` - TypeScript configuration
|
|
390
|
+
3. `.prettierrc.mjs` - Prettier config
|
|
391
|
+
4. `.prettierignore` - Prettier ignore patterns
|
|
392
|
+
5. `eslint.config.mjs` - ESLint config
|
|
393
|
+
6. `.env.example` - Environment variable template
|
|
394
|
+
7. `scripts/clean.sh` - Cleanup script
|
|
395
|
+
8. `src/index.ts` - Entry point
|
|
396
|
+
9. `src/application.ts` - Main application class
|
|
397
|
+
10. `src/migration.ts` - Database migration config
|
|
398
|
+
11. `src/models/todo.model.ts` - Todo model
|
|
399
|
+
12. `src/datasources/postgres.datasource.ts` - Database connection
|
|
400
|
+
13. `src/repositories/todo.repository.ts` - Todo data access
|
|
401
|
+
14. `src/controllers/todo.controller.ts` - Todo API endpoints
|
|
402
|
+
15. `src/controllers/hello.controller.ts` - Hello endpoint
|
|
403
|
+
16. `src/services/authentication.service.ts` - Auth logic
|
|
404
|
+
|
|
405
|
+
**packages/fe/:**
|
|
406
|
+
1. `package.json` - Frontend package placeholder
|
|
407
|
+
2. `README.md` - Frontend setup instructions
|
|
408
|
+
|
|
409
|
+
---
|
|
410
|
+
|
|
411
|
+
## Architecture Summary
|
|
412
|
+
|
|
413
|
+
```
|
|
414
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
415
|
+
│ HTTP Requests │
|
|
416
|
+
└──────────────────────┬──────────────────────────────────────┘
|
|
417
|
+
│
|
|
418
|
+
▼
|
|
419
|
+
┌─────────────────────────┐
|
|
420
|
+
│ Components Layer │
|
|
421
|
+
│ • HealthCheckComponent │
|
|
422
|
+
│ • SwaggerComponent │
|
|
423
|
+
│ • AuthenticateComponent│
|
|
424
|
+
└────────────┬────────────┘
|
|
425
|
+
│
|
|
426
|
+
▼
|
|
427
|
+
┌─────────────────────────┐
|
|
428
|
+
│ Controllers Layer │
|
|
429
|
+
│ • HelloController │
|
|
430
|
+
│ • TodoController │
|
|
431
|
+
│ • (Auth auto-registered)│
|
|
432
|
+
└────────────┬────────────┘
|
|
433
|
+
│
|
|
434
|
+
▼
|
|
435
|
+
┌─────────────────────────┐
|
|
436
|
+
│ Services Layer │
|
|
437
|
+
│ • AuthenticationService│
|
|
438
|
+
│ • (Business logic) │
|
|
439
|
+
└────────────┬────────────┘
|
|
440
|
+
│
|
|
441
|
+
▼
|
|
442
|
+
┌─────────────────────────┐
|
|
443
|
+
│ Repositories Layer │
|
|
444
|
+
│ • TodoRepository │
|
|
445
|
+
└────────────┬────────────┘
|
|
446
|
+
│
|
|
447
|
+
▼
|
|
448
|
+
┌─────────────────────────┐
|
|
449
|
+
│ DataSources Layer │
|
|
450
|
+
│ • PostgresDataSource │
|
|
451
|
+
└────────────┬────────────┘
|
|
452
|
+
│
|
|
453
|
+
▼
|
|
454
|
+
┌─────────────────────────┐
|
|
455
|
+
│ PostgreSQL DB │
|
|
456
|
+
└─────────────────────────┘
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
This follows Ignis layered architecture best practices with clear separation of concerns.
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MCP_CONFIG = void 0;
|
|
4
4
|
exports.MCP_CONFIG = {
|
|
5
5
|
server: {
|
|
6
|
-
name:
|
|
7
|
-
version:
|
|
6
|
+
name: 'ignis-docs',
|
|
7
|
+
version: '0.0.1',
|
|
8
8
|
},
|
|
9
9
|
search: {
|
|
10
10
|
snippetLength: 300,
|
|
@@ -19,8 +19,8 @@ exports.MCP_CONFIG = {
|
|
|
19
19
|
findAllMatches: true,
|
|
20
20
|
ignoreLocation: true,
|
|
21
21
|
keys: [
|
|
22
|
-
{ name:
|
|
23
|
-
{ name:
|
|
22
|
+
{ name: 'title', weight: 0.7 },
|
|
23
|
+
{ name: 'content', weight: 0.3 },
|
|
24
24
|
],
|
|
25
25
|
},
|
|
26
26
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './paths';
|
|
2
|
+
export * from './config';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,18 +8,18 @@ const node_path_1 = __importDefault(require("node:path"));
|
|
|
8
8
|
const MCP_ROOT = __dirname;
|
|
9
9
|
// When compiled, __dirname is mcp-server/dist/common
|
|
10
10
|
// Go up 3 levels to reach package root: common -> dist -> mcp-server -> docs
|
|
11
|
-
const DOCS_ROOT = node_path_1.default.resolve(MCP_ROOT,
|
|
11
|
+
const DOCS_ROOT = node_path_1.default.resolve(MCP_ROOT, '..', '..', '..');
|
|
12
12
|
class Paths {
|
|
13
|
-
static { this.WIKI = node_path_1.default.join(DOCS_ROOT,
|
|
14
|
-
static { this.GET_STARTED = node_path_1.default.join(this.WIKI,
|
|
15
|
-
static { this.BEST_PRACTICES = node_path_1.default.join(this.GET_STARTED,
|
|
16
|
-
static { this.CORE_CONCEPTS = node_path_1.default.join(this.GET_STARTED,
|
|
17
|
-
static { this.REFERENCES = node_path_1.default.join(this.WIKI,
|
|
18
|
-
static { this.BASE = node_path_1.default.join(this.REFERENCES,
|
|
19
|
-
static { this.COMPONENTS = node_path_1.default.join(this.REFERENCES,
|
|
20
|
-
static { this.HELPERS = node_path_1.default.join(this.REFERENCES,
|
|
21
|
-
static { this.SOURCE_DETAILS = node_path_1.default.join(this.REFERENCES,
|
|
22
|
-
static { this.UTILITIES = node_path_1.default.join(this.REFERENCES,
|
|
13
|
+
static { this.WIKI = node_path_1.default.join(DOCS_ROOT, 'wiki'); }
|
|
14
|
+
static { this.GET_STARTED = node_path_1.default.join(this.WIKI, 'get-started'); }
|
|
15
|
+
static { this.BEST_PRACTICES = node_path_1.default.join(this.GET_STARTED, 'best-practices'); }
|
|
16
|
+
static { this.CORE_CONCEPTS = node_path_1.default.join(this.GET_STARTED, 'core-concepts'); }
|
|
17
|
+
static { this.REFERENCES = node_path_1.default.join(this.WIKI, 'references'); }
|
|
18
|
+
static { this.BASE = node_path_1.default.join(this.REFERENCES, 'base'); }
|
|
19
|
+
static { this.COMPONENTS = node_path_1.default.join(this.REFERENCES, 'components'); }
|
|
20
|
+
static { this.HELPERS = node_path_1.default.join(this.REFERENCES, 'helpers'); }
|
|
21
|
+
static { this.SOURCE_DETAILS = node_path_1.default.join(this.REFERENCES, 'src-details'); }
|
|
22
|
+
static { this.UTILITIES = node_path_1.default.join(this.REFERENCES, 'utilities'); }
|
|
23
23
|
}
|
|
24
24
|
exports.Paths = Paths;
|
|
25
25
|
//# sourceMappingURL=paths.js.map
|
|
@@ -22,23 +22,23 @@ class DocsHelper {
|
|
|
22
22
|
return this._docs;
|
|
23
23
|
}
|
|
24
24
|
try {
|
|
25
|
-
const files = await (0, fast_glob_1.default)(
|
|
25
|
+
const files = await (0, fast_glob_1.default)('**/*.md', {
|
|
26
26
|
cwd: common_1.Paths.WIKI,
|
|
27
27
|
absolute: true,
|
|
28
|
-
ignore: [
|
|
28
|
+
ignore: ['node_modules'],
|
|
29
29
|
});
|
|
30
30
|
if (files.length === 0) {
|
|
31
31
|
logger_helper_1.Logger.warn(`No documentation files found in ${common_1.Paths.WIKI}`);
|
|
32
32
|
return [];
|
|
33
33
|
}
|
|
34
34
|
this._docs = await Promise.all(files.map(async (file) => {
|
|
35
|
-
const rawContent = await promises_1.default.readFile(file,
|
|
35
|
+
const rawContent = await promises_1.default.readFile(file, 'utf-8');
|
|
36
36
|
const { data, content } = (0, gray_matter_1.default)(rawContent);
|
|
37
37
|
return {
|
|
38
38
|
id: node_path_1.default.relative(common_1.Paths.WIKI, file),
|
|
39
|
-
title: data.title || node_path_1.default.basename(file,
|
|
39
|
+
title: data.title || node_path_1.default.basename(file, '.md'),
|
|
40
40
|
content,
|
|
41
|
-
category: data.category ||
|
|
41
|
+
category: data.category || 'Uncategorized',
|
|
42
42
|
filePath: file,
|
|
43
43
|
};
|
|
44
44
|
}));
|
|
@@ -50,8 +50,8 @@ class DocsHelper {
|
|
|
50
50
|
return this._docs;
|
|
51
51
|
}
|
|
52
52
|
catch (error) {
|
|
53
|
-
logger_helper_1.Logger.error(
|
|
54
|
-
throw new Error(`Documentation loading failed: ${error instanceof Error ? error.message :
|
|
53
|
+
logger_helper_1.Logger.error('Failed to load documentation:', error);
|
|
54
|
+
throw new Error(`Documentation loading failed: ${error instanceof Error ? error.message : 'Unknown error'}`);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -60,7 +60,7 @@ class DocsHelper {
|
|
|
60
60
|
static clearCache() {
|
|
61
61
|
this._docs = [];
|
|
62
62
|
this._fuse = null;
|
|
63
|
-
logger_helper_1.Logger.debug(
|
|
63
|
+
logger_helper_1.Logger.debug('Documentation cache cleared');
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Generates a smart snippet from content.
|
|
@@ -70,8 +70,8 @@ class DocsHelper {
|
|
|
70
70
|
return content;
|
|
71
71
|
}
|
|
72
72
|
const trimmed = content.substring(0, maxLength);
|
|
73
|
-
const lastSpace = trimmed.lastIndexOf(
|
|
74
|
-
return (lastSpace > 0 ? trimmed.substring(0, lastSpace) : trimmed) +
|
|
73
|
+
const lastSpace = trimmed.lastIndexOf(' ');
|
|
74
|
+
return (lastSpace > 0 ? trimmed.substring(0, lastSpace) : trimmed) + '...';
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* Searches the loaded documentation.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './docs.helper';
|
|
2
|
+
export * from './logger.helper';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/mcp-server/dist/index.js
CHANGED
|
@@ -8,8 +8,8 @@ const tools_1 = require("./tools");
|
|
|
8
8
|
// MCP SERVER CONFIGURATION
|
|
9
9
|
// ----------------------------------------------------------------------------
|
|
10
10
|
const mcpServer = new mcp_1.MCPServer({
|
|
11
|
-
name:
|
|
12
|
-
version:
|
|
11
|
+
name: 'ignis-docs',
|
|
12
|
+
version: '0.0.1',
|
|
13
13
|
// Register tools using singleton instances
|
|
14
14
|
tools: {
|
|
15
15
|
search: new tools_1.SearchDocsTool().getTool(),
|
|
@@ -28,12 +28,12 @@ const mcpServer = new mcp_1.MCPServer({
|
|
|
28
28
|
uri: `ignis://docs/${doc.id}`,
|
|
29
29
|
name: doc.title,
|
|
30
30
|
description: `${doc.category} - ${wordCount} words`,
|
|
31
|
-
mimeType:
|
|
31
|
+
mimeType: 'text/markdown',
|
|
32
32
|
};
|
|
33
33
|
});
|
|
34
34
|
},
|
|
35
35
|
getResourceContent: async ({ uri }) => {
|
|
36
|
-
const id = uri.replace(
|
|
36
|
+
const id = uri.replace('ignis://docs/', '');
|
|
37
37
|
const content = await helpers_1.DocsHelper.getDocContent({ id });
|
|
38
38
|
if (content === null) {
|
|
39
39
|
return { text: `Resource not found: ${id}` };
|
|
@@ -46,15 +46,15 @@ const mcpServer = new mcp_1.MCPServer({
|
|
|
46
46
|
// SERVER INITIALIZATION
|
|
47
47
|
// ----------------------------------------------------------------------------
|
|
48
48
|
const main = async () => {
|
|
49
|
-
helpers_1.Logger.info(
|
|
49
|
+
helpers_1.Logger.info('[main] Initializing Ignis MCP Documentation Server...');
|
|
50
50
|
try {
|
|
51
51
|
await helpers_1.DocsHelper.loadDocumentation();
|
|
52
|
-
helpers_1.Logger.info(
|
|
52
|
+
helpers_1.Logger.info('[main] Documentation loaded successfully.');
|
|
53
53
|
await mcpServer.startStdio();
|
|
54
|
-
helpers_1.Logger.info(
|
|
54
|
+
helpers_1.Logger.info('[main] Server started in Stdio mode.');
|
|
55
55
|
}
|
|
56
56
|
catch (error) {
|
|
57
|
-
helpers_1.Logger.error(
|
|
57
|
+
helpers_1.Logger.error('Fatal error:', error);
|
|
58
58
|
process.exit(1);
|
|
59
59
|
}
|
|
60
60
|
};
|
|
@@ -85,12 +85,12 @@ const InputSchema = zod_1.z.object({
|
|
|
85
85
|
id: zod_1.z.string().min(1).describe(ID_DESCRIPTION),
|
|
86
86
|
});
|
|
87
87
|
const OutputSchema = zod_1.z.object({
|
|
88
|
-
id: zod_1.z.string().describe(
|
|
88
|
+
id: zod_1.z.string().describe('The document ID that was requested.'),
|
|
89
89
|
content: zod_1.z.string().optional().describe(CONTENT_DESCRIPTION),
|
|
90
90
|
error: zod_1.z
|
|
91
91
|
.string()
|
|
92
92
|
.optional()
|
|
93
|
-
.describe(
|
|
93
|
+
.describe('Error message if document not found. Verify the ID using listDocs or searchDocs.'),
|
|
94
94
|
});
|
|
95
95
|
// ----------------------------------------------------------------------------
|
|
96
96
|
// TOOL CLASS
|
|
@@ -98,7 +98,7 @@ const OutputSchema = zod_1.z.object({
|
|
|
98
98
|
class GetDocContentTool extends base_tool_1.BaseTool {
|
|
99
99
|
constructor() {
|
|
100
100
|
super(...arguments);
|
|
101
|
-
this.id =
|
|
101
|
+
this.id = 'getDocContent';
|
|
102
102
|
this.description = TOOL_DESCRIPTION;
|
|
103
103
|
this.inputSchema = InputSchema;
|
|
104
104
|
this.outputSchema = OutputSchema;
|
|
@@ -106,7 +106,7 @@ class GetDocContentTool extends base_tool_1.BaseTool {
|
|
|
106
106
|
async execute(input) {
|
|
107
107
|
const content = await helpers_1.DocsHelper.getDocContent({ id: input.id });
|
|
108
108
|
if (!content) {
|
|
109
|
-
return { error:
|
|
109
|
+
return { error: 'Document not found', id: input.id };
|
|
110
110
|
}
|
|
111
111
|
return { content, id: input.id };
|
|
112
112
|
}
|
|
@@ -74,8 +74,8 @@ const InputSchema = zod_1.z.object({
|
|
|
74
74
|
id: zod_1.z.string().min(1).describe(ID_DESCRIPTION),
|
|
75
75
|
});
|
|
76
76
|
const OutputSchema = zod_1.z.object({
|
|
77
|
-
id: zod_1.z.string().describe(
|
|
78
|
-
title: zod_1.z.string().optional().describe(
|
|
77
|
+
id: zod_1.z.string().describe('The document ID that was requested.'),
|
|
78
|
+
title: zod_1.z.string().optional().describe('Document title from frontmatter or filename.'),
|
|
79
79
|
category: zod_1.z
|
|
80
80
|
.string()
|
|
81
81
|
.optional()
|
|
@@ -84,14 +84,14 @@ const OutputSchema = zod_1.z.object({
|
|
|
84
84
|
.number()
|
|
85
85
|
.int()
|
|
86
86
|
.optional()
|
|
87
|
-
.describe(
|
|
88
|
-
charCount: zod_1.z.number().int().optional().describe(
|
|
87
|
+
.describe('Total words. Useful for reading time estimation.'),
|
|
88
|
+
charCount: zod_1.z.number().int().optional().describe('Total characters. Useful for token estimation.'),
|
|
89
89
|
lastModified: zod_1.z
|
|
90
90
|
.string()
|
|
91
91
|
.optional()
|
|
92
|
-
.describe(
|
|
93
|
-
size: zod_1.z.number().int().optional().describe(
|
|
94
|
-
error: zod_1.z.string().optional().describe(
|
|
92
|
+
.describe('Last modified timestamp (ISO string). May be undefined.'),
|
|
93
|
+
size: zod_1.z.number().int().optional().describe('File size in bytes. May be undefined.'),
|
|
94
|
+
error: zod_1.z.string().optional().describe('Error message if document not found.'),
|
|
95
95
|
});
|
|
96
96
|
// ----------------------------------------------------------------------------
|
|
97
97
|
// TOOL CLASS
|
|
@@ -99,7 +99,7 @@ const OutputSchema = zod_1.z.object({
|
|
|
99
99
|
class GetDocMetadataTool extends base_tool_1.BaseTool {
|
|
100
100
|
constructor() {
|
|
101
101
|
super(...arguments);
|
|
102
|
-
this.id =
|
|
102
|
+
this.id = 'getDocMetadata';
|
|
103
103
|
this.description = TOOL_DESCRIPTION;
|
|
104
104
|
this.inputSchema = InputSchema;
|
|
105
105
|
this.outputSchema = OutputSchema;
|
|
@@ -107,7 +107,7 @@ class GetDocMetadataTool extends base_tool_1.BaseTool {
|
|
|
107
107
|
async execute(input) {
|
|
108
108
|
const metadata = await helpers_1.DocsHelper.getDocMetadata({ id: input.id });
|
|
109
109
|
if (!metadata) {
|
|
110
|
-
return { error:
|
|
110
|
+
return { error: 'Document not found', id: input.id };
|
|
111
111
|
}
|
|
112
112
|
return {
|
|
113
113
|
...metadata,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { BaseTool } from
|
|
2
|
-
export type { TMastraTool as MastraTool } from
|
|
3
|
-
export { SearchDocsTool } from
|
|
4
|
-
export { GetDocContentTool } from
|
|
5
|
-
export { GetDocMetadataTool } from
|
|
6
|
-
export { ListDocsTool } from
|
|
7
|
-
export { ListCategoriesTool } from
|
|
1
|
+
export { BaseTool } from './base.tool';
|
|
2
|
+
export type { TMastraTool as MastraTool } from './base.tool';
|
|
3
|
+
export { SearchDocsTool } from './search-docs.tool';
|
|
4
|
+
export { GetDocContentTool } from './get-doc-content.tool';
|
|
5
|
+
export { GetDocMetadataTool } from './get-doc-metadata.tool';
|
|
6
|
+
export { ListDocsTool } from './list-docs.tool';
|
|
7
|
+
export { ListCategoriesTool } from './list-categories.tool';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { BaseTool, type TMastraTool } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BaseTool, type TMastraTool } from './base.tool';
|
|
3
3
|
declare const InputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4
4
|
declare const OutputSchema: z.ZodObject<{
|
|
5
5
|
count: z.ZodNumber;
|
|
@@ -68,9 +68,9 @@ Pass any category name to listDocs(category) to filter documents by that categor
|
|
|
68
68
|
// ----------------------------------------------------------------------------
|
|
69
69
|
// SCHEMAS
|
|
70
70
|
// ----------------------------------------------------------------------------
|
|
71
|
-
const InputSchema = zod_1.z.object({}).describe(
|
|
71
|
+
const InputSchema = zod_1.z.object({}).describe('No input parameters required.');
|
|
72
72
|
const OutputSchema = zod_1.z.object({
|
|
73
|
-
count: zod_1.z.number().int().describe(
|
|
73
|
+
count: zod_1.z.number().int().describe('Total number of unique categories.'),
|
|
74
74
|
categories: zod_1.z.array(zod_1.z.string()).describe(CATEGORIES_DESCRIPTION),
|
|
75
75
|
});
|
|
76
76
|
// ----------------------------------------------------------------------------
|
|
@@ -79,7 +79,7 @@ const OutputSchema = zod_1.z.object({
|
|
|
79
79
|
class ListCategoriesTool extends base_tool_1.BaseTool {
|
|
80
80
|
constructor() {
|
|
81
81
|
super(...arguments);
|
|
82
|
-
this.id =
|
|
82
|
+
this.id = 'listCategories';
|
|
83
83
|
this.description = TOOL_DESCRIPTION;
|
|
84
84
|
this.inputSchema = InputSchema;
|
|
85
85
|
this.outputSchema = OutputSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { BaseTool, type TMastraTool } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BaseTool, type TMastraTool } from './base.tool';
|
|
3
3
|
declare const InputSchema: z.ZodObject<{
|
|
4
4
|
category: z.ZodOptional<z.ZodString>;
|
|
5
5
|
}, z.core.$strip>;
|
|
@@ -78,16 +78,16 @@ TIP: If unsure of exact category name, call listCategories first or omit this pa
|
|
|
78
78
|
const DocEntrySchema = zod_1.z.object({
|
|
79
79
|
id: zod_1.z
|
|
80
80
|
.string()
|
|
81
|
-
.describe(
|
|
82
|
-
title: zod_1.z.string().describe(
|
|
83
|
-
category: zod_1.z.string().describe(
|
|
81
|
+
.describe('Document ID (relative file path). Use with getDocContent or getDocMetadata.'),
|
|
82
|
+
title: zod_1.z.string().describe('Document title from frontmatter or filename.'),
|
|
83
|
+
category: zod_1.z.string().describe('Document category for organizational grouping.'),
|
|
84
84
|
});
|
|
85
85
|
const InputSchema = zod_1.z.object({
|
|
86
86
|
category: zod_1.z.string().optional().describe(CATEGORY_DESCRIPTION),
|
|
87
87
|
});
|
|
88
88
|
const OutputSchema = zod_1.z.object({
|
|
89
|
-
count: zod_1.z.number().int().describe(
|
|
90
|
-
docs: zod_1.z.array(DocEntrySchema).describe(
|
|
89
|
+
count: zod_1.z.number().int().describe('Total documents returned. Reflects filter if applied.'),
|
|
90
|
+
docs: zod_1.z.array(DocEntrySchema).describe('Document entries with id, title, and category.'),
|
|
91
91
|
});
|
|
92
92
|
// ----------------------------------------------------------------------------
|
|
93
93
|
// TOOL CLASS
|
|
@@ -95,7 +95,7 @@ const OutputSchema = zod_1.z.object({
|
|
|
95
95
|
class ListDocsTool extends base_tool_1.BaseTool {
|
|
96
96
|
constructor() {
|
|
97
97
|
super(...arguments);
|
|
98
|
-
this.id =
|
|
98
|
+
this.id = 'listDocs';
|
|
99
99
|
this.description = TOOL_DESCRIPTION;
|
|
100
100
|
this.inputSchema = InputSchema;
|
|
101
101
|
this.outputSchema = OutputSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { BaseTool, type TMastraTool } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BaseTool, type TMastraTool } from './base.tool';
|
|
3
3
|
declare const InputSchema: z.ZodObject<{
|
|
4
4
|
query: z.ZodString;
|
|
5
5
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -70,11 +70,11 @@ RECOMMENDATIONS:
|
|
|
70
70
|
const SearchResultSchema = zod_1.z.object({
|
|
71
71
|
id: zod_1.z
|
|
72
72
|
.string()
|
|
73
|
-
.describe(
|
|
74
|
-
title: zod_1.z.string().describe(
|
|
73
|
+
.describe('Unique document identifier (relative file path). Use with getDocContent to retrieve full document.'),
|
|
74
|
+
title: zod_1.z.string().describe('Human-readable document title from frontmatter or filename.'),
|
|
75
75
|
category: zod_1.z.string().describe('Document category (e.g., "Getting Started", "References").'),
|
|
76
|
-
snippet: zod_1.z.string().describe(
|
|
77
|
-
score: zod_1.z.number().optional().describe(
|
|
76
|
+
snippet: zod_1.z.string().describe('Content preview (max 300 chars) for quick assessment.'),
|
|
77
|
+
score: zod_1.z.number().optional().describe('Relevance score 0-1 (lower = better match).'),
|
|
78
78
|
});
|
|
79
79
|
const InputSchema = zod_1.z.object({
|
|
80
80
|
query: zod_1.z.string().min(common_1.MCP_CONFIG.search.minQueryLength).describe(QUERY_DESCRIPTION),
|
|
@@ -89,7 +89,7 @@ const InputSchema = zod_1.z.object({
|
|
|
89
89
|
const OutputSchema = zod_1.z.object({
|
|
90
90
|
results: zod_1.z
|
|
91
91
|
.array(SearchResultSchema)
|
|
92
|
-
.describe(
|
|
92
|
+
.describe('Search results sorted by relevance. Empty array if no matches.'),
|
|
93
93
|
});
|
|
94
94
|
// ----------------------------------------------------------------------------
|
|
95
95
|
// TOOL CLASS
|
|
@@ -97,7 +97,7 @@ const OutputSchema = zod_1.z.object({
|
|
|
97
97
|
class SearchDocsTool extends base_tool_1.BaseTool {
|
|
98
98
|
constructor() {
|
|
99
99
|
super(...arguments);
|
|
100
|
-
this.id =
|
|
100
|
+
this.id = 'searchDocs';
|
|
101
101
|
this.description = TOOL_DESCRIPTION;
|
|
102
102
|
this.inputSchema = InputSchema;
|
|
103
103
|
this.outputSchema = OutputSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venizia/ignis-docs",
|
|
3
|
-
"version": "0.0.1-
|
|
3
|
+
"version": "0.0.1-4",
|
|
4
4
|
"description": "Documentation and MCP Server for Ignis Framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ignis",
|
|
@@ -53,14 +53,15 @@
|
|
|
53
53
|
"prettier:fix": "bun run prettier:cli --write",
|
|
54
54
|
"docs:dev": "vitepress dev site",
|
|
55
55
|
"docs:clean": "sh ./scripts/docs-clean.sh",
|
|
56
|
-
"docs:build": "
|
|
56
|
+
"docs:build": "sh ./scripts/docs-build.sh",
|
|
57
57
|
"docs:preview": "vitepress preview site",
|
|
58
|
-
"
|
|
59
|
-
"mcp:
|
|
58
|
+
"rebuild": "sh ./scripts/mcp-rebuild.sh no-version",
|
|
59
|
+
"mcp:rebuild": "bun run rebuild",
|
|
60
|
+
"mcp:build": "sh ./scripts/mcp-build.sh",
|
|
60
61
|
"mcp:clean": "sh ./scripts/mcp-clean.sh",
|
|
61
62
|
"mcp:start": "bun run mcp-server/index.ts",
|
|
62
63
|
"mcp:dev": "bun --watch mcp-server/index.ts",
|
|
63
|
-
"prepublishOnly": "bun run mcp:
|
|
64
|
+
"prepublishOnly": "bun run mcp:rebuild"
|
|
64
65
|
},
|
|
65
66
|
"repository": {
|
|
66
67
|
"type": "git",
|