MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker
MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker. The interactive mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 2 defined tools rather than through you.
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.
The server ships on npm as mcp-interactive-terminal, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Everything the assistant can do here goes through one of these:
Cursor — Go to Settings > MCP Servers, click Add Server, and enter:Windsurf — The Windsurf tool exposed by this serverYou will need 4 environment variables: MCP_TERMINAL_ALLOWED_COMMANDS, MCP_TERMINAL_REDACT_SECRETS, MCP_TERMINAL_IDLE_TIMEOUT, MCP_TERMINAL_DEFAULT_TIMEOUT. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Interactive's toolset — Cursor, Windsurf — is a fair guide to whether it matches your workflow. It is maintained by amol21p; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Interactive's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Cursor | Go to **Settings > MCP Servers**, click **Add Server**, and enter: |
| Windsurf | The Windsurf tool exposed by this server. |
{
"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"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| MCP_TERMINAL_ALLOWED_COMMANDS | Configuration value read at startup. | Optional |
| MCP_TERMINAL_REDACT_SECRETS | Credential the server authenticates with. | Yes |
| MCP_TERMINAL_IDLE_TIMEOUT | Configuration value read at startup. | Optional |
| MCP_TERMINAL_DEFAULT_TIMEOUT | Configuration value read at startup. | Optional |
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.