Skip to content
Gemini CLI

Terminal MCP Server for Gemini CLI

io.github.aybelatchane/mcp-server-terminal

MCP server for AI agents to interact with terminal applications. Think Playwright for terminals.

client:Gemini CLI transport:stdio runtime:npm

Install Terminal MCP Server in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

{
  "mcpServers": {
    "mcp-server-terminal": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-terminal"
      ],
      "env": {
        "DISPLAY": "<DISPLAY>",
        "RUST_LOG": "<RUST_LOG>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Terminal MCP Server in other clients