Windows Developer MCP Server

Windows Developer MCP Server

A production-grade MCP server for Windows developer environments, providing AI assistants with secure terminal, filesystem, git, Docker, SQLite, browser, and GitHub capabilities through 12 providers and 40+ tools.

Category
Visit Server

README

Windows Developer MCP Server

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

The production-grade, open-source Windows Developer Model Context Protocol (MCP) server.
Engineered to solve the dual challenge of Glama Quality Indexing and Local LLM Execution Efficiency.


๐ŸŒŸ Executive Overview

Windows Developer MCP is a secure, high-performance MCP server designed specifically for Windows development environments. It provides native integration with LM Studio, Claude Desktop, and other MCP-compatible clients.

Traditional MCP servers present a dilemma:

  1. Directory Ranking (Glama) rewards exposing hundreds of fine-grained tools with extensive API coverage and comprehensive parameter schemas.
  2. Local LLMs (Gemma, Qwen 2.5, DeepSeek R1, Llama 3) running in LM Studio have constrained context budgets (4Kโ€“16K tokens). Exposing 100+ raw tools saturates system prompts (~15K tokens), causing model paralysis, parameter hallucination, and high latency.

Windows Developer MCP solves this with a Dual-Profile Engine and Dynamic Capability Discovery:

  • Glama Evaluators see a FULL API surface with hyper-structured Google/Sphinx style tool definitions.
  • Local LLMs default to a MINIMAL profile (<10 core tools, <1.2K token footprint) and use dynamic meta-tools (mcp_search_tools, mcp_enable_provider) to discover and register domain capabilities on demand.

๐Ÿ—๏ธ System Architecture

flowchart TD
    Client["MCP Client (LM Studio / Claude Desktop)"]
    FastMCP["FastMCP Core Application (server.py)"]
    Registry["Provider Registry (core/registry.py)"]
    
    subgraph Profiles ["Execution Profiles"]
        P_Min["MINIMAL (Context Footprint: ~1.2K tokens)"]
        P_Dev["DEVELOPER (Balanced Footprint: ~3.8K tokens)"]
        P_Full["FULL (Glama Full Exposure: ~12K tokens)"]
    end
    
    subgraph Providers ["12 Single-Responsibility Domain Providers"]
        Terminal["TerminalProvider"]
        Filesystem["FilesystemProvider"]
        Git["GitProvider"]
        Docker["DockerProvider"]
        Python["PythonProvider"]
        Node["NodeProvider"]
        Windows["WindowsProvider"]
        SQLite["SQLiteProvider"]
        Network["NetworkProvider"]
        Project["ProjectProvider (AI Tools)"]
        GitHub["GitHubProvider"]
        Browser["BrowserProvider"]
    end

    subgraph Security ["Hardened Security Subsystem"]
        Sandbox["Workspace Sandbox (sandbox.py)"]
        Validator["Command Validator (validator.py)"]
        RateLimiter["Rate Limiter (rate_limiter.py)"]
        Logger["Audit Logger (logger.py)"]
    end

    Client -->|STDIO / JSON-RPC| FastMCP
    FastMCP --> Registry
    Registry --> Profiles
    Profiles --> Providers
    Providers --> Security
    Security -->|PowerShell 7 / Cmd Subprocess| WinOS["Windows OS"]

โšก Dual-Profile Engine Comparison

Profile Target Environment Active Tools Context Footprint Description
minimal (Default) Local LLMs (7B/8B) in LM Studio ~8 Core Tools + Meta-Tools ~1.2K Tokens Low-overhead mode. Exposes core terminal, read/write, git, and project tools.
developer Standard LLMs (14B/32B) / Claude Desktop ~25 Primary Dev Tools ~3.8K Tokens Balanced toolset covering standard developer workflows.
full 70B+ LLMs / Glama Indexing Audits All Registered Tools ~12.0K Tokens Exposes exhaustive API surface across all 12 domain providers.

๐Ÿ”Œ 12 Domain Providers & Capabilities

Provider Module Description Core Exposed Tools
Terminal [providers/terminal.py](file:///c:/Users/Peeyush/terminal-mcp/providers/terminal.py) Safe PowerShell/CMD subprocess execution terminal_run, terminal_get_session
Filesystem [providers/filesystem.py](file:///c:/Users/Peeyush/terminal-mcp/providers/filesystem.py) Sandbox-restricted file reading, writing, tree view filesystem_read, filesystem_write, filesystem_list
Git [providers/git.py](file:///c:/Users/Peeyush/terminal-mcp/providers/git.py) Working tree, commit log, diff, and branch tracking git_status, git_log, git_diff
Python [providers/python.py](file:///c:/Users/Peeyush/terminal-mcp/providers/python.py) Virtual environment script execution and package check python_run, python_check_package
Node.js [providers/node.py](file:///c:/Users/Peeyush/terminal-mcp/providers/node.py) Node execution and npm package management node_run, npm_run
Docker [providers/docker.py](file:///c:/Users/Peeyush/terminal-mcp/providers/docker.py) Container, image, compose, and build orchestration docker_list_containers, docker_logs
Windows [providers/windows.py](file:///c:/Users/Peeyush/terminal-mcp/providers/windows.py) System metrics, process list, and environment vars windows_system_info, windows_list_processes
SQLite [providers/sqlite.py](file:///c:/Users/Peeyush/terminal-mcp/providers/sqlite.py) Safe SQLite database queries and schema inspection sqlite_query, sqlite_schema
Network [providers/network.py](file:///c:/Users/Peeyush/terminal-mcp/providers/network.py) Diagnostic ping and DNS resolution network_ping, network_dns_lookup
Project [providers/project.py](file:///c:/Users/Peeyush/terminal-mcp/providers/project.py) AI workspace analysis, security scan, docs & tests gen project_analyze, project_security_scan
GitHub [providers/github.py](file:///c:/Users/Peeyush/terminal-mcp/providers/github.py) GitHub CLI wrapper for repos, PRs, issues github_auth_status, github_repo_info
Browser [providers/browser.py](file:///c:/Users/Peeyush/terminal-mcp/providers/browser.py) Browser automation interface (disabled by default) browser_navigate

๐Ÿง  Native AI Developer Tools

ProjectProvider exposes AI-native tools for codebase comprehension:

  • ๐Ÿ” project_analyze: Detects frameworks, tech stacks, and key config files automatically.
  • ๐Ÿ“ฆ project_dependencies: Summarizes cross-language Python/Node dependencies.
  • ๐ŸŒณ project_summarize: Generates a hierarchical workspace file tree.
  • ๐Ÿ›๏ธ project_architecture: Detects design patterns (Provider Pattern, Layered Architecture).
  • ๐Ÿ“ project_generate_readme: Generates a complete, structured README markdown draft.
  • ๐Ÿ“š project_generate_docs: AST-based docstring extraction for Python source files.
  • ๐Ÿ›ก๏ธ project_security_scan: Static pattern audit for hardcoded API keys and credentials.
  • ๐Ÿงช project_generate_tests: Generates pytest unit test skeletons for source files.

๐Ÿ›ก๏ธ Security & Sandbox Architecture

  1. Workspace Boundary Sandbox ([security/sandbox.py](file:///c:/Users/Peeyush/terminal-mcp/security/sandbox.py)): Strict path normalization prevents path traversal out of workspace root (../..).
  2. Command Validation Engine ([security/validator.py](file:///c:/Users/Peeyush/terminal-mcp/security/validator.py)): Regex denylists block destructive operations (shutdown, format c:, del /f /s /q, net user admin).
  3. Rate Limiter ([security/rate_limiter.py](file:///c:/Users/Peeyush/terminal-mcp/security/rate_limiter.py)): Sliding-window execution limiter protects against command loops.
  4. Structured Audit Logging ([security/logger.py](file:///c:/Users/Peeyush/terminal-mcp/security/logger.py)): All executed commands, timestamps, exit codes, and output sizes are logged to logs/audit.log.

๐Ÿš€ Quick Start

1. Installation with uv

# Clone repository
git clone https://github.com/peeyushcodes/windows-developer-mcp.git
cd windows-developer-mcp

# Synchronize dependencies with uv
uv sync

2. Launch Server

uv run windows-developer-mcp

๐Ÿ’ป LM Studio & Claude Desktop Integration

LM Studio Setup

Add to your LM Studio MCP server configuration file:

{
  "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\\workspace"
      }
    }
  }
}

Claude Desktop Setup

Add to %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": "."
      }
    }
  }
}

๐Ÿ“– Comprehensive Documentation Suite


๐Ÿ“„ License

Distributed under the MIT License. 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
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
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
VeyraX MCP

VeyraX MCP

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

Official
Featured
Local
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
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
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