Koskamo

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.

terminal-mcp logo, by mkpvishnuCommunity listingLocal stdioSource reviewed; not executedPublished by mkpvishnu
Vendor documentation

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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
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.