Skip to content

MCP Integration

The Velox TS MCP (Model Context Protocol) server exposes your procedure definitions, schemas, route mappings, and error codes to AI tools like Claude Code, giving them rich context about your API without manually explaining your codebase.

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.