Submit

pty-mcp-server

@phoityne

Overview

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?

  1. Interactive REPL operations for Haskell applications.
  2. Remote server management via SSH.
  3. System diagnostics and automation through bash scripting.
  4. 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 in tools-list.json.

  • Is there a graphical interface?

    No, pty-mcp-server operates through the command line and is intended for automation and integration with other tools.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.