terminal control.com
terminal control.com logo

Terminal Control

Provides a cross-platform terminal control server that executes shell commands and retrieves terminal information, with...

Created byApr 23, 2025

MCP Terminal

MCP Terminal MCP Model Context Protocol LLM AI AI
  • MCP SDK
  • - **iTerm2 ** macOS iTerm2 Python API - **AppleScript ** macOS AppleScript Terminal - **Subprocess **
  • - **STDIO ** / - **SSE ** Server-Sent Events HTTP API
    • Claude Desktop
    • Python 3.8+
    • [uv](https://github.com/astral-sh/uv) uv

    uv

    Makefile

    MCP

    Claude Desktop

    • `--controller` `-c` auto, iterm, applescript, subprocess
    • `--mode` `-m` stdio, sse
    • `--host` SSE
    • `--port` `-p` SSE
    • `--log-level` `-l`

    Claude Desktop

    MCP Terminal Claude Desktop Claude
    1. ** MCP Terminal ** stdio ```bash # make run-stdio ```
    1. ** Claude Desktop MCP ** Claude Desktop - - " " " " - " " - MCP Terminal - Terminal - mcp_terminal.py - stdio -
    1. ** ** Claude Claude - " " - " Python " - " "
    1. MCP Terminal
      1. Claude Desktop
      1. Claude Desktop MCP Terminal

      API

      MCP Terminal MCP

      execute_command


      • `command` (string)
      • `wait_for_output` (boolean, ) true
      • `timeout` (integer, ) 10

      • `success` (boolean)
      • `output` (string, )
      • `error` (string, )
      • `return_code` (integer, )
      • `warning` (string, )

      get_terminal_info



      • `terminal_type` (string)
      • `platform` (string)
      MCP Terminal
              1. Fork
              1. (`git checkout -b feature/amazing-feature`)
              1. (`git commit -m 'Add some amazing feature'`)
              1. (`git push origin feature/amazing-feature`)
              1. Pull Request