How to Uninstall an MCP Server (NPX) on Windows Completely
Complete removal guide for MCP servers installed via NPX on Windows. Clean up config entries, cached packages, and leftover files.
This guide provides a complete, step-by-step walkthrough for uninstall an mcp server (npx) on windows completely. You will go from zero to a fully functional setup in approximately 10–15 minutes, with platform-specific instructions for Windows.
Prerequisites
Before beginning, ensure you have: Node.js v18 or higher installed and available in your PATH, a running MCP client (Claude Desktop, Cursor, or VS Code with MCP extension), and any API keys or credentials the server requires. Verify each prerequisite before proceeding — skipping this step accounts for roughly 60% of installation issues.
# Quick prerequisite check
node --version
git --versionStep 1: Install the MCP server
Most MCP servers can be installed via NPX (Node Package Runner), which downloads and executes the package without permanent installation. Open your terminal and run:
npx @modelcontextprotocol/server-NAME
# If using uvx (faster):
uvx run server-NAMEStep 2: Configure the client
Open your MCP client configuration file. For Claude Desktop, the file is located at: %APPDATA%\Claude\claude_desktop_config.json. Add the server entry following the JSON configuration format. Ensure your JSON syntax is valid before saving.
Step 3: Test the connection
Restart your MCP client. In Claude Desktop, open a new conversation and type a prompt that would use one of the server's tools. If the tool appears in the available tools list or Claude successfully invokes it, the installation succeeded. If not, check the server logs for error messages.
Step 4: Customize your setup
Most MCP servers support configuration options such as custom directory paths, API endpoints, and tool enablement flags. Review the server's README or configuration reference for available options, and add them to your JSON config file under the appropriate keys.
Summary
Your MCP server is now installed and connected. For advanced configurations, performance tuning, or multi-server setups, refer to the other articles in MCPHub's installation guides section.
Related articles
This article is part of MCPHub's editorial content, generated to aid discovery and troubleshooting. Always verify steps with the official MCP server documentation before applying configuration changes.