
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A FastMCP-based server that lets an agent start, monitor, send commands to, and terminate interactive command-line sessions such as gdb, UART consoles, or other REPL-based tools.
MCP server for interactive terminal sessions is cataloged as an MCP server attributed to danielp370-msft. A FastMCP-based server that lets an agent start, monitor, send commands to, and terminate interactive command-line sessions such as gdb, UART consoles, or other REPL-based tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for interactive terminal sessions are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports three FastMCP transport options: stdio by default, plus sse and streamable-http.
Yes, the start session tool accepts an optional log_file path where session output will be written; without it, no logging occurs.
README.md · 5b6e30355a04 · Fetched 2026-11-13 13:59:15 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
The MCP Interactive Terminal Server allows an agent to interact with a command-line driven prompt. This is useful for automating and managing interactive terminal commands such as gdb, a UART console, or any other REPL-based tool. Built using the FastMCP package, it provides tools for managing interactive terminal sessions and adheres to the latest MCP standards. The server supports three transport options offered by FastMCP: stdio (default), sse, and streamable-http, making it versatile for various use cases.
Python 3.12 or later Ensure you have Python 3.12 or newer installed on your system.
UV Astral Package Manager UV Astral is an optional package manager that handles dependencies. If you use it, it will provide Python with only the dependencies you need. If you invoke commands that require other dependencies, you can add them to the UV dependencies so that they get loaded as well. It may be better to do this in the downstream package or not use UV if the environment is set up to provide all packages directly.
Install UV using one of the following methods:
curl -LsSf https://astral.sh/uv/install.sh | sh
pip install uv
Verify the installation:
uv --version
If you are using UV Astral as your package manager, you can optionally add Python and other dependencies to its configuration. For detailed instructions on managing dependencies with UV Astral, refer to the UV Astral official documentation.
Clone the repository to your local machine:
git clone https://github.com/danielp370-msft/mcp_interactive_terminal
cd mcp_interactive_terminal
Open the project in VS Code.
Ensure the .vscode/mcp.json file is configured correctly. You can use either of the following examples:
Example 1: Using uv (package manager)
{
"servers": {
"interactive-terminal-server": {
"type": "stdio",
"command": "uv",
"args": ["run", "${workspaceFolder}/interactive/server.py"]
}
}
}
Example 2: Using python directly (current default)
{
"servers": {
"interactive-terminal-server": {
"type": "stdio",
"command": "python3.13",
"args": ["${workspaceFolder}/interactive/server.py"]
}
}
}
Example 3: Using streamable-http transport
{
"servers": {
"interactive-terminal-server": {
"type": "http",
"url": "http://localhost:8070/mcp/"
}
}
}
Start the server using the MCP interface in VS Code.
Note: You only need to invoke the server on the command line if you are using non-stdio transport options (like
streamable-http) or if you want to run it outside of VS Code. For stdio, the VS Code MCP interface can launch the server automatically.
Stdio Transport (Default):
uv run python -m interactive.server
You can also run the server without uv if you want to use the packages provided by your runtime environment:
python -m interactive.server
Streamable HTTP Transport:
uv run python -m interactive.server --transport streamable-http --port 8070
Or without uv:
python -m interactive.server --transport streamable-http --port 8070
The server provides the following tools:
Start Session:
command (str): The command to start the session (e.g., python).args (list): Arguments for the command.log_file (str, optional): Path to a log file where session output will be written. If not provided, no logging will occur.Wait for Output or Prompt:
session_id (int): The ID of the session to monitor.prompts (list): A list of strings to detect in the output (e.g., prompts or specific text).timeout (int): The maximum time to wait for the output, in seconds.Send Command:
session_id (int): The session ID.command (str): The command to send.Exit Session:
session_id (int): The ID of the session to terminate.Get Active Sessions:
You can start a new session using the start_session tool.
start_session(command: str, args: list, log_file: str = None)
command: The command to start the interactive session (e.g., 'python').args: A list of arguments to pass to the command.log_file: Optional log file to write session output.Example:
start_session("python", ["-i"])
This will start a Python interactive session.
Run the unit tests to validate the server's functionality:
uv run python3 -m unittest
This product was vibe coded with the help of Daniel Potts, who deserves special thanks for pestering the AI to do endless rounds of interactive testing — truly a champion of quality assurance (and patience). No human directly wrote any code, documentation, or even bothered to help push into a PR for this project. All code and documentation were generated with the assistance of GitHub Copilot (OpenAI GPT-4).
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for interactive terminal sessions from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp_interactive_terminal)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.