
alejandroqh/npcterm
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
alejandroqh/npcterm は https://github.com/alejandroqh/npcterm. からインポートされた MCP サーバーの候補です
概要
alejandroqh/npcterm は https://github.com/alejandroqh/npcterm. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
究極のハーネスエージェントツール。 MCP(Model Context Protocol)を介して露出したAIエージェントのヘッドレス、メモリ内端子エミュレータ。
NPCterm は AI の代理店 完全なターミナル アクセス を与えます。 シェルをスプーンしたり、任意のコマンドを実行したり、画面の出力を読み込み、キーストロークを送信したり、TUI アプリケーションとやり取りする機能。 これは、AIエージェントを付与できる最も強力な機能の1つです。コンピューターへのアクセスを有効と同等です。
注意事項の使用。 ターミナルは、制限のない実行環境です。 エージェントが入力できるコマンドは、システムが実行されます。 これには、ソフトウェアのインストール、ファイルの変更、ネットワークへのアクセス、シェルユーザができることなどが含まれます。 サンドボックスまたは管理された環境で NPCterm を展開し、少なくとも特権の原則を常に適用して下さい。 適切な保護措置なしで、信頼できる代理店にそれを暴露しないでください。
MCP ツールを通じて AI エージェントが起動、読み、ナビゲートする [btop] でシステム全体を監視します。
##特徴
-フルANSI / VT100ターミナルエミュレーション [portable-ptyを介してPTYスポーンディングで
- JSON-RPCのstdio上の完全なターミナル制御のための17 MCP用具
- **TurboMCP 3でバスト **.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
NPCterm
The ultimate harness agent tool. A headless, in-memory terminal emulator for AI agents, exposed via MCP (Model Context Protocol).
NPCterm gives AI agents full terminal access. The ability to spawn shells, run arbitrary commands, read screen output, send keystrokes, and interact with TUI applications. This is one of the most powerful capabilities you can grant an AI agent: it is effectively equivalent to giving it access to a computer.
Use with precautions. A terminal is an unrestricted execution environment. Any command the agent can type, the system will run. This includes installing software, modifying files, accessing the network, and anything else a shell user can do. Deploy NPCterm in sandboxed or controlled environments, and always apply the principle of least privilege. Do not expose it to untrusted agents without appropriate safeguards.
Full system monitoring with btop, launched, read, and navigated entirely by an AI agent through MCP tools.
Features
- Full ANSI/VT100 terminal emulation with PTY spawning via
portable-pty - 17 MCP tools for complete terminal control over JSON-RPC stdio
- Built on TurboMCP 3.0 – production-grade MCP SDK with auto-generated tool schemas
- Multi-version MCP protocol support – compatible with clients using
2024-11-05,2025-06-18, or2025-11-25spec versions - Incremental screen reads with dirty-row tracking for efficient output consumption
- Process state detection: knows when a command is running, idle, waiting for input, or exited
- Event system: ring buffer of terminal events (CommandFinished, WaitingForInput, Bell, etc.)
- AI-friendly coordinate overlay for precise screen navigation
- Mouse, selection, and scroll support for interacting with TUI applications
- Multiple concurrent terminals with short 2-character IDs
- Built-in web debug viewer – live terminal rendering and activity log in the browser, controllable via MCP tools
Install
cargo install npcterm
Install for any AI CLI / IDE
Installs the binary and auto-configures it for every MCP client detected: Claude Code, Claude Desktop, Codex, OpenCode, OpenClaw.
curl -fsSL https://raw.githubusercontent.com/alejandroqh/marketplace/main/h39.sh | bash
Pre-built binaries
Pre-built binaries are available in the dist/ directory for:
- macOS ARM64 (Apple Silicon) / x64 (Intel)
- Linux ARM64 / x64
- Windows x64
Download the binary for your platform and place it somewhere in your PATH.
Build from source
cargo build --release
The binary will be at target/release/npcterm.
MCP config
Add to your MCP client config:
{
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"npcterm": {
"command": "npcterm"
}
}
}