Best for
- Developers who want an AI assistant to observe and operate terminal sessions.
- Workflows that need multiple isolated PTY sessions in one process.
- Automation that needs an MCP server without an interactive TTY.
According to the supplied README, Terminal MCP lets AI assistants observe and operate terminal sessions through MCP. The README documents nine tools, an stdio MCP configuration example, cross-platform PTY support, session recording, multi-session operation, and an optional sandbox. No server manifest was provided; the listed client support comes from the README.
Strongest · Documentation 13/20 Weakest · Security and permissions 5/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 22.12.0+
NO_UPDATE_NOTIFIER
Set to `1` to disable update notifications; no credential is needed.
Install Node.js 22.12.0 or later, then install with npm install -g @ellery/terminal-mcp. Add the example terminal entry to your MCP client configuration, or use terminal-mcp setup to configure detected clients. Add --headless for a self-contained process without a TTY, or pass options such as terminal dimensions and shell path.
{"mcpServers":{"terminal":{"command":"terminal-mcp"}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"terminal": {
"command": "terminal-mcp"
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.terminal] command = "terminal-mcp"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add terminal -- terminal-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm that tools such as `type` and `getContent` appear in your client's MCP tool list. Ask the assistant to type `echo hello` and read the terminal content to verify the connection and interaction.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Terminal MCP exposes a terminal session to AI assistants through MCP. It supports sending input, reading the buffer, capturing terminal state, recording sessions, and managing multiple isolated sessions. It offers interactive, client, and headless modes, with an optional sandbox for filesystem and network restrictions.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 008701ba7040 Data synced 2026-12-05 Read the FMRS scoring method Markdown