Windows Local MCP
Enables Dart static analysis via dart analyze and constrained dart format, plus approved Dart test/build execution.
Enables Flutter static analysis via flutter analyze and approved Flutter test/build execution with snapshot-based safety.
Provides read-only Git integration for inspecting repository status, diffs, staged changes, branch, HEAD, commit history, and changed files within the workspace.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Windows Local MCPShow git status, diff, and recent commits for the workspace."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Windows Local MCP
ChatGPT から、指定した 1 つの Windows 作業領域を安全に読み書きするためのローカル MCP サーバーです。ファイル編集、構造化ファイル処理、監査、承認付きコマンド、変更履歴、Undo/rollback を提供します。
通常起動は管理者権限で行わないでください。workspace_root はプロジェクト単位で指定し、ドライブ直下やユーザーフォルダー全体を指定しないでください。
実行構成
処理は次の 4 種類に分かれます。安全性を安価に閉じられる処理まで Sandbox に送らず、作用範囲を閉じられない処理だけを隔離します。
WLMCP Broker
対象パス、入出力、容量、副作用を WLMCP が限定できる処理です。
ファイル read/write、差分、固定文法の Git 読み取り、固定 ADB 読み取り、バイナリ転送、checkpoint、transaction、Undo/rollback を直接扱います。
構造化処理
DOCX、XLSX、CSV/TSV、ZIP、一般画像を宣言的な操作として処理します。
現在は WLMCP 管理処理を使用し、処理結果を artifact として検証してから Broker の transaction で反映します。将来の ChatGPT container 処理も同じバイナリ転送境界へ接続できます。
Codex Sandbox
任意コード、project script/plugin、test/build、一般コマンドなど、WLMCP だけで副作用を閉じにくい処理を実行します。
利用にはローカル承認と、この PC での Sandbox 実機検証成功が必要です。失敗時に Host へ自動移行しません。
Approved Host
実際の Windows ユーザー権限が必要な処理だけを、Sandbox とは別の承認で 1 回実行します。
OS、ネットワーク、device、
.git、外部サービス等への作用は workspace checkpoint だけでは戻せません。
旧 Safe Tier/AppContainer は現行の方針には存在しません。旧設定が残っている場合は、弱い互換動作へ移らず起動を拒否します。
Related MCP server: BridgeDesk
セットアップ
Python 3.11 以上を使用します。
Set-Location C:\dev\windows-local-mcp-python
py -3.11 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .
Copy-Item config.example.toml config.local.tomlconfig.local.toml で少なくとも次を設定します。このファイルと data_dir は workspace 外へ置いてください。
workspace_root = "C:\\dev\\your-project"
data_dir = "C:\\Users\\you\\AppData\\Local\\windows-local-mcp\\your-project"
protect_data_dir_acl = true起動は次のとおりです。設定が不正な場合は、workspace を操作する前に起動を拒否します。
.\run-server.ps1 -Config .\config.local.tomlSecure MCP Tunnel には、Shell 文字列ではなく次の argv を登録します。
powershell.exe -NoProfile -File C:\dev\windows-local-mcp-python\run-server.ps1 -Config C:\path\to\config.local.toml複数 workspace は別々の config、data_dir、Sandbox scratch を使用してください。namespace marker が workspace、data_dir、実体識別子の混在を拒否します。
主な機能
用途 | 経路 | 主な tool |
テキスト/バイナリの読み書き | Broker |
|
Git 状態、差分、履歴 | Broker |
|
Emulator の限定読み取り | Broker |
|
DOCX/XLSX/CSV/TSV/ZIP/画像 | 構造化処理 |
|
Python、PowerShell、Node、test、build、project script | Codex Sandbox |
|
Sandbox 外の Windows 権限/network が必要な処理 | Approved Host |
|
状態確認、停止、監査 | Broker |
|
変更取消 | Broker | selective Undo、point-in-time rollback |
execute_workspace_write は互換用の公開面を残していますが、Dart/Flutter 等の project-controlled 処理は拒否され、request_sandbox_command を案内します。
構造化ファイル
DOCX: paragraph/run、検索置換、表、header/footer、style、section、page 設定、metadata。未変更の関係、画像、hyperlink 等を保持し、追跡変更、macro、埋め込み object、データ連動 Custom XML など保持を保証できない機能は書き込みを拒否します。
XLSX: 値/数式、範囲、行列、sheet、copy/fill、書式、merge、freeze pane、filter、Table、入力規則、条件付き書式、基本 chart/page setup。macro、pivot、外部接続、未対応拡張等は書き込みを拒否します。
CSV/TSV: 範囲、cell/row/column、append/insert/delete。encoding、delimiter、quote、newline を識別して保持し、判定が曖昧なら拒否します。
ZIP: listing、read、create/update、複数展開。traversal、絶対 path、ADS、予約名、大小文字衝突、件数、展開後容量を検査し、複数 file は transaction で一括反映します。
画像: inspect、resize、thumbnail、crop、rotate、flip、変換、quality、metadata 除去。pixel/decoded memory を制限し、未対応の multi-frame は破壊的変換せず拒否します。
変換中は workspace-wide lock を保持しません。commit 直前に source の raw bytes identity を再確認し、別処理による変更があれば conflict として拒否します。Office macro を含む bytes の転送・保存と、macro の実行は別の能力です。
承認と実行時 binding
request_sandbox_command と request_host_command は要求を作るだけで、その呼び出し時にはコマンドを実行しません。ローカル承認 UI で承認された要求を 1 回だけ claim して実行します。
承認には、argv、cwd、実行ファイルと入力の hash、checkpoint、workspace/data_dir の実体 identity、設定、WLMCP build と policy generation、Sandbox backend を結合します。更新や設定変更後の古い承認、二重 claim、replay は拒否します。
Approved Host は同一ユーザー権限で制御領域へ到達し得るため、実行中の audit、approval staging、CAS、journal、transfer、worker context を監視し、整合性を確認できない場合は fail closed marker を残して以後の処理を停止します。これは別 OS アカウントや service による完全な権限分離ではなく、改ざん検出境界です。
Codex Sandbox
config.local.toml で installed Codex CLI を指定できます。
approved_sandbox_enabled = true
approved_sandbox_codex_path = "C:\\path\\to\\codex.exe"
approved_sandbox_require_live_verification = true
sandbox_dependency_readable_paths = []WLMCP は codex sandbox 専用 entrypoint を argv で起動し、agent/model API は使用しません。launcher と helper の path、署名、hash、file identity を承認と実行時に検証します。
設定されていること、機能が有効なこと、backend を解決できること、この PC で security boundary まで実機検証済みであることは別々に表示されます。実機検証は次を確認します。
$env:LOCAL_MCP_CONFIG = 'C:\path\to\config.local.toml'
.\.venv\Scripts\python.exe -m windows_local_mcp.cli verify-codex-sandbox検証対象は simple command、Python child、source read、scratch write、control-plane denial、network deny、child/grandchild containment、timeout/termination、filesystem resource admission です。1 項目でも失敗した marker は「検証済み」として受理されません。
ファイルと制御領域の保護
workspace path は canonical path、reparse point、hardlink、予約名、ADS、親/target identity を検査します。
optimistic concurrency には表示用文字列ではなく raw file bytes の SHA-256 を使います。CRLF も raw identity に含まれます。
書き込みは checkpoint、durable journal、atomic replacement、post-write 検証を通します。第三者変更を復旧処理が上書きしません。
data_dir、Sandbox scratch、workspace は分離し、起動時に lock/atomic replacement/filesystem identity の前提を確認します。.env、credential 等の保護対象は通常の read、diff、Git snapshot から返しません。audit、approval、Activity、argv、stdout/stderr preview は secret を伏せ字にします。同時 job、pending approval、出力、artifact、data_dir、Sandbox scratch、structured element/pixel/archive 展開量に上限があります。
Activity、Undo、rollback
Live Activity と Timeline は Read/Edited/Running/Finished、実行境界、network policy、before/after、conflict、failure/recovery、bounded stdout/stderr preview、rollback 可否を記録します。詳細は activity_get/audit_get で確認します。
checkpoint が戻せるのは、manifest に含まれる通常の workspace file bytes です。.git、ACL、device、network、外部サービス、別 process の副作用は戻せません。selective Undo は独立した text 変更を保持できますが、binary/曖昧な競合では停止します。
検証範囲
unit/integration test、Windows 上の Sandbox 実機検証、Secure MCP Tunnel/ChatGPT E2E は別の証拠です。テスト成功だけで OS 隔離や Tunnel E2E を検証済みとは表示しません。
.\.venv\Scripts\python.exe -m pytest -qSandbox が利用不能、未検証、timeout、setup failure、command failure の場合は、その operation を unavailable/failed として表示します。Approved Host へ自動 fallback しません。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceLocal MCP server bridging ChatGPT Web to local tools for file, shell, git, test, and process management with secure policy controls.MIT
- Alicense-qualityAmaintenanceA desktop launcher and local MCP workspace server that enables ChatGPT and other MCP clients to securely read, edit, search, run commands, and show changes in selected local project folders.1MIT
- Alicense-qualityAmaintenanceEnables ChatGPT to inspect and edit local projects through a secure MCP interface, offering workspace management, file operations, git integration, and safe command execution.3MIT
- Alicense-qualityAmaintenanceLets ChatGPT or MCP clients work with files on your machine, with tools for reading, editing, searching, git operations, and safety checks.MIT
Related MCP Connectors
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/likefack/windows-local-mcp-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server