terminal-mcp
An MCP server that provides AI agents with persistent PTY terminal sessions, enabling interactive SSH connections, REPL usage, database CLI interactions, and TUI navigation without state loss between tool calls.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- SSH into remote servers and run multiple commands
- Run interactive Python or Node REPLs
- Query databases using psql or mysql CLIs
- Navigate TUI apps like htop or vim
Source and maintenance
Community listingRegistry 0.3.1
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
terminal-mcp 0.3.1
pypi
terminal-mcp package definition
{
"version": "0.3.1",
"transport": "stdio",
"identifier": "terminal-mcp",
"registryType": "pypi",
"environmentVariables": [
{
"name": "TERMINAL_MCP_MAX_SESSIONS",
"format": "string",
"description": "Maximum concurrent sessions"
},
{
"name": "TERMINAL_MCP_IDLE_TIMEOUT",
"format": "string",
"description": "Seconds before auto-close (default 1800)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"terminal-mcp": {
"command": "uvx",
"args": [
"terminal-mcp==0.3.1"
],
"env": {
"TERMINAL_MCP_MAX_SESSIONS": "<YOUR_TERMINAL_MCP_MAX_SESSIONS>",
"TERMINAL_MCP_IDLE_TIMEOUT": "<YOUR_TERMINAL_MCP_IDLE_TIMEOUT>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"terminal-mcp": {
"command": "uvx",
"args": [
"terminal-mcp==0.3.1"
],
"env": {
"TERMINAL_MCP_MAX_SESSIONS": "<YOUR_TERMINAL_MCP_MAX_SESSIONS>",
"TERMINAL_MCP_IDLE_TIMEOUT": "<YOUR_TERMINAL_MCP_IDLE_TIMEOUT>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"terminal-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"terminal-mcp==0.3.1"
],
"env": {
"TERMINAL_MCP_MAX_SESSIONS": "<YOUR_TERMINAL_MCP_MAX_SESSIONS>",
"TERMINAL_MCP_IDLE_TIMEOUT": "<YOUR_TERMINAL_MCP_IDLE_TIMEOUT>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"terminal-mcp": {
"command": "uvx",
"args": [
"terminal-mcp==0.3.1"
],
"env": {
"TERMINAL_MCP_MAX_SESSIONS": "<YOUR_TERMINAL_MCP_MAX_SESSIONS>",
"TERMINAL_MCP_IDLE_TIMEOUT": "<YOUR_TERMINAL_MCP_IDLE_TIMEOUT>"
}
}
}
}Let your agent find its tools
Find servers like terminal-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.