MCP Server Studio

Terminal MCP Server MCP server

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

Registry name: io.github.aybelatchane/mcp-server-terminal

Publisher
aybelatchane
Runs
Runs locally
Package
npm
Version
1.0.3
Category
Developer tools
Updated
2025-12-09

Source code on GitHub

Set up Terminal MCP Server (run locally)

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

Run in your terminal:

claude mcp add mcp-server-terminal -e DISPLAY='<DISPLAY>' -e RUST_LOG='<RUST_LOG>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

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

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-server-terminal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DISPLAY": "<DISPLAY>",
        "RUST_LOG": "<RUST_LOG>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

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

Settings

NameRequiredWhat it is
DISPLAYNoX11 display for visual mode (Linux/WSL). Example: :0
RUST_LOGNoLogging level: error, warn, info, debug, trace

More developer tools MCP servers