Skip to content
Grok

terminal mcp for Grok

io.github.mkpvishnu/terminal-mcp

MCP server for interactive terminal sessions — SSH, REPLs, database CLIs, TUI apps

client:Grok transport:stdio runtime:pypi

Install terminal mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "terminal-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "terminal-mcp"
      ],
      "env": {
        "TERMINAL_MCP_MAX_SESSIONS": "<TERMINAL_MCP_MAX_SESSIONS>",
        "TERMINAL_MCP_IDLE_TIMEOUT": "<TERMINAL_MCP_IDLE_TIMEOUT>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

terminal mcp in other clients