mcpterm

mcpterm

3.4

If you are the rightful owner of mcpterm 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.

An MCP tool server that provides stateful, TUI-compatible terminal sessions.

mcpterm is a proof-of-concept MCP tool server that leverages the mcp-go library to provide stateful, terminal user interface (TUI) compatible sessions. It is designed to work seamlessly with Claude Desktop, allowing users to execute commands in a stateful environment. This means that commands executed in a session maintain their state, such as the current working directory, across multiple commands. The tool is particularly useful for running terminal-based applications and scripts that require a persistent environment. Users can clone the repository, build the tool using make, and integrate it with Claude Desktop by editing the configuration file. The tool provides two main functionalities: running commands in a stateful session and executing commands or keystrokes with screen output, making it ideal for TUI applications like vim or a Python REPL.

Features

  • Stateful terminal sessions: Maintains session state across multiple commands.
  • TUI compatibility: Supports terminal-based applications like vim and Python REPL.
  • Integration with Claude Desktop: Easily add mcpterm as a tool in Claude Desktop.
  • Command execution: Run commands in a persistent environment.
  • Screen output: Execute commands and return screen output for TUI applications.

Tools

  1. run

    Runs a command in a stateful terminal session.

  2. runScreen

    Runs a command or series of keystrokes and returns the screen output.