Skip to main content
Glama

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.

Available Tools

1 tool
delete_folderC

Elimina archivos o carpetas dentro del Escritorio de Windows

Inputs: path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly distinct by default, as there are no other tools to compare it against.

    Naming Consistency5/5

    The single tool name follows a clear verb_noun pattern (delete_folder), and since there is only one tool, consistency is inherently perfect with no deviations or mixed conventions.

    Tool Count2/5

    A single tool for a server named 'Windows-MCP' suggests an extremely limited scope. This is likely too few tools for managing Windows operations, as it lacks basic CRUD or lifecycle coverage for files, processes, or system settings, making it feel incomplete for the implied domain.

    Completeness1/5

    The tool set is severely incomplete for a Windows management server. It only offers deletion of folders on the Desktop, with no tools for creating, reading, updating, or managing other aspects like files, processes, registry, or system information, leading to significant gaps and dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides tools for secure file management within a dedicated workspace directory. It enables users to create, list, and delete files through natural language while preventing path traversal attacks.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that exposes file operations (list, read, write, delete, unzip) in a sandbox directory, preventing path traversal.
      MIT