windows-developer-mcp

v1.0.0
windows-developer-mcp Checked 1 day ago Published 4 months ago

A production-grade Windows Developer MCP Server for LM Studio and other MCP-compatible AI clients

If you don't have uv installed, open PowerShell and run: Edit %APPDATA%\Claude\claude_desktop_config.json: Edit your LM Studio MCP server configuration:

Summary extracted from the README.

Windows Developer MCP Server

Glama Indexed CI Pipeline License: MIT Python 3.12+ FastMCP v2.0+ Ruff Basedpyright

Windows Developer MCP gives AI assistants (Claude Desktop, LM Studio, Cursor, etc.) safe, native developer superpowers on Windows — including terminal execution, Git/GitHub integration, Docker management, filesystem operations, and AI project diagnostics.


⚡ 1-Minute Quick Start

Step 1: Install uv

If you don't have uv installed, open PowerShell and run:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Step 2: Configure Your AI Client

🤖 Claude Desktop Setup

Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "windows-developer-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\windows-developer-mcp",
        "run",
        "windows-developer-mcp"
      ],
      "env": {
        "MCP_SERVER__PROFILE": "developer",
        "MCP_WORKSPACE__PATH": "C:\\path\\to\\your\\project"
      }
    }
  }
}

💻 LM Studio / Local LLM Setup

Edit your LM Studio MCP server configuration:

{
  "mcpServers": {
    "windows-developer-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\windows-developer-mcp",
        "run",
        "windows-developer-mcp"
      ],
      "env": {
        "MCP_SERVER__PROFILE": "minimal",
        "MCP_WORKSPACE__PATH": "C:\\path\\to\\your\\project"
      }
    }
  }
}

🔥 Key Features

  • 🛡️ Workspace-Confined & Sandboxed: All commands are executed securely with strict path normalization, denylists, and audit logging.
  • ⚡ Dual-Profile Engine:
    • minimal: Optimized for Local LLMs (7B/8B) in LM Studio (<1.2K token context footprint).
    • developer: Ideal for Claude Desktop / GPT-4o (~3.8K token footprint).
    • full: Complete exposure for 70B+ LLMs & Glama Indexing.
  • 🧰 40+ Developer Tools across 12 Modules: Terminal, Git, GitHub, Docker, Filesystem, Python, Node, SQLite, Windows, Network, Browser, and AI Project Analysis.

🧰 Available Tool Modules

Module Core Tools Exposed Description
Terminal terminal_run, terminal_get_session Safe PowerShell & CMD subprocess execution.
Filesystem filesystem_read, filesystem_write, filesystem_list Workspace-restricted file & directory operations.
Git git_status, git_log, git_diff, git_commit, git_push Git branch, commit, diff, and remote management.
GitHub github_auth_status, github_repo_info, github_list_issues, github_list_prs GitHub API for repos, PRs, issues, and releases.
Docker docker_list_containers, docker_logs, docker_run, docker_build Container, image, and Compose orchestration.
Python python_run, python_check_package, python_install_package Virtual environment management & execution.
Node.js node_run, npm_run, npm_install Node.js script execution & npm package management.
SQLite sqlite_query, sqlite_schema, sqlite_list_tables, sqlite_execute Database queries & schema inspection.
Windows windows_system_info, windows_list_processes, windows_get_env System metrics, process list, and environment vars.
Network network_ping, network_dns_lookup, network_port_scan Network diagnostics & connectivity checks.
Project (AI) project_analyze, project_security_scan, project_generate_readme Tech stack detection, security audit, & code gen.
Browser browser_open_url, browser_fetch_page, browser_extract_text Web page fetching & clean text extraction.

🧠 AI-Native Project Analysis Tools

ProjectProvider provides intelligent tools designed specifically for codebase comprehension:

  • 🔍 project_analyze: Auto-detects frameworks, tech stacks, and entry points.
  • 🛡️ project_security_scan: Static audit for hardcoded API keys, tokens, and credentials.
  • 🌳 project_summarize: Hierarchical directory tree generator.
  • 📦 project_dependencies: Cross-language dependency analysis.
  • 📝 project_generate_readme: Drafts a complete README.md based on codebase analysis.
  • 🧪 project_generate_tests: Generates pytest unit test skeletons for source files.

🛡️ Safety & Security Features

  1. Workspace Boundary Sandbox: Operations are strictly restricted to the specified workspace path (MCP_WORKSPACE__PATH).
  2. Command Denylist: Blocks dangerous operations (format, shutdown, del /f /s /q, etc.).
  3. Audit Logging: All executed actions are recorded in logs/audit.log.

📚 Documentation Suite


📄 License

Distributed under the MIT License. See LICENSE for details.