os-control-mcp
os-control-mcp
永続的なターミナルセッションのためのローカルMCP。プロセスはBash、CMD、PowerShell、pwsh、またはWSLをアクティブに保ち、入力の送信と出力の増分読み取りを分離します。
また、永続的な目標も備えています。エージェントは受け入れ基準を持つ目標を作成し、複数のステップを実行し、証拠を確認し、完了、失敗、ブロック、または定義された制限に達するまで継続できます。
注意: このサーバーは、実行するユーザーの権限でプロセスを制御します。ローカルで使用し、デフォルトでは管理者/rootとして実行せず、プロセスをインターネットに直接公開しないでください。
トランスポート
サーバーはstdio経由でMCP JSONLを使用します。デフォルトではネットワークポートを開きません。
Related MCP server: Persistent Terminal MCP Server
シェル
POSIXシステムの
bash、sh、zsh;Windowsの
cmd、powershell、pwsh;Windowsの
wsl-bash。OS_CONTROL_WSL_DISTROで定義されたディストリビューション、またはデフォルトのkali-linuxを使用します。
対話フロー
os_create_sessionが永続セッションを作成します。os_send_inputがPTY/ConPTYに即座に書き込みます。os_read_outputはsince_seqを使用して新しい出力のみを取得します。os_session_statusはPID、シェル、ディレクトリ、終了を追跡します。
autonomous目標の外では、破壊的な可能性のあるコマンドには明示的な確認が必要です。自律目標では、目標で定義されたステップと時間の制限内で承認が継続されます。サーバーはローカル使用を目的としており、リモートトンネルの背後に配置する場合は、認証とスコープで保護し続ける必要があります。
自律目標
推奨フロー:
os_create_sessionが永続ターミナルを作成します。os_goal_startが目標、基準、session_idを受け取ります。os_send_inputはgoal_idを使用して、繰り返し確認なしで実行します。os_read_outputは増分出力を読み取ります。os_goal_updateはアクション、結果、証拠、次のステップを記録します。エージェントはすべての基準を証明するまで繰り返します。
サーバーは次のアクションを発明したり、モデルを単独で呼び出したりしません。目標の状態と制限を維持します。クライアント/エージェントは、終了状態になるまで呼び出しを続ける必要があります。
インストール
git clone https://github.com/Willian-2-0-0-1/os-control-mcp.git
cd os-control-mcp
python -m pip install -r requirements.txtWindowsでは、pywinptyがCMDとPowerShellのConPTYを有効にします。Kali/Linuxでは、バックエンドはネイティブPTYを使用します。.mcp.jsonファイルは、stdio経由でローカルサーバーを受け入れるMCPクライアントで使用できます。
GPT/Codex用プラグイン
リポジトリには、.codex-plugin/plugin.jsonマニフェストとMCPサーバーが含まれています。これにより、MCPプラグイン互換クライアントにパッケージを配布できます。
ChatGPTでローカルサーバーを使用するには、各ユーザーが自分のインスタンスを実行し、プライベート接続を構成する必要があります。GitHubリポジトリだけでは、ChatGPTにユーザーのコンピューターへのアクセス権は与えられません。
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
- AlicenseBqualityDmaintenanceExecute terminal commands locally or remotely via SSH with session persistence and environment variable support. Manage terminal sessions that maintain state for up to 20 minutes, enabling efficient command execution workflows. Connect using stdio or SSE for flexible integration with AI models and a12MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to create and manage persistent terminal sessions that continue running even after disconnection, with features like smart output management, web UI visualization, and automatic bug fixing with Codex integration.254MIT
- FlicenseNot gradedqualityDmaintenanceProvides stateful, interactive terminal access for LLMs to spawn and maintain persistent processes like SSH sessions, debuggers, and REPLs with continuous input/output interaction across commands.7
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to create and manage persistent, interactive shell sessions with full terminal emulation and PTY support. It allows for sequential command execution and supports interactive programs like vim or htop through specialized streaming and snapshot output modes.4MIT
Related MCP Connectors
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
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/Willian-2-0-0-1/os-control-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server