MCP Server Config Builder & Validator (mcp.json)
Generate verified Model Context Protocol configuration files for Claude Desktop, Cursor, VS Code Copilot, and Windsurf
with automatic Windows cmd /c npx wrapping and environment variable validation.
Configuration File Paths & Process Spawning Reference
The Model Context Protocol (MCP) connects desktop AI assistants and IDEs to local tools via standard input/output
(stdio) or Server-Sent Events. Host applications read server definitions from the following paths:
- Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json - Cursor IDE (Workspace):
.cursor/mcp.json - VS Code GitHub Copilot:
.vscode/mcp.json
Resolving spawn npx ENOENT & Windows Shim Failures
On macOS, GUI apps launched from Finder do not inherit shell init files (.zshrc) where NVM or Volta
paths are declared; if spawn npx ENOENT occurs, specify the absolute binary path such as
/opt/homebrew/bin/npx. On Windows, Node.js distributes npx as a
.cmd batch script, requiring cmd /c npx -y when spawned via CreateProcess.