Pexpect
Enables AI assistants to execute Python code with pexpect functionality, allowing for interactive debugging and programmatic command-line interaction.
About
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
- Remote pexpect session control
- Interactive debugging with CLI tools (LLDB, GDB)
- Single-tool interface (`pexpect_tool`)
- 7 GitHub stars
- Programmatic interaction with command-line utilities
- Stateful Python execution environment
Use Cases
- Automating complex command-line interactions for AI assistants
- Debugging programs remotely using LLDB or GDB
- Controlling and interacting with long-running processes programmatically