create-velox-app 0.6.51 → 0.6.54

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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # create-velox-app
2
2
 
3
+ ## 0.6.54
4
+
5
+ ### Patch Changes
6
+
7
+ - feat(cli): add velox mcp init command for Claude Desktop setup
8
+
9
+ ## 0.6.53
10
+
11
+ ### Patch Changes
12
+
13
+ - feat(cli): add duplicate file detection to resource generator
14
+
15
+ ## 0.6.52
16
+
17
+ ### Patch Changes
18
+
19
+ - feat(mcp): smart CLI resolution with fallbacks
20
+
3
21
  ## 0.6.51
4
22
 
5
23
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-velox-app",
3
- "version": "0.6.51",
3
+ "version": "0.6.54",
4
4
  "description": "Project scaffolder for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -416,3 +416,69 @@ velox procedures list --json
416
416
  4. Run migrations: `velox migrate run --dev`
417
417
  5. Seed data: `velox db seed --fresh`
418
418
  6. Test endpoints with Thunder Client or curl
419
+
420
+ ## AI-Powered Development with MCP
421
+
422
+ VeloxTS includes a **Model Context Protocol (MCP) server** that gives AI assistants like Claude direct access to your project structure. This enables intelligent code assistance with full awareness of your procedures, schemas, routes, and error codes.
423
+
424
+ ### What You Get
425
+
426
+ - **Resources**: Real-time project introspection (procedures, routes, schemas, errors)
427
+ - **Tools**: Code generation and database migration commands
428
+ - **Prompts**: Best practice templates for common VeloxTS tasks
429
+
430
+ ### Setup for Claude Code (CLI)
431
+
432
+ The MCP server auto-discovers VeloxTS projects:
433
+
434
+ ```bash
435
+ # Start the MCP server
436
+ npx velox-mcp
437
+
438
+ # Or with debug logging
439
+ npx velox-mcp --debug
440
+ ```
441
+
442
+ ### Setup for Claude Desktop
443
+
444
+ Add this to your Claude Desktop configuration file:
445
+
446
+ **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
447
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
448
+
449
+ ```json
450
+ {
451
+ "mcpServers": {
452
+ "veloxts": {
453
+ "command": "npx",
454
+ "args": ["@veloxts/mcp"]
455
+ }
456
+ }
457
+ }
458
+ ```
459
+
460
+ Restart Claude Desktop after adding the configuration.
461
+
462
+ ### What Claude Can Do With MCP
463
+
464
+ | Capability | Description |
465
+ |------------|-------------|
466
+ | Generate Code | Create procedures, schemas, models, resources, tests |
467
+ | Run Migrations | Check status, run, rollback, fresh, reset |
468
+ | Access Context | List procedures, routes, schemas, error codes |
469
+
470
+ ### Example Prompts
471
+
472
+ 1. **"Generate a complete CRUD resource for BlogPost with pagination"**
473
+ 2. **"Show me all my API procedures and their REST endpoints"**
474
+ 3. **"Run pending database migrations and show the status"**
475
+
476
+ ### Available MCP Resources
477
+
478
+ | Resource | Description |
479
+ |----------|-------------|
480
+ | `velox://procedures` | All procedures with types and REST mappings |
481
+ | `velox://routes` | Complete REST route table |
482
+ | `velox://schemas` | Zod validation schemas |
483
+ | `velox://errors` | Error catalog with fix suggestions |
484
+ | `velox://project` | Project metadata and file paths |
@@ -317,3 +317,69 @@ velox procedures list --json
317
317
  4. Run migrations: `velox migrate run --dev`
318
318
  5. Seed data: `velox db seed --fresh`
319
319
  6. Test endpoints with Thunder Client or curl
320
+
321
+ ## AI-Powered Development with MCP
322
+
323
+ VeloxTS includes a **Model Context Protocol (MCP) server** that gives AI assistants like Claude direct access to your project structure. This enables intelligent code assistance with full awareness of your procedures, schemas, routes, and error codes.
324
+
325
+ ### What You Get
326
+
327
+ - **Resources**: Real-time project introspection (procedures, routes, schemas, errors)
328
+ - **Tools**: Code generation and database migration commands
329
+ - **Prompts**: Best practice templates for common VeloxTS tasks
330
+
331
+ ### Setup for Claude Code (CLI)
332
+
333
+ The MCP server auto-discovers VeloxTS projects:
334
+
335
+ ```bash
336
+ # Start the MCP server
337
+ npx velox-mcp
338
+
339
+ # Or with debug logging
340
+ npx velox-mcp --debug
341
+ ```
342
+
343
+ ### Setup for Claude Desktop
344
+
345
+ Add this to your Claude Desktop configuration file:
346
+
347
+ **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
348
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
349
+
350
+ ```json
351
+ {
352
+ "mcpServers": {
353
+ "veloxts": {
354
+ "command": "npx",
355
+ "args": ["@veloxts/mcp"]
356
+ }
357
+ }
358
+ }
359
+ ```
360
+
361
+ Restart Claude Desktop after adding the configuration.
362
+
363
+ ### What Claude Can Do With MCP
364
+
365
+ | Capability | Description |
366
+ |------------|-------------|
367
+ | Generate Code | Create procedures, schemas, models, resources, tests |
368
+ | Run Migrations | Check status, run, rollback, fresh, reset |
369
+ | Access Context | List procedures, routes, schemas, error codes |
370
+
371
+ ### Example Prompts
372
+
373
+ 1. **"Generate a complete CRUD resource for BlogPost with pagination"**
374
+ 2. **"Show me all my API procedures and their REST endpoints"**
375
+ 3. **"Run pending database migrations and show the status"**
376
+
377
+ ### Available MCP Resources
378
+
379
+ | Resource | Description |
380
+ |----------|-------------|
381
+ | `velox://procedures` | All procedures with types and REST mappings |
382
+ | `velox://routes` | Complete REST route table |
383
+ | `velox://schemas` | Zod validation schemas |
384
+ | `velox://errors` | Error catalog with fix suggestions |
385
+ | `velox://project` | Project metadata and file paths |
@@ -156,3 +156,59 @@ __RUN_CMD__ start # Start production server
156
156
  - `POST /api/users` - Create user
157
157
  - `PUT /api/users/:id` - Update user
158
158
  - `DELETE /api/users/:id` - Delete user
159
+
160
+ ## AI-Powered Development with MCP
161
+
162
+ VeloxTS includes a **Model Context Protocol (MCP) server** that gives AI assistants like Claude direct access to your project structure. This enables intelligent code assistance with full awareness of your procedures, schemas, routes, and error codes.
163
+
164
+ ### What You Get
165
+
166
+ - **Resources**: Real-time project introspection (procedures, routes, schemas, errors)
167
+ - **Tools**: Code generation and database migration commands
168
+ - **Prompts**: Best practice templates for common VeloxTS tasks
169
+
170
+ ### Setup for Claude Code (CLI)
171
+
172
+ The MCP server auto-discovers VeloxTS projects:
173
+
174
+ ```bash
175
+ # Start the MCP server
176
+ npx velox-mcp
177
+
178
+ # Or with debug logging
179
+ npx velox-mcp --debug
180
+ ```
181
+
182
+ ### Setup for Claude Desktop
183
+
184
+ Add this to your Claude Desktop configuration file:
185
+
186
+ **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
187
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
188
+
189
+ ```json
190
+ {
191
+ "mcpServers": {
192
+ "veloxts": {
193
+ "command": "npx",
194
+ "args": ["@veloxts/mcp"]
195
+ }
196
+ }
197
+ }
198
+ ```
199
+
200
+ Restart Claude Desktop after adding the configuration.
201
+
202
+ ### What Claude Can Do With MCP
203
+
204
+ | Capability | Description |
205
+ |------------|-------------|
206
+ | Generate Code | Create procedures, schemas, models, resources, tests |
207
+ | Run Migrations | Check status, run, rollback, fresh, reset |
208
+ | Access Context | List procedures, routes, schemas, error codes |
209
+
210
+ ### Example Prompts
211
+
212
+ 1. **"Generate a complete CRUD resource for BlogPost with pagination"**
213
+ 2. **"Show me all my API procedures and their REST endpoints"**
214
+ 3. **"Run pending database migrations and show the status"**
@@ -228,3 +228,59 @@ JWT_REFRESH_SECRET="..."
228
228
  - `POST /api/users` - Create user
229
229
  - `PUT /api/users/:id` - Update user
230
230
  - `DELETE /api/users/:id` - Delete user
231
+
232
+ ## AI-Powered Development with MCP
233
+
234
+ VeloxTS includes a **Model Context Protocol (MCP) server** that gives AI assistants like Claude direct access to your project structure. This enables intelligent code assistance with full awareness of your procedures, schemas, routes, and error codes.
235
+
236
+ ### What You Get
237
+
238
+ - **Resources**: Real-time project introspection (procedures, routes, schemas, errors)
239
+ - **Tools**: Code generation and database migration commands
240
+ - **Prompts**: Best practice templates for common VeloxTS tasks
241
+
242
+ ### Setup for Claude Code (CLI)
243
+
244
+ The MCP server auto-discovers VeloxTS projects:
245
+
246
+ ```bash
247
+ # Start the MCP server
248
+ npx velox-mcp
249
+
250
+ # Or with debug logging
251
+ npx velox-mcp --debug
252
+ ```
253
+
254
+ ### Setup for Claude Desktop
255
+
256
+ Add this to your Claude Desktop configuration file:
257
+
258
+ **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
259
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
260
+
261
+ ```json
262
+ {
263
+ "mcpServers": {
264
+ "veloxts": {
265
+ "command": "npx",
266
+ "args": ["@veloxts/mcp"]
267
+ }
268
+ }
269
+ }
270
+ ```
271
+
272
+ Restart Claude Desktop after adding the configuration.
273
+
274
+ ### What Claude Can Do With MCP
275
+
276
+ | Capability | Description |
277
+ |------------|-------------|
278
+ | Generate Code | Create procedures, schemas, models, resources, tests |
279
+ | Run Migrations | Check status, run, rollback, fresh, reset |
280
+ | Access Context | List procedures, routes, schemas, error codes |
281
+
282
+ ### Example Prompts
283
+
284
+ 1. **"Generate a complete CRUD resource for BlogPost with pagination"**
285
+ 2. **"Show me all my API procedures and their REST endpoints"**
286
+ 3. **"Run pending database migrations and show the status"**