This MCP server, developed by dwrtz, provides stateful, TUI-compatible terminal sessions for AI assistants. Built with Go and leveraging the mcp-go library, it offers two main tools: 'run' for executing commands in persistent bash sessions, and 'runScreen' for interactive TUI applications. The implementation focuses on maintaining session state, handling control sequences, and supporting multi-line outputs. It's particularly useful for AI systems that need to interact with command-line interfaces, enabling use cases such as file system navigation, text editing in vim, or running interactive programs like Python REPL without losing context between commands.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Runs a command in a stateful terminal session. Subsequent commands will execute in the current directory context.
Runs a command or series of keystrokes and returns the screen output. Intended for TUI apps such as vim or a python REPL.