How to Set Up an MCP Server in Claude Code on Windows
Add HTTP, SSE, and stdio MCP servers to Claude Code on Windows. The cmd /c npx wrapper, the three scopes, and the errors you hit if you skip the wrapper.
TL;DR: Use claude mcp add for remote HTTP servers without modification. Wrap any stdio server running through npx with cmd /c . Without the wrapper, npx fails to spawn and the server appears in claude mcp list but never connects.
Prerequisites
Claude Code installed. Run claude --version .
Node.js 18 or newer on PATH if you plan to run stdio servers via npx.
A working terminal. Windows PowerShell, Windows Terminal, or Git Bash.…