AI Agent Integration
Voltfast ships a built-in MCP server so AI agents can scaffold frontend projects without human interaction — generating config files and install commands on demand.
The MCP server never writes to disk. Every tool returns file contents and install commands for the agent to apply — keeping the agent in full control of the filesystem.
Installation
Claude Code
RECOMMENDEDRun this command once to register the server globally — available in every project session.
Claude Desktop · Trae · Cursor · Windsurf
All these clients share the same mcpServers JSON format. Add the block below to your client's config file, then restart the IDE.
{ "mcpServers": { "volt-fast": { "command": "npx", "args": ["−y", "--package=@frizzyondabeat/volt-fast", "volt-fast-mcp"] } } }
VS Code
GitHub CopilotCreate .vscode/mcp.json at the project root. VS Code uses a servers key (not mcpServers) and requires an explicit type field.
{ "servers": { "volt-fast": { "type": "stdio", "command": "npx", "args": ["−y", "--package=@frizzyondabeat/volt-fast", "volt-fast-mcp"] } } }
Requires VS Code ≥ 1.99 with the GitHub Copilot extension and MCP support enabled in settings.
Tools Reference
Three tools cover the full setup lifecycle — detect, plan, apply. All inputs are validated with Zod schemas.
detect_projectDetectionInspects a directory and returns its framework, package manager, and installed toolchain. Call this first — its output feeds directly into plan_setup and plan_test_setup.
{
projectDir: string // absolute path to project
}{
packageManager: "npm" | "yarn" | "pnpm" | "bun",
detectedTools: string[], // e.g. ["nextjs", "typescript"]
hasTypeScript: boolean,
hasNextjs: boolean,
hasVite: boolean,
hasTailwind: boolean
}plan_setupConfigurationGenerates every config file and the exact install command for any combination of ESLint, Prettier, Tailwind CSS, Husky, Commitlint, and Shadcn. Returns content — never writes to disk.
{
tools: ("tailwind"|"eslint"|"prettier"|
"husky"|"commitlint"|"shadcn")[],
projectDir?: string, // auto-detects framework + PM
detectedTools?: string[], // override detection
packageManager?: "npm"|"yarn"|"pnpm"|"bun",
settings?: {
filenameConvention?: "KEBAB_CASE"|"PASCAL_CASE"|...,
tailwindCssPath?: string,
huskySettings?: { ... }
}
}{
packageManager: string,
detectedTools: string[],
packages: string[],
installCommand: string, // e.g. "pnpm add -D eslint ..."
configs: [
{ path: string, content: string }
],
notes: string[] // manual steps (shadcn, husky init)
}plan_test_setupTestingGenerates a test runner scaffold for Vitest, Jest, or Cypress — including config files, package.json scripts, and the install command. Framework is auto-detected when projectDir is provided.
{
projectDir?: string, // auto-detects framework
framework?: "nextjs"|"vite"|"generic",
runner: "vitest"|"jest"|"cypress",
hasTs?: boolean // default: true
}{
framework: string,
runner: string,
packageManager: string,
packages: string[],
installCommand: string,
scripts: {
"test": string,
"test:coverage": string,
...
},
configs: [
{ path: string, content: string }
],
notes: string[]
}Agent Workflow
A typical agent run — scaffolding a Next.js project with ESLint, Prettier, Husky, and Vitest in four tool calls.
The agent inspects the project directory to determine the framework and package manager.
The agent requests config files and install commands for the desired tooling.
The agent writes the config files and runs the install command returned by the server.
Optionally, the agent scaffolds a test runner with a single call.