pty-mcp-server

Sundeepg98/pty-mcp-server

3.2

If you are the rightful owner of pty-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server providing 32 tools for terminal, process, network, and serial communication with perfect dependency injection architecture.

Tools

Functions exposed to the LLM to take actions

env

Environment variable management

file

File operations (read/write/list/delete)

status

Get session status

activate

Activate a project

projects

List registered projects

exec

Execute shell commands

sessions

List all active sessions

bash

Start interactive bash shell

connect

Connect to PTY with custom command

disconnect

Terminate PTY session

send

Send input to PTY

ssh

SSH connection via PTY

telnet

Telnet connection via PTY

clear

Clear terminal screen

resize

Resize terminal dimensions

spawn

Spawn a process (non-PTY)

kill-proc

Kill active process

send-proc

Send to process stdin

ssh-proc

SSH as subprocess

proc-cmd

Windows CMD (Windows only)

proc-ps

Windows PowerShell (Windows only)

socket-open

Open TCP/UDP socket

socket-close

Close socket connection

socket-read

Read from socket

socket-write

Write to socket

socket-message

Send message, wait for response

socket-telnet

Telnet with IAC handling

serial-open

Open serial port

serial-close

Close serial connection

serial-read

Read from serial port

serial-write

Write to serial port

serial-message

Send message, wait for response

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources