Interactive Terminal MCP server
io.github.amol21p/interactive-terminal·v1.0.7·18 starsMCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker
18 stars96 downloads/wk
Reviews
Write oneNobody has reviewed Interactive Terminal yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Interactive Terminal tools (7, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
close_sessionClose/kill an interactive terminal session.
confirm_dangerous_commandwrite actionExecute a command that was flagged as dangerous by send_command. Requires a justification explaining WHY the command is necessary. This is a separate confirmation step for safety.
create_sessionwrite actionSpawn an interactive terminal session (REPL, shell, database client, SSH, etc.). Returns a session_id for subsequent commands.
list_sessionsList all active interactive terminal sessions. Safe read-only operation.
read_outputRead the current terminal screen without sending any input. Safe read-only operation.
send_commandwrite actionSend a command/input to an interactive session and wait for output. Appends newline automatically. Returns clean text output (no ANSI codes). If a dangerous command is detected, you must use confirm_dangerous_command first.
send_controlwrite actionSend a control character or special key to a session (e.g., ctrl+c to interrupt, ctrl+d to send EOF, arrow keys, tab for completion).
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan55 source files scanned15/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 224 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (2)
- mediumnpm install lifecycle script present
install.script - mediumnpm install lifecycle script present
install.scriptpackage.json: …t run", "test:watch": "vitest", "postinstall": "node -e \"try{require('fs').chmodSync(…
How Interactive Terminal compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 60/100
- higher than 14% of 1,119 Developer tools servers
- Tools
- 7
- the typical Developer tools server has 7
- Tools that change things
- 57%
- typical: 5%. Fewer write tools means less an agent can break
- GitHub stars
- 18
- more than 87% of 854 Developer tools servers
- Downloads a week
- 96
- more than 59% of 430 Developer tools servers with a package
What its tools let an agent do: 2 read · 1 create · 2 change · 2 send or post
Install Interactive Terminal in Claude Code, Cursor or VS Code
Runs npx -y mcp-interactive-terminal on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add interactive-terminal -- npx -y mcp-interactive-terminal
What the publisher says
From the Interactive Terminal repository's README, as published. We do not edit it. Read it on GitHub
mcp-interactive-terminal
MCP server that gives AI agents (Claude Code, Cursor, Windsurf, etc.) real interactive terminal sessions. Run REPLs, SSH, database clients, and any interactive CLI — with clean text output, smart completion detection, and 7-layer security.
Why This Exists
AI coding agents can't handle interactive commands. There's no PTY, no stdin streaming. You can't run rails console, python, psql, ssh, or any REPL through them. This MCP server fixes that.
AI Agent (Claude Code, Cursor, etc.)
↕ MCP (JSON-RPC over stdio)
mcp-interactive-terminal
↕ node-pty + xterm-headless
Interactive Process (rails console, python, psql, ssh, bash...)
↕
Clean text output (exactly what a human would see)Install
Claude Code
claude mcp add terminal -- npx -y mcp-interactive-terminalThat's it. The server is now available. Ask Claude to "open a python REPL and calculate 2**100".
Cursor
Go to Settings > MCP Servers, click Add Server, and enter:
{
"mcpServers": {
"terminal": {
"command": "npx",
"args": ["-y", "mcp-interactive-terminal"]
}
}
}Windsurf
Add to your MCP configuration:
{
"mcpServers": {
"terminal": {
"command": "npx",
"args": ["-y", "mcp-interactive-terminal"]
}
}
}VS Code (GitHub Copilot)
Add to your .vscode/mcp.json:
{
"servers": {
"terminal": {
"command": "npx",
"args": ["-y", "mcp-interactive-terminal"]
}
}
}Any MCP Client
The server communicates over stdio using the Model Context Protocol. Any MCP-compatible client can use it with the same npx -y mcp-interactive-terminal command.
Real-World Examples
Rails Console
You: "Open rails console for staging and check the user count"
Agent creates session → bash
Agent sends: cd /path/to/app && rails console -e staging
Agent sends: User.count
Agent returns: 1,847,293Python REPL
You: "Open python and test my sorting algorithm"
Agent creates session → python3
Agent sends: def quicksort(arr): ...
Agent sends: quicksort([3, 1, 4, 1, 5, 9])
Agent returns: [1, 1, 3, 4, 5, 9]Database Client
You: "Connect to postgres and show me the largest tables"
Agent creates session → psql -U myuser mydb
Agent sends: SELECT tablename, pg_size_pretty(pg_total_relation_size(tablename::text)) ...
Agent returns: formatted table of resultsSSH
You: "SSH into the staging server and check disk usage"
Agent creates session → ssh user@staging.example.com
Agent sends: df -h
Agent returns: disk usage tableDocker
You: "Open a shell in my running container and check the logs"
Agent creates session → docker exec -it my-container bash
Agent sends: tail -100 /var/log/app.log
Agent returns: last 100 log linesNode.js REPL
You: "Open node and test the date parsing logic"
Agent creates session → node
Agent sends: new Date('2024-02-29').toISOString()
Agent returns: 2024-02-29T00:00:00.000ZTools
The server exposes 7 MCP tools:
create_session — Spawn an interactive process
{ "command": "python3", "name": "my-python", "cwd": "/project" }
→ { "session_id": "a1b2c3d4", "name": "my-python", "pid": 12345 }Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Interactive Terminal: common questions
- Is Interactive Terminal MCP server safe?
- With care: it is graded C, so read the findings first (60/100). Read the Interactive Terminal safety report
- How do I install Interactive Terminal?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Interactive Terminal need an API key?
- No secret keys are declared. It reads 3 settings from the environment.
- Is Interactive Terminal maintained?
- The last commit was 259 days ago (2026-02-16). The latest release is v1.0.7.
- What can I use instead of Interactive Terminal?
- Servers from other publishers that do the same job: Notion MCP server, Homebutler MCP server and maintenant MCP server.
- How does Interactive Terminal compare with other Developer tools MCP servers?
- safety score 60/100 (higher than 14% of 1,119 Developer tools servers); tools 7 (the typical Developer tools server has 7); tools that change things 57% (typical: 5%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Interactive Terminal
Same job from other publishers: the closest match first, then the best rated.
- NotionToken-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.not reviewedEstablishedB
- HomebutlerTells an agent what changed on a server since it last looked - status, Docker, backups, Proxmox.not reviewedEstablishedC
- maintenantDocker monitoring for AI agents: logs, history, alerts. Can ack alerts; never touches containers.not reviewedEstablishedC
- ServonautManage AWS, Hetzner, OVH and SSH servers: status, logs, CloudWatch, IP bans, safe command exec.not reviewedEstablishedA
- Unraid RMCPRust MCP server and CLI for Unraid GraphQL operations across NAS, Docker, VM, and storage workflows.not reviewedEstablishedC