CH.01What you are actually setting up
Anthropic introduced the Model Context Protocol on November 25, 2024 as an open standard that enables developers to build secure, two-way connections between their data sources and AI-powered tools.
If you want the vocabulary first — host, client, server, capability, transport — read Field Guide 03 before continuing.
In practice, “MCP Windows setup” comes down to three decisions:
- Which host application runs the MCP client and owns the security boundary — your chat app, your editor, or the operating system itself;
- Which servers you connect — local processes the host launches, or remote services at a URL;
- Which tools and permissions each server is allowed.
The protocol is explicit about where that boundary sits. MCP, per its architecture specification, follows a client-host-server architecture where each host can run multiple client instances
and does so while maintaining clear security boundaries and isolating concerns.
The host creates and manages multiple client instances
, launches or connects to servers, and sits between the model and your machine. It is the decision you make first.
An open standard that enables developers to build secure, two-way connections between their data sources and AI-powered tools.·
follows a client-host-server architecture where each host can run multiple client instances, maintaining
clear security boundaries and isolating concerns.source · source — both re-verified HTTP 200 on 2026-10-25
CH.02Step 1 — choose your host on Windows
Microsoft documents the current starting point plainly: Users and developers can configure agents to connect to an MCP server that provides tools that the agent can use.
The host can be an application or the operating system. The documented choices as of late 2026:
- A chat application. The official MCP quickstart uses Claude Desktop as its worked example — a Settings dialog with a Developer tab and an Edit Config button that creates the configuration file for you.
- An editor. Visual Studio Code provides a guided
MCP: Add Servercommand for its Copilot agent modes, with no hand-edited JSON required. - Windows itself. Microsoft documents MCP connectors in Windows Settings,
including a File Explorer MCP server
an agent can use to read and manage files. The overview page carries a prerelease disclaimer and the surface is still maturing.
TrayTool is being built as a fourth shape — a dedicated Windows tray host: no chat window, no browser tab, just a persistent local process with a system-tray control surface. But its MCP server is a planned, not-yet-built capability (Phase P2). You cannot use TrayTool as an MCP host today; this guide uses the hosts above, and CH.07 states exactly what TrayTool does ship now.
Users and developers can configure agents to connect to an MCP server that provides tools that the agent can use.The client connector
acts as the bridge between the agent and an MCP server, enabling the agent to discover and use tools, resources, and prompts exposed by that server.source — re-verified HTTP 200 on 2026-10-25
CH.03Step 2 — know the two ways a server runs
Every “add server” dialog asks the same underlying question, and the specification (revision 2025-06-18, transports chapter) defines exactly two answers.
Local process — stdio
The client launches the MCP server as a subprocess. The server reads JSON-RPC messages from its standard input (stdin) and sends messages to its standard output (stdout).
The spec adds: Clients SHOULD support stdio whenever possible.
This is how most filesystem, Git, and database servers run locally — the host starts the process itself, on demand.
Remote service — Streamable HTTP
The server operates as an independent process that can handle multiple client connections.
It exposes a single HTTP endpoint path
supporting POST and GET — for example https://example.com/mcp. Nothing is launched locally; you give the host a URL.
Why this matters at setup time: stdio servers ask for a launch command (npx …, uvx …, an .exe path); HTTP servers ask for a URL. The VS Code guided flow in CH.04 presents exactly these two choices — Command (stdio) versus HTTP (HTTP or Server-Sent Events). Pick whichever one the server publisher documents.
The client launches the MCP server as a subprocess. The server reads JSON-RPC messages from its standard input (stdin) and sends messages to its standard output (stdout).—
Clients SHOULD support stdio whenever possible.Streamable HTTP:
The server operates as an independent process that can handle multiple client connections.source — re-verified HTTP 200 on 2026-10-25
CH.04Step 3 — add your first server
Route A — Claude Desktop with a config file (stdio)
- Open Settings and navigate to the Developer tab in the left sidebar.
- Click Edit Config. The quickstart says this
creates a new configuration file if one doesn't exist, or opens your existing configuration.
- On Windows the file lives at
%APPDATA%\Claude\claude_desktop_config.json— typicallyC:\Users\<you>\AppData\Roaming\Claude\. - Declare the server under
mcpServers. The quickstart's worked example launches the reference filesystem server throughnpx; the final argument lists the folders it is allowed to touch (the example shows macOS paths — substitute Windows paths such asC:\Users\you\Desktop).
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"C:\\Users\\you\\Desktop"
]
}
}
}
The configuration, per the quickstart, tells Claude Desktop to start the Filesystem Server with access to specific directories.
Restart the application so it starts the new server as a subprocess.
Route B — VS Code, guided flow (stdio or HTTP)
Microsoft documents a command-palette flow rather than hand-edited JSON:
- Open the Command Palette with
Ctrl + Shift + Pand run MCP: Add Server. - Choose what the publisher provides: A server URL — HTTP (HTTP or Server-Sent Events) for a remote endpoint, or A launch command — Command (stdio), where
the server communicates through standard input and output.
- Follow the prompts for arguments and scope. Microsoft notes the older destinations — workspace
.vscode/mcp.jsonand the user-profilemcp.json— remain available for compatibility but arelabeled deprecated in the guided flow
. Prefer what the current flow offers; this surface has moved before.
Underneath both routes is one pattern: name → command-or-URL → arguments → scope. Remote servers need only the URL; local servers need the launch command and exactly the arguments the publisher specifies.
creates a new configuration file if one doesn't exist, or opens your existing configuration.— it
tells Claude Desktop to start the Filesystem Server with access to specific directories.VS Code flow: choose
A server URL — HTTP (HTTP or Server-Sent Events)or
A launch command — Command (stdio), where
the server communicates through standard input and output.source · source — both re-verified HTTP 200 on 2026-10-25
CH.05Step 4 — prerequisites and the two failure modes people actually hit
Prerequisites: the runtime has to exist
Most stdio servers are packages, not binaries, so the machine needs their runtime before the host can launch them. The official server quickstarts are explicit: the TypeScript route needs Node.js version 20 or higher
and the Python route needs Python 3.10 or higher installed
. A missing runtime is the most common reason a freshly added stdio server fails to start — verify with node --version and python --version before editing any config. Remote HTTP servers need neither.
Failure mode 1 — the host cannot find the config (or the runtime)
Config locations are host-specific and occasionally move. One reported case on Hacker News described a Windows build of a host looking for claude_desktop_config.json in a virtualized application filesystem after a packaging change — where it wouldn't be found effectively breaking access to MCP tools.
Symptom: the server simply never appears. Checks: confirm the exact path in that host's current documentation, use the host's own Edit Config button when one exists, confirm the runtime, and restart the host after changes.
Failure mode 2 — plaintext secrets and the supply chain
Local-server config files commonly hold credentials in plaintext. A developer auditing their own setup reported finding GitHub, Linear, and Notion API keys were sitting in plaintext
in the config file, noting anyone with read access to that file (malicious MCP server, compromised dependency, RCE) gets all your keys instantly.
Separately, practitioners report typosquatted MCP packages harvesting environment variables. The spec itself warns that local servers with inadequate restrictions or from untrusted sources
introduce arbitrary code execution
with MCP client privileges and no visibility
into what commands run.
The practical checklist is short:
- Trusted publishers only — verify the exact package name; typosquats are a documented attack.
- Read-only tools first. One builder put the payoff plainly: keeping an integration query-only took it from
needs a security architecture doc
toinstall the agent, done
. - Scope directories and tokens narrowly — one folder, one key, least privilege; treat the config file itself as a secret store.
This is the gap TrayTool's planned trust layer targets; the model behind it is in Field Guide 02 · Why plugins need a trust layer.
%APPDATA% inside the windows app is different than what is actually accessible—
a virtualization bug, and the claude app seems to only read a certain %APPDATA% config. The spec warns
local MCP servers with inadequate restrictions or from untrusted sourcescan lead to
arbitrary code executionand
no visibility; commenters separately flag that
MCP servers store API keys in plaintextand that typosquatted packages get published. source · source · source — spec pages re-verified HTTP 200 on 2026-10-25; HN quotes retrieved verbatim from the Algolia API on 2026-10-25
CH.06The Windows-native layer (prerelease)
Beyond individual applications, Windows is growing an OS-level MCP path. Microsoft documents an agent connector — the bridge quoted in CH.02 — with MCP servers registered to the operating system and default connectors such as the File Explorer server discoverable by supported agents.
The same documentation ships a registry command line tool: a command line tool, odr.exe, that enables users and developers to view and manage MCP servers.
It points at a future where registration, containment, and audit live in Windows Settings rather than per-app JSON files. Treat all of it as documented prerelease — useful to know, not yet a stable surface to script against. The overview page itself warns the information relates to prereleased product that might change substantially before it's commercially released.
CH.07Where TrayTool fits (honestly)
TrayTool is a local-first Windows host for AI capability. The part the audit marks measured — shipping in the current build (2026-09-07): a 71-command command plane across 15 domains, six built-in plugins, and a live three-tier risk gate with an audit pipeline, in a native C# WPF tray application. The part marked designed target — planned, not built (Phase P2): the MCP server that external agents will call; the plugin marketplace with payments follows at Phase P5.
So, plainly: you cannot configure TrayTool as an MCP host today, and TrayTool will not appear in your mcpServers list yet. That is deliberate — an MCP server is a security boundary of exactly the kind CH.05 describes, and shipping one before the permission, containment, and audit plumbing is complete would put every user on the wrong side of the spec's own warning.
What you can do today:
- Set up MCP with the documented hosts above, using the four steps in this guide.
- Try the TrayTool host itself — download the build; Windows install and first-run steps are in the install guide.
- Read the trust model the MCP phase will inherit: Field Guide 02, and the concepts in Field Guide 03.
When Phase P2 lands, this guide gains a Route C: tray host, local-first, with the risk gate in front of every tool call.
CH.08Frequently asked
Where is the MCP config file on Windows?
For Claude Desktop, the official MCP quickstart documents the configuration file at %APPDATA%\Claude\claude_desktop_config.json, created automatically when you open Settings, go to the Developer tab, and click Edit Config. Other hosts store it differently — VS Code uses a guided MCP: Add Server flow — so check your host's documentation.
Do I need Node.js or Python installed for MCP servers?
Often, yes. Many local MCP servers are distributed as Node.js or Python packages: the official quickstarts reference Node.js version 20 or higher and Python 3.10 or higher. Remote (HTTP) servers need neither — just their endpoint URL. Check the README of the specific server you add.
What is the difference between a stdio and a remote HTTP MCP server?
With stdio, the client launches the MCP server as a subprocess and exchanges JSON-RPC messages over its standard input and output; the MCP spec says clients should support stdio whenever possible. With Streamable HTTP, the server runs as an independent process at a single HTTP endpoint URL and can serve multiple clients. Every host's add-server dialog ultimately asks the same question: launch command or server URL.
Is it safe to add MCP servers on Windows?
Only when you trust the source and scope the permissions. The MCP spec warns that local servers with inadequate restrictions or from untrusted sources introduce arbitrary code execution and no visibility into the commands being run. Use trusted publishers, read-only tools first, and remember that config files may hold plaintext API keys. Windows itself is adding registry registration, connectors, and audit as documented (prerelease) — still maturing as of late 2026.
Can TrayTool host MCP servers today?
No — not yet. TrayTool's MCP server is an unfunded, not-built Phase P2 capability; shipping it prematurely would imply a security boundary TrayTool cannot yet stand behind. What exists today is the local host: a 71-command CLI across 15 domains, a three-tier risk gate, and an audit pipeline, measured 2026-09-07. Until the MCP phase ships, no agent can call your desktop through TrayTool.