# termcp

Connects AI agents to local and remote SSH terminals. It helps you collaborate in the same shell while keeping credentials out of model prompts.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 57
- Author: open-mcp-ai
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/open-mcp-ai/Termcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/termcp

## What it does

Written in pure Go without CGO, termcp runs as a self-contained ~10 MB binary. It operates through stdio or HTTP, handing the model a genuine PTY channel on Unix or ConPTY on Windows. The tool multiplexes multiple sessions, manages remote connections, handles SFTP browsing, and supports port forwards.

A dedicated browser dashboard runs at `http://127.0.0.1:18765`. Here, the shell timeline separates command outputs, your keystrokes, and model actions by color. Whenever a command prompts for MFA, confirmation, or sudo passwords, the agent triggers `notify_user`. You type sensitive inputs directly in the browser. Those secrets never enter the LLM context.

Running via npx requires a working Node.js runtime on your machine. Otherwise, grab a prebuilt static binary directly from GitHub releases.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- execute interactive shell tasks via real PTY and SSH sessions
- submit passwords and MFA tokens safely outside model context
- inspect terminal actions between agent and user in a shared web view
- transfer files over SFTP alongside active shell commands

## Example prompts
- Connect to the staging server over SSH and check the status of systemd services.
- Run the database migration script in the terminal and ask for confirmation before applying changes.
- Open a local shell session and monitor the application logs.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
