Termcp logo

Termcp

Gives AI agents one terminal-oriented MCP tool for local shells, SSH hosts, and dynamic MCP server loading.

Install Termcp

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "termcp": {
      "command": "npx",
      "args": [
        "-y",
        "@open-mcp-ai/termcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @open-mcp-ai/termcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

termcp MCP server exposes a single MCP tool that lets an AI work through local terminals and remote hosts over SSH. It can install and invoke MCP servers at runtime, including servers hosted on other machines, and can hot-load MCP servers written by the AI. The dependency-free Go binary runs on macOS, Linux, and Windows, with stdio and HTTP access plus a shared web terminal UI. Reach for it when an agent needs terminal-driven host management or a stable way to load additional MCP capabilities without expanding its MCP tool surface.

Use cases

  • Manage remote hosts over SSH from an AI workflow
  • Run local shell sessions through a single MCP tool
  • Install and call MCP servers dynamically
  • Hot-load an MCP server created by an agent
  • Share AI and human terminal sessions in a web UI

Key features

  • Single-tool MCP surface
  • Local terminal and SSH host access
  • Runtime MCP server installation and loading
  • stdio, HTTP, and legacy SSE entry points
  • Cross-platform dependency-free Go binary
  • Shared web terminal interface

Security & health

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

ActiveLast checked

Recent health check succeeded.

23/23 checks healthy over the last 55d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @open-mcp-ai/termcp (npm)

Adoption & maintenance

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

GitHub stars76Stargazers on the source repository.
npm downloads185Package downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Termcp works

What termcp does

termcp gives an AI agent terminal access through MCP rather than exposing a separate tool for every command or extension. Its single-tool surface can operate on a local terminal, connect to hosts through SSH, and install or call MCP servers across machines over SSH. Agents can also create an MCP server and load it during a session.

The project is aimed at workflows where terminal interaction, host administration, and dynamic capability loading belong behind one MCP entry point. A web interface lets a person and an AI view and share local or SSH terminal sessions. Terminal output identifies whether each line came from a human, the AI, or the shell.

How it works

The server uses the Termcp protocol, also called Terminalization Model Context Protocol, to represent terminal-oriented operations and dynamically loaded MCP capabilities. Loading more servers or skills does not add more MCP tools to the client-facing surface; termcp continues to expose exactly one tool.

Clients can connect through an MCP stdio process or through the HTTP stream endpoint. Legacy SSE is also available through /sse, with JSON-RPC sent to /message. An instance can run locally, in Docker, or as a standalone binary. Remote host access uses SSH, allowing an agent to manage approved hosts and invoke MCP servers located on other machines.

Setup and configuration

The simplest setup runs the npm package through npx:

config.json
{
  "mcpServers": {
    "termcp": {
      "command": "npx",
      "args": ["-y", "@open-mcp-ai/termcp", "daemon", "stdio"]
    }
  }
}

The package can also be installed globally with npm, installed with Go, run from a prebuilt release binary, or started from the published Docker image. Prebuilt binaries target macOS, Linux, and Windows on amd64 and arm64. Docker examples expose port 18765 and persist data under /home/termcp.

For HTTP clients, use an endpoint such as http://localhost:18765/stream. A bearer token can be supplied with the Authorization header when the instance is started with token authentication. The npm distribution downloads a matching binary and supports overrides including TERMCP_VERSION, TERMCP_MIRROR, TERMCP_BIN, and TERMCP_SKIP_DOWNLOAD.

Tools and capabilities

  • Exposes exactly one MCP tool for terminal-oriented interaction.
  • Runs commands and sessions on local terminals.
  • Connects to and manages hosts through SSH.
  • Installs and calls MCP servers dynamically at runtime.
  • Loads MCP servers written by the AI without restarting the overall workflow.
  • Provides a web UI for shared local and SSH terminal sessions.

Limitations and notes

Terminal access can affect the local machine or remote hosts, so deployments should account for the server's authentication and capability controls. HTTP deployments can use bearer-token authentication; loopback-only and Docker configurations are also described by the project. The server is distributed as a dependency-free Go binary and is released under the MIT License.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Termcp

termcp is an MCP server that connects AI agents to local terminals and remote hosts over SSH. It exposes one terminal-oriented MCP tool for running sessions, managing hosts, and dynamically installing or calling MCP servers, including servers loaded from other machines or created by the agent.

Install it with `npx -y @open-mcp-ai/termcp daemon stdio` in an MCP client configuration. You can also install the npm package globally, use `go install`, run a prebuilt binary, or start the Docker image.

Yes, termcp can be used with clients that accept standard MCP stdio or HTTP servers. Configure the stdio command with `npx -y @open-mcp-ai/termcp daemon stdio`, or point an HTTP client at the `/stream` endpoint.

Yes, termcp supports SSH-based host management and can install or call MCP servers across machines over SSH. This makes remote terminal sessions and remote MCP capabilities available through the same single-tool surface.

termcp supports macOS, Linux, and Windows. Prebuilt binaries are available for amd64 and arm64, and the project also provides npm, Go, and Docker installation paths.

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 PreviewTermcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/termcp?style=directory)](https://allmcps.com/mcp/termcp)
HTML Embed
<a href="https://allmcps.com/mcp/termcp"><img src="https://allmcps.com/api/badge/termcp?style=directory" alt="Termcp on AllMCPs" /></a>