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: anvil
ツール
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ワークツリー/サブモジュールは、そのリポジトリ形式に対してこのランタイムを堅牢化済みとして扱う前に、拒否するか、将来のマウント戦略で処理する必要があります。
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Linux microVM sandboxes for AI agents: run commands, files, processes, pause and wake.
Git-backed platform for skills, tools, and context for AI agents
Remote Linux boxes for coding agents: Docker, a browser, screenshots, logs, human takeover.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceProvides AI coding agents with a secure, sandboxed environment for executing coding tasks including file operations, command execution, and testing. Features session management, policy enforcement, and Docker-based sandboxing for safe code execution and development workflows.-
- AlicenseNot gradedqualityCmaintenanceA throwaway Docker sandbox for agents to run code and shell commands safely.5 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to safely execute Python, JavaScript, and Bash code in an isolated Docker sandbox with strict security constraints.1-
- AlicenseAqualityBmaintenanceEnables 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