mcp_interactive_terminal
0
The MCP Interactive Terminal Server is designed to automate and manage interactive terminal commands using FastMCP. It supports multiple transport options and provides various tools for session management.
Overview
- Project Description: The MCP Interactive Terminal Server facilitates interactions with command-line driven prompts, aiding in the automation and management of interactive terminal commands such as gdb, a UART console, or any REPL-based tool.
- Features:
- Built with the FastMCP package.
- Supports stdio, sse, and streamable-http transports.
- Tools for managing interactive terminal sessions.
- Usage:
- Can be started using VS Code or command line.
- Provides tools such as starting sessions, waiting for output, sending commands, exiting sessions, and retrieving active sessions.
Installation
- Prerequisites:
- Python 3.12 or later.
- Optional UV Astral Package Manager for dependency handling.
Installation Methods:
- Standalone Installer or Pip Installation for UV.
Usage in VS Code
- Configure
.vscode/mcp.json
file. - Start the server using the MCP interface in VS Code.
Command Line Usage
- Invoke server with or without
uv
depending on the transport option.