Mcpterm is an MCP tool server that enables stateful terminal sessions, designed to work seamlessly with applications like Claude Desktop. It allows Large Language Models to interact with terminal environments, maintain context across multiple commands, and effectively manage text-based user interfaces (TUIs). The tool offers functionalities to run commands, capture screen outputs from TUI applications, and integrates with tools such as vim and python REPLs, enabling advanced use cases like creating Dockerfiles and managing interactive sessions.