Inside On Lab.
AI STACK · COST & BENCHMARK LABSearch Guides
Interactive Tool #3 · MCP Config

Claude Desktop & Code MCP Config JSON Generator (Windows cmd /c & macOS nvm)

Generate editable claude_desktop_config.json templates with Windows cmd.exe /c npx wrappers (fixing spawn npx ENOENT), macOS Homebrew/nvm absolute paths, and Python uvx launch settings.

Verified against Nov 2026 Vendor Docs← Back to Interactive Tools Board (3)
INTERACTIVE TOOL #3 // CLIENT-SIDE CONFIG GENERATOR

Claude Desktop & Code MCP Config JSON Template Builder

This is a template: replace every YOUR_USERNAME, verify the npx/uvx executable path, and keep only folders you want this server to access. Then save it in %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and restart Claude Desktop. A valid JSON file does not prove that the server is installed or that its paths exist.

claude_desktop_config.json
Quick Reference: Claude Desktop MCP Configuration Paths & OS Launch Wrappers
Operating System / RuntimeConfig File LocationCommand EntryWhy It Prevents Disconnection
Windows 10/11 (Node.js npx)%APPDATA%\Claude\claude_desktop_config.jsoncmd with ["/c", "npx", "-y", "..."]Resolves npx.cmd batch shim when GUI process spawns without shell
macOS Apple Silicon (Homebrew / nvm)~/Library/Application Support/Claude/claude_desktop_config.json/opt/homebrew/bin/npxBypasses missing ~/.zshrc PATH in macOS GUI apps
Python MCP Server (uvx)Same OS config path aboveAbsolute path to uvx / uvx.exePrevents spawn uvx ENOENT when user bin directory is not in GUI PATH
Verification & Billing Methodology Notice

Rate tables are a November 9, 2026 documentation snapshot with announced schedule changes shown where available. Calculators use stated assumptions and are estimates, not invoices or measured hardware benchmarks. Check actual usage categories, account terms, cache behaviour, runtime allocations and cloud endpoint rates for a production decision.

Related Engineering Guides & Primary-Source Deep Dives

All Guides