Unterm logo

Unterm

Controls local terminal panes so agents can run commands, inspect screens, capture evidence, and coordinate terminal-based workflows.

Install Unterm

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for Unterm, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The Unterm MCP server exposes a local Unterm terminal to AI agents through authenticated, line-delimited JSON-RPC over TCP. It can create shells, execute commands, inspect pane state, capture screenshots, record sessions, and operate Agent Cockpit workflows. Each Unterm window starts its own loopback-only MCP endpoint and records connection details in a per-instance file. Reach for it when an agent needs direct, scriptable control of terminal sessions without sending core operations through a cloud service.

Use cases

  • Run commands in agent-controlled terminal panes
  • Inspect waiting agents through the Agent Cockpit Inbox
  • Launch parallel agents in isolated git worktrees
  • Verify and review fleet changes before merging
  • Capture terminal screenshots and task evidence

Key features

  • Authenticated local MCP endpoint over line-delimited JSON-RPC
  • Shell, command, pane-state, screenshot, and session controls
  • Agent Cockpit status, Inbox, fleet, and review operations
  • Isolated workspaces with expiring leases and approvals
  • Multi-instance discovery through local instance files

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

6/6 checks healthy over the last 44d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars14Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Unterm works

What the Unterm MCP server does

The Unterm MCP server makes a running Unterm terminal controllable by external agents. Its MCP surface covers terminal operations such as spawning shells, sending commands, reading pane state, taking screenshots, and recording sessions. It also exposes Agent Cockpit functions for observing and coordinating agents that are already running in terminal panes.

The terminal can identify agent activity and states such as working, waiting for you, idle, or done. Through the cockpit API and CLI, an orchestrator can inspect the waiting queue, launch fleets of agents in separate git worktrees, review their changes, verify results, merge accepted work, discard changes, or retry a failed fleet member.

How it works

Every Unterm window starts a local MCP server alongside its local Web Settings server. The MCP endpoint uses line-delimited JSON-RPC over TCP, listens only on 127.0.0.1, and requires an authentication token. There is no cloud round trip for the core terminal control path.

Running instances receive NATO-style names such as alpha or bravo. Each instance writes its endpoint ports and authentication token to ~/.unterm/instances/<name>.json, allowing an agent or script that manages multiple windows to discover them. The API includes capability and risk information, expiring leases, isolated workspaces, approvals, and a hash-chained audit trail. These controls matter when an orchestrator must limit where commands run or provide verifiable task evidence.

Agent sessions can carry caller-provided task IDs and expose what an agent said, what it requested to run, and how it finished. Fleet work is placed in separate git worktrees, while Review checkpoints changes before they affect the main repository. Verification can use inferred project commands or a supplied validation command, and merging is gated on a passing verification unless an audited force override is used.

Setup and configuration

Install Unterm from a GitHub Release artifact for macOS, Debian or Ubuntu, other Linux distributions, or Windows.

Connection details are discovered from the instance files under ~/.unterm/. Clients must use the recorded endpoint and authentication token. Settings such as theme, language, and unterm.conf are configured through Web Settings, unterm-cli, or the configuration file rather than through MCP.

Tools and capabilities

Supported capability areas include:

  • Shell and pane control, command execution, pane-state reads, scrolling screenshots, and session recording.
  • Agent state inspection, Inbox operations, fleet launch, review, verification, merge, rollback, and retry.
  • Capability publication through terminal.manifest, approvals, leases, workspace boundaries, and evidence artifacts.
  • Multi-instance discovery through the local instance directory.

The CLI provides related commands such as agent status, agent inbox, fleet launch, review verify, and review list. MCP and CLI expose the cockpit so an orchestrating agent can manage it without a person operating the terminal directly.

Limitations and notes

Unterm is a desktop terminal application, not a standalone remote service.

Claude Code, Codex, Gemini CLI, Cursor, and Aider are named as clients or agents that can use the same JSON-RPC surface. Theme, language, and unterm.conf are outside MCP.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Unterm

Unterm is an MCP server that connects AI agents to a local Unterm terminal over authenticated line-delimited JSON-RPC on TCP. It provides tools for spawning shells, running commands, reading pane state, capturing screenshots, recording sessions, and operating the Agent Cockpit.

Install Unterm from a GitHub Release artifact and launch the application. macOS, Debian or Ubuntu, other Linux distributions, and Windows have documented release packages. Each running Unterm window starts its local MCP server automatically.

Yes, Cursor is named as a client that can use Unterm's JSON-RPC surface. The endpoint runs locally on 127.0.0.1 and requires the authentication token recorded in the corresponding file under `~/.unterm/instances/`.

Use the endpoint port and authentication token recorded in `~/.unterm/instances/<name>.json`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewUnterm AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/unterm?style=directory)](https://allmcps.com/mcp/unterm)
HTML Embed
<a href="https://allmcps.com/mcp/unterm"><img src="https://allmcps.com/api/badge/unterm?style=directory" alt="Unterm on AllMCPs" /></a>