loading…
Search for a command to run...
loading…
Bridges Claude Desktop to local Windows 10 development environments to enable repository reading, documentation searching, and isolated code execution. It provi
Bridges Claude Desktop to local Windows 10 development environments to enable repository reading, documentation searching, and isolated code execution. It provides a secure interface for running allowlisted terminal commands and scripts directly through natural language.
A production-ready Model Context Protocol (MCP) Server that bridges Claude Desktop directly to your local Windows 10 development environment. Give Claude the ability to read your code, run scripts, search docs, and execute safe terminal commands — all without leaving the chat.
This server extends Claude Desktop with four powerful developer tools:
| Tool | What It Does |
|---|---|
github_repo_reader |
Recursively reads any local repo (ignores .git, node_modules, binaries) |
code_executor |
Runs Python or Node.js snippets in isolated child processes |
doc_search |
Full-text keyword search across your local docs/ folder |
terminal_commander |
Executes safe CMD/PowerShell commands via a strict allowlist |
ai-dev-assistant-mcp/
├── main.py ← MCP server entry point & tool implementations
├── pyproject.toml ← Python project configuration
├── claude_desktop_config.json ← Example Claude Desktop config block
└── README.md
python --versioncode_executor Node.js runtime)Place this project folder somewhere permanent, for example:
C:\ai-dev-assistant-mcp\
⚠️ Do not move the folder later — Claude Desktop will reference the script path.
Open a terminal in the project root and run:
cd C:\ai-dev-assistant-mcp
pip install -e .
Or with uv:
uv pip install -e .
Open (or create) the Claude Desktop config file at:
%APPDATA%\Claude\claude_desktop_config.json
Paste in the following block (adjust the path if you placed the project elsewhere):
{
"mcpServers": {
"ai-dev-assistant": {
"command": "python",
"args": [
"C:\\ai-dev-assistant-mcp\\main.py"
],
"env": {}
}
}
}
💡 Already have other MCP servers? Just add the
"ai-dev-assistant"key inside your existing"mcpServers"object.
Fully quit and relaunch Claude Desktop. You should see the 🔧 tools icon in the chat input bar — click it to confirm all four tools appear.
The terminal_commander tool will refuse to run any command whose base name is not on the explicit allowlist in main.py:
SAFE_COMMANDS_ALLOWLIST = {
"dir", "ls", "git", "node", "npm", "npx", "python",
"tsc", "docker", "ipconfig", "ping", "whoami", ...
}
Additionally, even allowlisted commands are blocked if they match any dangerous pattern:
rm -rf del /s format C: shutdown
taskkill net user netsh Invoke-Expression
curl | bash registry edits UAC elevation ...
To add a new command, edit SAFE_COMMANDS_ALLOWLIST in main.py.
.git, node_modules, .next, dist, __pycache__, .venv, etc..lock filesOnce connected to Claude Desktop, you can ask Claude:
"Read my repo at C:\Projects\my-api and explain the architecture."
"Run this Python script and tell me the output:
import json; print(json.dumps({'status': 'ok', 'count': 42}))"
"Search my docs folder at C:\Projects\my-api\docs for 'authentication'"
"Run git status in C:\Projects\my-api"
"What files are in C:\Projects? Run dir."
python main.py
@Tool() decorated function in main.pyWindows paths use backslashes. In JSON config files, always double-escape them:
"C:\\Users\\YourName\\Projects\\my-repo"
In Claude prompts, you can use either style — the tools normalize paths internally using pathlib.Path.resolve().
| Layer | Technology |
|---|---|
| Language | Python 3.8+ |
| MCP SDK | mcp |
| Process execution | asyncio.subprocess |
| Transport | stdio (standard MCP transport) |
┌─────────────────────────────────────────────────┐
│ Claude Desktop │
│ ┌─────────────────────────────────────────────┐ │
│ │ Claude AI (Claude Sonnet / Opus) │ │
│ │ → Decides which tool to call │ │
│ └─────────────┬───────────────────────────────┘ │
└────────────────┼────────────────────────────────┘
│ MCP Protocol (stdio JSON-RPC)
┌────────────────▼────────────────────────────────┐
│ AI Dev Assistant MCP Server │
│ ┌──────────────┐ ┌──────────────────────────┐ │
│ │ Repo Reader │ │ Code Executor │ │
│ │ (pathlib) │ │ (asyncio.subprocess) │ │
│ └──────────────┘ └──────────────────────────┘ │
│ ┌──────────────┐ ┌──────────────────────────┐ │
│ │ Doc Search │ │ Terminal Commander │ │
│ │ (os.walk) │ │ (cmd.exe / pwsh.exe) │ │
│ └──────────────┘ └──────────────────────────┘ │
└─────────────────────────────┬───────────────────┘
│
┌───────────────▼───────────────┐
│ Windows 10 File System │
│ Python / Node Runtimes │
│ Git / npm / Docker │
└───────────────────────────────┘
Claude sends a tool-call request over stdio. The MCP server validates it, executes the appropriate handler, and returns formatted Markdown back to Claude — which presents it naturally in the conversation.
MIT — free to use, modify, and build upon.
Выполни в терминале:
claude mcp add ai-dev-assistant -- npx Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development