# Termcp

> Termcp is an open-source MCP server for developer tools. One-tool MCP server that gives agents a shared terminal, locally or over SSH. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Web, Self-hosted
- **Repository:** https://github.com/open-mcp-ai/termcp
- **MCP Registry name:** io.github.open-mcp-ai/termcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add termcp -- docker run -i --rm ghcr.io/open-mcp-ai/termcp:0.2.9
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "termcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/open-mcp-ai/termcp:0.2.9"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add termcp -- docker run -i --rm ghcr.io/open-mcp-ai/termcp:0.2.9
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.termcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/open-mcp-ai/termcp:0.2.9"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "termcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/open-mcp-ai/termcp:0.2.9"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "termcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/open-mcp-ai/termcp:0.2.9"
      ]
    }
  }
}
```

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/termcp
