agent-env-mcp
@brycepelletier/agent-env-mcp
堅牢化されたLinuxソフトウェアエンジニアリングランタイム向けの、再利用可能なホスト側MCPコントローラ。
0.3.1 トラスト分割
Composeランタイムは、同一の作業ツリー上に2つの実行ドメインを持ちます:
agent: Software Engineerツールが使用します。実際の.gitディレクトリは、root所有のtmpfsマウントでマスクされます。git:git_commandのみが使用します。実際の.gitディレクトリを参照し、network_mode: noneを持ちます。
リモートのGit/GitHub操作はこのパッケージには属しません。これらは別のGitHub MCPトラストドメインを対象としています。
Related MCP server: Secure Grid Genesis Execution
ツール
ensure_environmentlist_directoryread_filesearch_workspaceworkspace_editrun_commandgit_command
MCPは、ツールが最初に使用されたときに、MCP Rootsを通じてアクティブなVS Codeワークスペースを遅延的に検出します。起動時の${workspaceFolder}変数は必要ありません。
ローカル開発
npm run linkリンク中のユーザーレベルのVS Code MCP設定:
"agent-env": {
"type": "stdio",
"command": "agent-env-mcp"
}グローバル開発リンクを削除するには:
npm run unlink0.3.1 受け入れチェック
プロジェクトの古い.devcontainerを削除する前に:
ensure_environmentが成功し、/agent-env/environment/<project>を報告すること。run_commandがプロジェクトをビルドできること。run_commandが、Python/Node経由で間接的にGitを呼び出した場合でも、実際のGitブランチ/履歴を取得できないこと。git_command ["status", "--short", "--branch"]が成功すること。Gitサービスがネットワークアクセスを持たないこと。
現在の.gitマスキング実装は、.gitがディレクトリである標準チェックアウトを前提としています。.gitファイルを使用するGitワークツリー/サブモジュールは、そのリポジトリ形式に対してこのランタイムを堅牢化済みとして扱う前に、拒否するか、将来のマウント戦略で処理する必要があります。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Run commands, code and file operations for AI agents in Cloud Hypervisor microVM sandboxes.
Cloud sandboxes for AI agents: run code, files, previews, browsers, Linux desktops, Android.
Secure Linux sandboxes for AI agents, as MCP tools.
Cloud Linux VMs for your agent: run code, Docker, files and HTTPS previews in a Sandboxer microVM.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA throwaway Docker sandbox for agents to run code and shell commands safely.10 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to safely execute Python, JavaScript, and Bash code in an isolated Docker sandbox with strict security constraints.1-
- AlicenseAqualityDmaintenanceEnables AI coding agents to safely execute commands, run tests, and modify project files inside disposable, policy-enforced Docker sandboxes that are isolated from the host machine and its credentials.15MIT
- AlicenseAqualityDmaintenanceEnables AI coding agents to safely execute code, run tests, and build projects inside disposable Docker sandboxes, protecting the host machine through enforced isolation, filesystem snapshots, and network controls.15MIT