Menu

1 / 2

Claude Code MCP Server Setup on Windows

DEV Community·Artyom Rabzonov·6 months ago
#bUwJktmY
#option#method#windows#ai#claude
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.