mcp_interactive_terminal

mcp_interactive_terminal

3.3

If you are the rightful owner of mcp_interactive_terminal and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Interactive Terminal Server allows an agent to interact with a command-line driven prompt, useful for automating and managing interactive terminal commands.

The MCP Interactive Terminal Server is designed to facilitate interaction with command-line driven prompts, making it ideal for automating and managing interactive terminal commands such as gdb, UART consoles, or any REPL-based tool. Built using the FastMCP package, it provides robust tools for managing interactive terminal sessions while adhering to the latest MCP standards. The server supports three transport options: stdio (default), sse, and streamable-http, offering versatility for various use cases. It is particularly useful for developers and system administrators who need to automate terminal interactions in a reliable and efficient manner.

Features

  • Interactive Session Management: Allows starting, monitoring, and terminating interactive terminal sessions.
  • Multiple Transport Options: Supports stdio, sse, and streamable-http transport options for flexibility.
  • Command Automation: Automates sending commands and waiting for specific outputs or prompts.
  • Session Logging: Optionally logs session outputs to a specified file for later review.
  • Active Session Tracking: Provides tools to list and manage all active sessions.

Tools

  1. Start Session

    Initiates a new interactive session with specified command and arguments.

  2. Wait for Output or Prompt

    Monitors session output for specific prompts or text within a timeout period.

  3. Send Command

    Sends a command to an active interactive session.

  4. Exit Session

    Terminates an active interactive session.

  5. Get Active Sessions

    Retrieves a list of all active interactive sessions.