claude mcp add termada -- docker run -i --rm ghcr.io/islomzoda/termada{
"mcpServers": {
"termada": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/islomzoda/termada"]
}
}
}MCP Servers overview
<h1 align="center">Termada</h1>
<p align="center"><b>The reliable, transparent terminal runtime for AI agents.</b></p>
<p align="center">
<a href="https://github.com/Islomzoda/termada/releases"><img alt="Release" src="https://img.shields.io/github/v/release/Islomzoda/termada?color=2ea043&label=release"></a>
<a href="https://github.com/Islomzoda/termada/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Islomzoda/termada/actions/workflows/ci.yml/badge.svg"></a>
<a href="https://registry.modelcontextprotocol.io"><img alt="MCP Registry" src="https://img.shields.io/badge/MCP-registry-5b5bd6"></a>
<img alt="Go" src="https://img.shields.io/badge/go-1.26%2B-00ADD8">
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>
</p>
Termada is a single-binary, local-first runtime that sits between an AI agent and
the terminal — local, and remote over SSH. The agent talks to it over the
[Model Context Protocol](https://modelcontextprotocol.io) and gets a sturdy
toolset instead of a raw shell: commands that don't hang, persistent sessions
that keep `cwd`/env, async jobs with streamed output, PTY input for interactive
prompts, and structured results — while you watch and control everything from a
live dashboard with a kill-switch and an approval queue.
<p align="center">
<img alt="Termada — the live dashboard" src="docs/preview.jpg" width="860">
</p>
<p align="center"><sub>The live dashboard: every session is a real terminal you can watch and take over — block or pause the agent, type in yourself — beside the agent panel, read-only policies, a tamper-evident History, and a Stop-All kill-switch.</sub></p>
---
## Why
Handing an AI agent a raw shell is fragile and opaque: a command blocks on a
prompt and the agent hangs; `cd` and exported env vanish between calls; long
builds flood the context window; and you can't see — let alone stop — what's
running. Termada replaces the raw shell with a runtime that is **reliable** for
the agent and **transparent** for you:
- **Reliable for the agent** — every command has a deadline and returns
structured output; sessions persist `cwd`/env; long jobs run async and stream
incrementally instead of dumping; interactive prompts are answerable.
- **Transparent for you** — one dashboard shows every agent and every session as
a real terminal; dangerous commands wait for your approval; nothing is hidden;
one button stops everything.
## Features
**Execution engine**
- Persistent-shell sessions over a PTY that keep `cwd`, env, and venv between commands.
- Async jobs: `exec_start` → `job_id`; poll incrementally by a stable cursor, with a full status state machine and structured errors.
- Answer interactive prompts (`exec_write`, with secret redaction); send signals / kill by process group.
- Clean output: stateful ANSI/VT stripping, CR-collapse, bounded retention, best-effort secret redaction.
**Live control & observability**
- A long-lived daemon with a control plane over a Unix socket; `serve --stdio` is a thin shim that proxies MCP to it — so **multiple agents share one daemon and one dashboard**.
- Web dashboard where **each session renders as a real terminal** (xterm.js, streamed over SSE) with **operator take-over**: type into a job's PTY, hold the agent's input, or pause its output.
- Approval queue, activity feed, read-only policy view, and a **Stop-All** kill-switch.
- A TUI (`termada top`) and a full inspection CLI.
- Tamper-evident, hash-chained, secret-redacted audit log (`termada audit verify`).
**Security**
- Policy engine: argv-level allow / deny / confirm. Dangerous commands park in an approval queue (deny-by-default on timeout; agents can't self-approve).
- age-encrypted vault (no CGO); secrets are never returned to agents, only injected into the daemon.
- Per-agent quotas and non-spoofable identity: cap concurrent jobs per agent, and bind an agent id to a secret token so `owner` can't be forged.
**Remote & fleet**
- Persistent **remote SSH sessions** with transparent reconnect — a dropped link is re-dialled so the session keeps serving commands.
- `fleet_run` across servers by name or tag with structured per-server results; SSH via vault creds, ssh-agent, or on-disk keys, with TOFU host-key pinning.
**Operations**
- Crash recovery (jobs persist; running jobs come back as `orphaned`), local-FS snapshots/undo, desktop & Telegram notifications.
- Out-of-process plugins exposed to agents as `<plugin>.<tool>`.
- `termada update` — self-update from GitHub releases (download → verify SHA-256 → atomic replace).
> **Not yet:** a native Windows ConPTY runtime (cross-compiles today, but PTY and
> signals are stubs) and code-signing / notarization.
## Install
**One line, no Go needed** — downloads the prebuilt binary for your OS/arch
(SHA-256 verified) to `~/.local/bin`:
```bash
curl -fsSL https://raw.githubusercontent.com/Islomzoda/termada/main/install.sh | sh
```
Pin a version with `TERMADA_VERSION=v0.7.5`, or change the location with
`TERMADA_BIN_DIR=~/bin`. If `~/.local/bin` isn't on your `PATH`, the installer
prints the one line to add.
<details><summary>Other ways — Docker, Homebrew, packages, source</summary>
```bash
# Docker (nothing to install) — pull the published image:
docker run --rm -p 7717:7717 ghcr.io/islomzoda/termada serve
# Homebrew:
brew install Islomzoda/tap/termada
# From source (needs Go 1.26+):
TERMADA_FROM_SOURCE=1 ./install.sh
# or: go build -o ~/.local/bin/termada ./cmd/termada
```
Releases also ship `.deb` and `.rpm` packages on the
[releases page](https://github.com/Islomzoda/termada/releases).
</details>
## Quick start
```bash
termada serve # start the daemon + dashboard (prints the URL)
termada dashboard # open it — http://127.0.0.1:7717, no token on your own machine
```
Connect it to your agent — this is a **one-time, machine-wide** step. You do it
once and every project gets Termada automatically; there's nothing to copy into
each repo.
For Claude Code, one command does it:
```bash
claude mcp add --scope user termada -- termada serve --stdio
```
Using a different agent (or prefer a file)? Add this once to your **global** MCP
config — see [`.mcp.json.example`](.mcp.json.example):
```json
{ "mcpServers": { "termada": { "command": "termada", "args": ["serve", "--stdio"] } } }
```
That's it. From now on, just ask the agent to do terminal work — it flows through
Termada while you watch and control it live. The one shared daemon serves every
project and every agent session, all on the same dashboard.
### Reach remote servers through Termada
For the agent to operate a remote box **through Termada** (observable, reconnecting,
policy-gated) instead of shelling out to raw `ssh`, register the server once — then
it's reachable **by name**, no IP and no raw ssh client.
Add it to `config.yaml` (see [`config.example.yaml`](config.example.yaml)) and
restart the daemon:
```yaml
servers:
- name: prod
host: prod.example.com # hostname or IP of your server
user: deploy
# auth is OPTIONAL: a vault entry name for a Termada-stored credential.
# Omit it to use your own ssh-agent / ~/.ssh key — if you can `ssh deploy@host`, so can Termada.
# auth: prod-ssh-key
tags: [web]
```
…or add it live from the dashboard (**Servers → Add**). Confirm it's registered:
```bash
termada servers # lists registered servers by name
```
Now the agent reaches it by name:
- **a remote shell session** — `session_create(target="prod")`, then run `exec_run` / `exec_start` in that session (state persists, the link auto-reconnects);
- **one command across servers** — `fleet_run(command=[...], servers=["prod"])` (or by tag).
### Make the agent actually use Termada
Agents like Claude Code and Cursor ship with a built-in shell and will reach for it
(and for raw `ssh`) by default. Two things steer them to Termada:
1. **Install the usage skill** — the plugin below, or [`skills/termada`](skills/termada/SKILL.md). It teaches the agent how to drive the tools (and to route remote work through registered servers instead of `ssh`).
2. **Add a project rule** so the agent *prefers* Termada. Put this in `CLAUDE.md`
(Claude Code), `.cursor/rules` (Cursor), or your agent's system prompt:
> Use the Termada MCP tools for **all** shell and remote work — `exec_run` /
> `exec_start` for commands, `session_create(target="<server>")` and `fleet_run`
> for remote servers. Do **not** use the built-in shell or a raw `ssh` client:
> everything must go through Termada so it is observable, reconnecting, and
> policy-gated. If a server isn't in `server_list()`, ask me to register it
> rather than falling back to `ssh`.
<details><summary>Install as a Claude Code plugin</summary>
This repo is also a Claude Code plugin marketplace — it bundles the MCP server
config and the usage skill (you still need the `termada` binary on `PATH`):
```text
/plugin marketplace add Islomzoda/termada
/plugin install termada@termada
```
</details>
<!-- mcp-name: io.github.Islomzoda/termada -->
## MCP tools
Commands are passed as an **argv array** (`["echo", "hi"]`), never a shell string,
so shell metacharacters are inert by construction.
| Group | Tools |
| --- | --- |
| Run | `exec_run` · `exec_start` · `exec_poll` · `exec_write` · `exec_signal` · `exec_kill` · `exec_list` |
| Sessions | `session_create` · `session_list` · `session_close` |
| Files & logs | `file_read` · `file_write` · `logs_tail` |
| Recipes | `recipe_list` · `recipe_run` |
| Remote | `server_list` · `fleet_run` |
| Meta | `capabilities` |
## CLI
```text
termada serve [--stdio] daemon, or the MCP shim
termada dashboard | top | status open the UI / live TUI / overview
termada jobs [-f] | sessions list jobs / sessions
termada logs <job> [-f] stream a job's output
termada kill <job> | stop kill a job / kill-switch (stop all)
termada pending | appWhat people ask about termada
What is Islomzoda/termada?
+
Islomzoda/termada is mcp servers for the Claude AI ecosystem with 2 GitHub stars.
How do I install termada?
+
You can install termada by cloning the repository (https://github.com/Islomzoda/termada) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is Islomzoda/termada safe to use?
+
Islomzoda/termada has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains Islomzoda/termada?
+
Islomzoda/termada is maintained by Islomzoda. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to termada?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy termada to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/islomzoda-termada)<a href="https://claudewave.com/repo/islomzoda-termada"><img src="https://claudewave.com/api/badge/islomzoda-termada" alt="Featured on ClaudeWave: Islomzoda/termada" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。