Termcp
One-tool MCP server that gives agents a shared terminal, locally or over SSH
Termcp is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Remotely
- Version
- 0.2.9
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add termcp -- docker run -i --rm ghcr.io/open-mcp-ai/termcp:0.2.9Add --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"termcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/open-mcp-ai/termcp:0.2.9"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"termcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/open-mcp-ai/termcp:0.2.9"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"termcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/open-mcp-ai/termcp:0.2.9"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"termcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/open-mcp-ai/termcp:0.2.9"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add termcp -- docker run -i --rm ghcr.io/open-mcp-ai/termcp:0.2.9Or add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.termcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"termcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/open-mcp-ai/termcp:0.2.9"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }Or run: gemini mcp add -s user termcp docker -- run -i --rm ghcr.io/open-mcp-ai/termcp:0.2.9
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "termcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Termcp
The idea is to expose exactly one tool and let the agent work like a person at a terminal. Because additional MCP servers and skills are loaded through that terminal rather than registered as separate tools, the README says loading more of them does not grow the context. It claims an agent can install and call other MCP servers at run time, write its own server and hot-load it, and reach other machines over plain SSH.
Host access is described as approved and collaborated on by a human, and the same terminals appear in a web UI shared between the person and the AI. It ships as a single dependency-free binary of roughly 10 MB, with a wire protocol called TERM/1 documented in the repo.
It can run over stdio via npx, as an HTTP service on port 18765 with an optional bearer token, or as a Docker image. The benchmark and security-testing sections are still marked coming soon.
What it does
- Single tool surface
- Only one tool is exposed, so adding MCP servers does not enlarge context.
- Runtime MCP installs
- An agent can install and call other MCP servers while running.
- SSH host management
- Manage remote hosts with human approval.
- Shared web UI
- A person and an AI see and use the same terminals.
- Static binary
- One cross-platform binary of about 10 MB.
- Several transports
- stdio, streamable HTTP, legacy SSE and REST.
Good for
- Give a coding agent a real terminal without registering dozens of tools
- Manage servers over SSH with a human approving steps
- Let an agent add MCP servers on demand
- Run a shared agent terminal in Docker behind a token
Pricing
Open source
Termcp FAQ
How do I add Termcp to Claude Code?
Run claude mcp add termcp -- npx -y @open-mcp-ai/termcp daemon stdio.
What licence?
MIT.
How can I install Termcp other than npx?
Via npm, go install, Docker or a prebuilt binary for linux, darwin and windows on amd64 and arm64.
How do I secure the HTTP mode?
Start it with --auth-token and send a bearer header; the Docker example sets TERMCP_AUTH_TOKEN.
Is Termcp free?
Yes. Termcp is open source, so you can use and self-host it for free.
What are the best alternatives to Termcp?
The closest alternatives to Termcp are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


