Pexpect
Enables AI assistants to execute Python code with pexpect functionality, allowing for interactive debugging and programmatic command-line interaction.
This Model Context Protocol (MCP) server empowers AI assistants by providing remote pexpect session control, allowing them to execute Python code with pexpect functionality. It facilitates interactive debugging sessions with command-line debuggers like LLDB and GDB, as well as general programmatic interaction with other command-line utilities. Essentially, it maintains a stateful Python session, making it an invaluable tool for complex process interaction and remote diagnostics.
Key Features
01Remote pexpect session control
02Interactive debugging with CLI tools (LLDB, GDB)
03Single-tool interface (`pexpect_tool`)
047 GitHub stars
05Programmatic interaction with command-line utilities
06Stateful Python execution environment
Use Cases
01Automating complex command-line interactions for AI assistants
02Debugging programs remotely using LLDB or GDB
03Controlling and interacting with long-running processes programmatically