GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
제작자가 쓴 설명(영어 원문)
MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
MCP_TERMINAL_MAX_SESSIONS, MCP_TERMINAL_SANDBOX, MCP_TERMINAL_REDACT_SECRETS필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"interactive-terminal": {
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
],
"env": {
"MCP_TERMINAL_MAX_SESSIONS": "your-value",
"MCP_TERMINAL_SANDBOX": "your-value",
"MCP_TERMINAL_REDACT_SECRETS": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add interactive-terminal --env MCP_TERMINAL_MAX_SESSIONS=your-value --env MCP_TERMINAL_SANDBOX=your-value --env MCP_TERMINAL_REDACT_SECRETS=your-value -- npx -y mcp-interactive-terminal실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"interactive-terminal": {
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
],
"env": {
"MCP_TERMINAL_MAX_SESSIONS": "your-value",
"MCP_TERMINAL_SANDBOX": "your-value",
"MCP_TERMINAL_REDACT_SECRETS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"interactive-terminal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-interactive-terminal"
],
"env": {
"MCP_TERMINAL_MAX_SESSIONS": "your-value",
"MCP_TERMINAL_SANDBOX": "your-value",
"MCP_TERMINAL_REDACT_SECRETS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
MCP_TERMINAL_MAX_SESSIONS envMCP_TERMINAL_SANDBOX envMCP_TERMINAL_REDACT_SECRETS env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 amol21p 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.7)은 9개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: GitHub, Desktop Commander, Cloudflare MCP
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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.
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)
claude mcp add terminal -- npx -y mcp-interactive-terminal
That's it. The server is now available. Ask Claude to "open a python REPL and calculate 2**100".
Go to Settings > MCP Servers, click Add Server, and enter:
{
"mcpServers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"] } } }
Add to your MCP configuration:
{
"mcpServers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"] } } }
Add to your .vscode/mcp.json:
{
"servers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"] } } }
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.
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,293
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]
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 results
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 table
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 lines
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.000Z
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 }
| Parameter | Required | Default | Description |
|---|---|---|---|
command | Yes | — | Command to run (bash, python3, psql, ssh, etc.) |
args | No | [] | Command arguments |
name | No | auto | Human-readable session name |
cwd | No | server cwd | Working directory |
env | No | {} | Additional environment variables |
cols | No | 120 | Terminal columns |
rows | No | 40 | Terminal rows |
send_command — Send input and get output{ "session_id": "a1b2c3d4", "input": "1 + 1" }
→ { "output": "2", "is_complete": true, "is_alive": true }
| Parameter | Required | Default | Description |
|---|---|---|---|
session_id | Yes | — | Target session |
input | Yes | — | Command/input to send (newline appended automatically) |
timeout_ms | No | 5000 | Max wait time for output |
max_output_chars | No | 20000 | Truncate output beyond this |
Dangerous commands (rm -rf, DROP TABLE, curl|bash, etc.) are blocked — the agent must use confirm_dangerous_command first.
read_output — Read terminal screen (read-only){ "session_id": "a1b2c3d4" }
→ { "output": ">>> ", "is_alive": true }
Safe to auto-approve — this only reads, never sends input.
list_sessions — List active sessions (read-only)→ [{ "session_id": "a1b2c3d4", "name": "my-python", "command": "python3", "pid": 12345, "is_alive": true }]
Safe to auto-approve.
close_session — Kill a session{ "session_id": "a1b2c3d4" }
→ { "success": true }
send_control — Send control characters{ "session_id": "a1b2c3d4", "control": "ctrl+c" }
→ { "output": "^C\n>>>" }
Supported: ctrl+c, ctrl+d, ctrl+z, ctrl+l, ctrl+r, tab, escape, up, down, left, right, enter, backspace, delete, home, end, and more.
confirm_dangerous_command — Two-step safety confirmation{ "session_id": "a1b2c3d4", "input": "rm -rf /tmp/old", "justification": "Cleaning up stale temp files from failed build" }
→ { "output": "...", "is_complete": true, "is_alive": true }
Required when send_command detects a dangerous pattern. The agent must explain why the command is necessary. This is a separate tool — even if send_command is auto-approved, this requires its own permission.
PTY mode (default) — uses node-pty + @xterm/headless (the same terminal emulator as VS Code):
\r overwrites all render correctlyPipe mode (automatic fallback) — activates when node-pty can't load (e.g., in sandboxed environments):
child_process.spawn with auto-injected flags (python -u -i, bash -i, etc.)The mode is selected automatically — PTY is tried first, pipe mode kicks in if it fails.
| Scenario | PTY mode | Pipe mode |
|---|---|---|
printf "\rProgress: 3/3" | Progress: 3/3 | Progress: 1/3Progress: 2/3Progress: 3/3 |
| ANSI colors | Stripped cleanly | Stripped via regex |
| vim, htop, top | Readable screen | Garbled |
| Arrow keys, tab completion | Works | Works |
| Terminal resize | Works | No-op |
Instead of blindly waiting a fixed time, the server uses a layered strategy:
$, python >>>, psql #, etc.), watches for it to reappeartimeout_ms with is_complete: falseSeven-layer defense-in-depth:
| Layer | What It Does | Default | |
|---|---|---|---|
| MCP Tool Annotations | readOnlyHint/destructiveHint on each tool | Always on | |
| Confirmation Flow | Dangerous patterns require confirm_dangerous_command | Always on | |
| Input Pattern Detection | Detect rm -rf, DROP TABLE, curl\ | bash, etc. | Always on |
| Command Blocklist/Allowlist | Block/allow specific commands | Configurable | |
| OS-Level Sandbox | Kernel-level process sandboxing via @anthropic-ai/sandbox-runtime | Off (opt-in) | |
| Secret Redaction | Redact AWS keys, tokens, private keys in output | Off (opt-in) | |
| Resource Limits | Max sessions, output cap, idle timeout, audit logging | Always on |
Only auto-approve the read-only tools:
{
"permissions": { "allow": [ "mcpterminallist_sessions", "mcpterminalread_output" ] } }
This way send_command, create_session, and especially confirm_dangerous_command always require human approval.
All settings via environment variables. Pass them in your MCP config:
{
"mcpServers": { "terminal": { "command": "npx", "args": ["-y", "mcp-interactive-terminal"], "env": { "MCP_TERMINAL_ALLOWED_COMMANDS": "bash,python3,node,psql", "MCP_TERMINAL_REDACT_SECRETS": "true", "MCP_TERMINAL_IDLE_TIMEOUT": "300000" } } } }
| Variable | Default | Description |
|---|---|---|
MCP_TERMINAL_MAX_SESSIONS | 10 | Max concurrent sessions |
MCP_TERMINAL_MAX_OUTPUT | 20000 | Max output chars per read |
MCP_TERMINAL_DEFAULT_TIMEOUT | 5000 | Default wait timeout (ms) |
MCP_TERMINAL_BLOCKED_COMMANDS | — | Comma-separated blocklist |
MCP_TERMINAL_ALLOWED_COMMANDS | — | Comma-separated allowlist (if set, only these are allowed) |
MCP_TERMINAL_ALLOWED_PATHS | — | Comma-separated paths sessions can access |
MCP_TERMINAL_REDACT_SECRETS | false | Redact AWS keys, tokens, private keys in output |
MCP_TERMINAL_LOG_INPUTS | false | Log all inputs to stderr (for debugging) |
MCP_TERMINAL_IDLE_TIMEOUT | 1800000 | Auto-close idle sessions (ms, default 30min, 0 = disabled) |
MCP_TERMINAL_DANGER_DETECTION | true | Enable dangerous command confirmation flow |
MCP_TERMINAL_AUDIT_LOG | — | Path to JSON audit log file |
MCP_TERMINAL_SANDBOX | false | Enable OS-level kernel sandboxing |
MCP_TERMINAL_SANDBOX_ALLOW_WRITE | /tmp | Writable paths in sandbox mode |
MCP_TERMINAL_SANDBOX_ALLOW_NETWORK | * | Allowed network domains in sandbox |
MCP servers that fail to start often show no error in the client. Check:
# Test the server directly:
npx -y mcp-interactive-terminal
The server requires Node.js >= 18. If you see errors about unsupported syntax or missing APIs:
node --version # Must be >= 18
nvm install 18 && nvm use 18
volta install node@18
For nvm/volta/fnm users: npx may use a different Node version than your shell. Use an absolute path:
{
"mcpServers": { "terminal": { "command": "/Users/you/.nvm/versions/node/v22.0.0/bin/npx", "args": ["-y", "mcp-interactive-terminal"] } } }
Find your path with: which npx
node-pty is a native module that requires build tools. If it fails to compile, the server automatically falls back to pipe mode — interactive sessions still work, just without terminal emulation.
If you want full PTY support:
# macOS:
xcode-select --install
sudo apt-get install -y make python3 build-essential
sudo yum install -y make python3 gcc gcc-c++
Some commands need to be run inside a shell rather than directly:
# Instead of: create_session({ command: "rails console -e staging" })
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요