mcpterm

mcpterm

3

Mcpterm is a terminal session server designed to offer stateful interactions through TUI-compatible tools using the Model Context Protocol (MCP). It integrates effectively with Claude Desktop, providing powerful tools for command execution.

mcpterm

An MCP tool server offering stateful, TUI-compatible terminal sessions. This proof-of-concept project utilizes mcp-go and integrates seamlessly with Claude Desktop.

Usage

  • Clone the repository and run make to prepare the binary.
  • Move the mcpterm binary to a directory in your PATH for easy access.
  • Integrate with Claude Desktop by configuring claude_desktop_config.json.

Tools

  • run: Executes commands in a stateful terminal session.
  • runScreen: Executes commands or keystrokes, returning screen output, optimized for TUI applications.

Tips:

Customize control sequences for enhanced interaction with TUI applications like vim or a python REPL.