Pexpect
Provides remote process control and debugging capabilities through Python's pexpect library, enabling spawning, interaction with, and control of command-line programs, debuggers, and interactive shells with session persistence and timeout handling.
About
This MCP server provides remote process control and debugging capabilities through Python's pexpect library, enabling AI assistants to spawn, interact with, and control command-line programs, debuggers, and interactive shells. Built by Mitsuhiko using FastMCP with timeout handling and session persistence, it executes Python code that can launch processes like lldb, gdb, or any terminal application, then send commands and capture output through expect patterns. The implementation maintains global session state across tool calls and includes a demo buggy C program for testing debugging workflows, making it valuable for automated debugging sessions, system administration tasks, and scenarios where AI assistants need to interact with command-line tools that require real-time input/output control.
Is this your project?
Claim this listing to manage your page, access analytics, and unlock upgrades. Verification takes 60 seconds.
Share This Project
Embed Badge
Add this badge to your README:
[](https://hifriendbot.com/ai-list/pexpect/)
