← Back to directory
T

Termcp

Community
Let AI operate local or SSH terminals through one tool.
Category
Dev Tools #409 of 751
Stars
★ 76 Popular
Transport
stdio (local process) · Streamable HTTP · SSE
Runtime
Node.js · Docker · Go · Prebuilt binary
Credentials
Optional API key
License
MIT
Last commit
50FMRS · D

Termcp provides a single MCP tool entry point for local or SSH terminal operations and supports dynamically using other MCP servers. The source describes several transports and client configurations but does not list canonical tool identifiers, so the tools list is empty.

Strongest · Setup experience 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
8/20
Maintenance
8/20
Documentation
13/20
Setup experience
13/20
Why each score
Reliability 8/20
The README describes stdio and HTTP connections and claims the server exposes one tool; the manifest declares a streamable HTTP endpoint. The supplied material contains no server source, initialization or tool-list handshake evidence, tests, or CI, so handshake behavior, tool implementation, and error handling cannot be verified. The score is conservative for this static review.
Security and permissions 8/20
The material describes local and SSH terminal operations, cross-machine MCP installation, and remote calls, which involve powerful commands and access. The Docker example shows bearer-token configuration, and the documentation index mentions capability gates and a security model. However, implementation details for permissions, confirmation of dangerous operations, credential protection, and data flows are absent. The available evidence does not establish a red-line issue, so the score is not in the 0–4 range.
Maintenance 8/20
The material identifies an MIT license, version 0.2.9, and a GitHub repository; metadata says the project is not archived. It provides no commit history, release cadence, issue response, security contact, or dependency-update evidence, so ongoing maintenance is only partly established.
Documentation 13/20
The README provides npm, Go, Docker, and binary installation examples, configuration commands for mainstream clients, an HTTP URL, and an authentication-header example. It links to CLI, deployment, capability, and API documents, but their contents are not included here, so parameter details, troubleshooting, limits, and cost disclosures cannot be verified. Security and operational boundaries are also not sufficiently evidenced.
Setup experience 13/20
The README gives setup commands for Claude Code, Codex, and Gemini CLI, a JSON configuration example, several installation methods, and platform information. These make common setup paths fairly clear. Users still need a Node.js, Go, Docker, or binary runtime, and the supplied material contains no verified installation or connection run, so the score remains below the maximum.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Developers and operators who need AI to use local or SSH terminals.
  • Users who want a single tool entry point for dynamically using multiple MCP servers.

Not for

  • Users who need only domain-specific MCP tools and do not need terminal or remote-host operations.
  • Environments where AI must not run commands or access SSH hosts.

Required permissions

  • Terminal access needed to run commands.
  • SSH access to the relevant hosts when using SSH; the README describes human-approved and collaborative host management.

Risks and side effects

  • Terminal commands can change or delete data or affect host services; review commands and targets before running them.
  • SSH operations affect remote hosts, with access determined by the SSH credentials in use.
  • The README lists functional security testing as coming soon and provides no test results.

Setup

Before you start

Runtime:Node.js · Docker · Go · Prebuilt binary

TERMCP_AUTH_TOKEN optionalsecret Optional bearer token for HTTP connections; set it to a long random secret when deploying.
Other optional settings (5)
GOPROXY optional Optional Go module proxy; the docs suggest https://goproxy.cn,direct for users in mainland China.
TERMCP_VERSION optional Optional override for the binary version downloaded by the npm package.
TERMCP_MIRROR optional Optional override for the mirror used to download the binary.
TERMCP_BIN optional Optional override for the downloaded binary file.
TERMCP_SKIP_DOWNLOAD optional Optional setting to skip the npm package's binary download.

Add an MCP client configuration with command npx and arguments -y, @open-mcp-ai/termcp, daemon, stdio. The README also provides add commands for Claude Code, Codex, and Gemini CLI, plus an HTTP configuration example.

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

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

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

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.termcp]
command = "npx"
args = ["-y", "@open-mcp-ai/termcp", "daemon", "stdio"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add termcp -- npx -y @open-mcp-ai/termcp daemon stdio

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that one Termcp tool appears in your client's MCP tool list, then ask it to run pwd and check that it returns the current terminal directory.

Troubleshooting

  1. Check that the MCP command and arguments match the example and that the client can start npx.
  2. For HTTP mode, check that an instance serves localhost:18765/stream; for cross-container access, use the appropriate host address described in the README.
  3. When authentication is enabled, check the Authorization Bearer token configuration.
  4. For SSH failures, check connectivity to the target host and current SSH access.

Things to try

Once connected, you can ask your AI assistant things like:

  • Run pwd and ls in the local terminal and tell me the current directory and files.
  • Use SSH to check disk usage on a remote host.
  • Install an MCP server and confirm that it can be called.

Use cases

Run commands in a local terminal.
Manage remote hosts over SSH.
Dynamically install, call, or hot-load MCP servers.
Install and call MCP servers across machines over SSH.

Supported clients

Claude Code
Codex
Gemini CLI

Listed from the project's documentation, not tested by this site.

Overview

Termcp is an MCP server that lets AI agents act like a person at a real terminal, locally or over SSH. It exposes one tool entry point and supports dynamically installing and calling MCP servers, running commands, and managing hosts across machines. The README also describes a web interface where a person and AI share terminals.

Similar servers

Source revision 604b25981e5b Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/termcp.svg)](https://followmcp.com/en/servers/termcp)