Skip to content

MCP Integration

VeloxTS includes an MCP server for AI tool integration.

Model Context Protocol (MCP) allows AI assistants to access project context:

  • Procedure definitions and signatures
  • Schema information
  • Route mappings
  • Error codes and fixes
Terminal window
velox mcp

The MCP server provides:

{
"procedures": [...], // All procedures with types
"schemas": [...], // Zod schemas
"routes": [...], // REST/tRPC routes
"database": {...}, // Prisma schema
"errors": [...] // Error catalog
}

Add to .vscode/settings.json:

{
"mcp.servers": {
"veloxts": {
"command": "velox",
"args": ["mcp"]
}
}
}

The CLAUDE.md file provides context. MCP enhances this with live data.