MCP Integration
VeloxTS includes an MCP server for AI tool integration.
What is MCP?
Section titled “What is MCP?”Model Context Protocol (MCP) allows AI assistants to access project context:
- Procedure definitions and signatures
- Schema information
- Route mappings
- Error codes and fixes
Starting the Server
Section titled “Starting the Server”velox mcpExposed Context
Section titled “Exposed Context”The MCP server provides:
{ "procedures": [...], // All procedures with types "schemas": [...], // Zod schemas "routes": [...], // REST/tRPC routes "database": {...}, // Prisma schema "errors": [...] // Error catalog}IDE Integration
Section titled “IDE Integration”VS Code / Cursor
Section titled “VS Code / Cursor”Add to .vscode/settings.json:
{ "mcp.servers": { "veloxts": { "command": "velox", "args": ["mcp"] } }}Claude Code
Section titled “Claude Code”The CLAUDE.md file provides context. MCP enhances this with live data.
Next Steps
Section titled “Next Steps”- CLI Overview - All CLI commands
- Templates - AI context files (CLAUDE.md)