Windows-MCP

Windows-MCP

An MCP server designed for managing files and folders specifically on the Windows Desktop. It enables users to perform file operations like deletion while implementing security measures to prevent path traversal outside the Desktop directory.

Category
Visit Server

README

windows-mcp

MCP server for Windows desktop file/folder management via the Model Context Protocol.

đź“‹ Table of Contents

Overview Requirements Installation Usage Available Tools Project Structure Development Security License

Overview windows-mcp is a Model Context Protocol (MCP) server that exposes tools to manage files and folders on the Windows Desktop. It communicates via stdio transport and is designed to be connected to any MCP-compatible client (e.g., Claude Desktop).

Requirements

Node.js >= 18 Windows OS (relies on USERPROFILE and Desktop path conventions) npm >= 8

Installation bash# Clone the repository git clone https://github.com/your-username/windows-mcp.git cd windows-mcp

Install dependencies

npm install

Build the project

npm run build

Usage Start the MCP server bashnpm start The server communicates over stdio and is ready to be connected to an MCP client. Connecting with Claude Desktop Add the following to your claude_desktop_config.json: json{ "mcpServers": { "windows-mcp": { "command": "node", "args": ["C:/path/to/windows-mcp/dist/index.js"] } } }

Available Tools delete_folder Deletes a file or folder located on the Windows Desktop. ParameterTypeRequiredDescriptionpathstringâś…Relative path within the Desktop Example input: json{ "path": "old-project" } Example response: json{ "success": true, "deleted": "old-project" }

⚠️ Deletion is permanent and recursive. Use with caution.

Project Structure windows-mcp/ ├── src/ │ ├── index.ts # Entry point │ ├── server.ts # MCP server setup & request handlers │ ├── config/ │ │ └── paths.ts # Desktop path resolution │ ├── handlers/ │ │ └── deleteFolder.handler.ts # Business logic for delete tool │ ├── tools/ │ │ └── deleteFolder.tool.ts # Tool schema definition │ └── utils/ │ └── pathValidator.ts # Path safety validation ├── dist/ # Compiled output (generated) ├── tsconfig.json ├── package.json └── README.md

Development Scripts CommandDescriptionnpm run buildCompile TypeScript to dist/npm startRun the compiled servernpm testRun tests (not yet configured) Build bashnpm run build TypeScript sources in src/ are compiled to dist/ using the config in tsconfig.json (target: ES2022, module: NodeNext).

Security All file operations are restricted to the Windows Desktop directory. The server enforces:

Path traversal prevention — any path resolving outside the Desktop is rejected. Existence check — operations on non-existent paths return a descriptive error.

Paths like ../../Windows/System32 will be blocked with an error: Solo se permite borrar dentro del Escritorio

License MIT © 2026 Emilio José Ugeda Sanoja — see LICENSE for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured