经 AI Skill Hub 精选评估,终端AI代理 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
终端AI代理 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
终端AI代理 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/zhitongblog/unterm
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--ai--": {
"command": "npx",
"args": ["-y", "unterm"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 终端AI代理 执行以下任务... Claude: [自动调用 终端AI代理 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__ai__": {
"command": "npx",
"args": ["-y", "unterm"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
The terminal AI agents can drive.
Cross-platform terminal (macOS / Linux / Windows) built on a customized WezTerm engine, with one design bet: the terminal itself is controllable from the outside by any AI agent over MCP. Claude Code, Cursor, Aider, Continue, your own scripts — they all get the same JSON-RPC surface to spawn shells, run commands, read pane state, capture screenshots, change settings, and record sessions.
The other 2026 terminals each pick a different side: Warp embeds AI inside a closed cloud (Oz), Ghostty stays out of your way and lets you bring your own tools, iTerm2 is Mac-only. Unterm picks the third side — terminal as MCP-controllable surface, deliberately keep AI features out of the terminal, let external agents grip it through the API.
Practical implications:
▼ overlay is intentionally minimal — six quick actions and a link to the Web Settings page.unterm-cli lang set <code>.~/.unterm/instances/<name>.json. Agents that drive several windows at once enumerate that directory.Built on top of the WezTerm engine for renderer / font / TUI / SSH / mux work, with a thin product layer on top.
---
~/.unterm/instances/<name>.json; ~/.unterm/active.json points at the current foreground instance for single-target agents.cmd.exe spawns are wrapped to set the code page; no more mojibake on Chinese filenames.~/.unterm/scrollback.json, TERM_PROGRAM overridable via ~/.unterm/compat.json, background update poller writes ~/.unterm/update_check.json.---
127.0.0.1:<auto-port> (default 19876) — JSON-RPC over TCP, auth-token gated. Method namespaces: session, exec, screen, signal, orchestrate, proxy, workspace, capture, policy, system, server, instance, profile.127.0.0.1:<auto-port> (default 19877) — open in any browser via unterm-cli settings open or the Settings (Web) item in the ▼ menu. Tailwind-styled SPA, supports all 9 languages, keyboard + mouse.$HTTPS_PROXY, falls back to scanning common local ports. The single proxy.json toggle is {"enabled": true|false} — no manual URL configuration needed.~/.unterm/screenshots/, on the system image clipboard, and the path on the text clipboard.capture.scrollback re-renders a pane's entire history into one tall PNG headlessly (exact fonts/theme, streaming-encoded, works while occluded); capture.window_scroll long-shots another app's window by synthesizing wheel events and stitching frames via row-hash matching with sticky-header/footer detection (macOS). Both also in the ▼ menu and unterm-cli screenshot --scrollback / --scroll-app.KEY=value / 40+ char hex/base64 patterns are masked). Recordings are stored in the project directory under <cwd>/.unterm/sessions/<date>/<tab>-<time>.md, or in ~/.unterm/sessions/_orphan/ when no writable project context.▼ button:---
pwsh -File ci/build-msi.ps1
macOS code-signing + notarization is **local-only** (no CI step) so the
Developer ID `.p12` private key never has to leave your Mac. One-time
setup, on the Mac that holds the cert:
bash xcrun notarytool store-credentials UntermNotary \ --apple-id <your-apple-id> --team-id 6NQM3XP5RF ```
Pre-built artifacts are published on GitHub Releases:
https://github.com/zhitongblog/unterm/releases
| Platform | Artifact |
|---|---|
| macOS | Unterm-macos-<version>.dmg (universal arm64+x86_64, signed + notarized) |
| Linux | unterm-<version>.deb or Unterm-<version>-x86_64.AppImage |
| Windows | Unterm-<version>-x64.msi or Unterm-windows-<version>.zip |
unterm-cli screenshot [--include-window] [-o FILE]
unterm-cli screenshot --scrollback [--pane N] [--max-rows N] [-o FILE]
unterm-cli screenshot --scroll-app Safari [--scroll-title SUBSTR] [--max-frames N] [-o FILE] ```
Pass --json to any subcommand for raw JSON-RPC output (suitable for scripts). Pass --lang <code> to override the locale for one invocation. Pass --instance <id> (or set UNTERM_INSTANCE=<id>) when several Unterm windows are open and you need a deterministic target.
Multi-instance discovery is exposed over MCP rather than as a separate CLI list command — call instance.list against any running Unterm's MCP port, or just ls ~/.unterm/instances/.
unterm-cli settings open # open the Web Settings page unterm-cli theme list / set <id> # standard / midnight / daylight / classic / notion-dark / notion-light unterm-cli lang list / set <code> / current # en-US / zh-CN / zh-TW / ja-JP / ko-KR / de-DE / fr-FR / it-IT / hi-IN
User config lives at:
| Platform | Location |
|---|---|
| macOS | ~/.unterm/ |
| Linux | ~/.unterm/ |
| Windows | %USERPROFILE%\.unterm\ |
Files:
| File | Purpose |
|---|---|
server.json | Active instance's MCP/HTTP ports + auth token + pid (auto, mirrors the active instance for back-compat) |
active.json | Pointer at the current foreground instance id (auto, updated only when previous active dies) |
instances/<name>.json | Per-instance metadata (NATO id, ports, token, pid, started_at, version, platform) |
auth_token | Legacy mirror of the active auth token (for back-compat) |
proxy.json | {"enabled": true|false} — URLs auto-detected |
theme.json | Active theme id |
lang.json | Persisted locale override |
compat.json | {"term_program": "..."} override for $TERM_PROGRAM |
scrollback.json | Override the default scrollback line count |
update_check.json | Background update-poller state (last check, latest seen version) |
onboarded.json | First-run flags (which ▼ items have been seen) |
recording.json | Recording config (redaction patterns, etc.) |
sessions/ | Recording metadata index (per-project subdirs) |
screenshots/ | Region screenshots (PNG) |
---
高质量的开源MCP工具
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
AI Skill Hub 点评:终端AI代理 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | unterm |
| Topics | mcpagent-toolsclaudecodex |
| GitHub | https://github.com/zhitongblog/unterm |
| License | NOASSERTION |
| 语言 | Rust |
收录时间:2026-06-18 · 更新时间:2026-06-18 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端