home / mcp / va form generation mcp server
External MCP server that audits and fixes VA forms to meet 21P-601 and VA.gov content standards.
Configuration
View docs{
"mcpServers": {
"agilesix-va-form-generation-mcp": {
"command": "node",
"args": [
"/Users/YOUR_USERNAME/va-form-generation-mcp/index.js"
]
}
}
}This external MCP server provides tools to audit and fix VA form scaffolds, ensuring they follow 21P-601 best practices and VA.gov content standards. It runs outside the main VA codebase so you can share improvements across your team and track changes independently.
You connect an MCP client (Claude Desktop, Claude Code, or Cursor) to the VA Form Generation MCP Server to access a set of form-related tools. Use the available tools to audit forms, generate orchestration prompts, validate form syntax, get agent prompts, and apply quick fixes. The workflow typically starts with an audit, then proceeds to orchestration, and finally executes the necessary agents or tooling steps in a defined order.
Prerequisites: Node.js and npm must be installed on your computer.
1. Create the MCP server directory and install dependencies.
cd ~/va-form-generation-mcp
npm installConfiguration for your MCP clients is shown in two equivalent stdio configurations. Choose the one that matches your setup. Both configurations point to the same local index script.
Claude Desktop configuration (stdio) and project-local setup for Claude Code are provided exactly as shown below.
{
"mcpServers": {
"va-form-generation": {
"command": "node",
"args": [
"/Users/YOUR_USERNAME/va-form-generation-mcp/index.js"
]
}
}
}Keep the MCP server code outside the main VA repos and control access via your existing authentication and workspace permissions. Treat the local path to index.js as you would any executable script, and avoid exposing sensitive workspace paths in shared configs.
Claude Code (VS Code) and Cursor users add a similar MCP entry to the workspace root: create or update a .mcp.json with the same name and path, then reload the editor window to load the MCP server.
Option 1: Full automation: Audit a form, generate the orchestration prompt, and execute all agents in order.
Option 2: Step-by-step: Retrieve prompts for each agent one at a time and run them manually in sequence.
Generate a comprehensive audit report for a scaffolded form, including form information, an agent execution plan, expected fixes, and quick start commands.
Retrieve a customized prompt for a specific agent (1-4) with paths tailored to the audited form.
Run validation checks on a formβs schema, syntax, apostrophes, and imports, and return commands to execute.
Provide quick references for common fixes, including yesNoUI, radioSchema, apostrophes, transformers, and fullNamePath.
Create the complete orchestration prompt to launch all four agents in the recommended order.