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.
README
Windows Developer MCP Server
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:
- Directory Ranking (Glama) rewards exposing hundreds of fine-grained tools with extensive API coverage and comprehensive parameter schemas.
- 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
FULLAPI surface with hyper-structured Google/Sphinx style tool definitions. - Local LLMs default to a
MINIMALprofile (<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
- 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 (../..). - 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). - Rate Limiter ([
security/rate_limiter.py](file:///c:/Users/Peeyush/terminal-mcp/security/rate_limiter.py)): Sliding-window execution limiter protects against command loops. - 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 tologs/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
- ๐ Architecture Overview
- ๐ Provider Reference
- ๐ก๏ธ Security Model
- ๐ค Contributing Guide
- ๐ก Usage Workflows & Examples
- ๐ค LM Studio Setup Guide
- ๐ฅ๏ธ Claude Desktop Setup Guide
- ๐ผ๏ธ Screenshots & Visual Assets Plan
- ๐ Glama Manifest (glama.json)
- ๐ Changelog
๐ License
Distributed under the MIT License. See LICENSE for details.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.