- pty-mcp-server
pty-mcp-server
What is pty-mcp-server?
pty-mcp-server is a Haskell implementation of the Model Context Protocol (MCP), designed to enable AI agents to dynamically acquire and control pseudo-terminal (PTY) connections. This allows for structured, automated interactions with external command-line interface (CLI) tools.
How to use pty-mcp-server?
To use pty-mcp-server, execute it from the command line with a configuration file:
$ pty-mcp-server -y config.yaml
It can also be integrated with development tools like Visual Studio Code for enhanced automation.
Key features of pty-mcp-server?
- Dynamic PTY connections for executing commands in real environments.
- Multiple built-in tools for automation, including
pty-connect,pty-bash,pty-ssh, and more. - Scriptable CLI integration allowing custom shell scripts to be executed through registered tools.
Use cases of pty-mcp-server?
- Interactive REPL operations for Haskell applications.
- Remote server management via SSH.
- System diagnostics and automation through bash scripting.
- Dynamic execution of CLI tools in PTY environments.
FAQ from pty-mcp-server?
-
What platforms does pty-mcp-server support?
It is designed for Linux environments and can be used on Windows via WSL.
-
How do I add new tools?
Create a shell script in the
scripts/directory and register it intools-list.json. -
Is there a graphical interface?
No,
pty-mcp-serveroperates through the command line and is intended for automation and integration with other tools.