Skip to main content
Glama
brkhrdt
by brkhrdt

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
start_sessionA

Start a new PTY session with any command or shell. Returns a session_id to use with other commands.

run_commandA

Run a command in a PTY session and wait for completion. Uses sentinel-based detection to know when command finishes.

send_keysA

Send raw input to a PTY session without waiting for completion. Use for interactive input, Ctrl+C (send '\x03'), etc.

get_bufferC

Get the scrollback buffer from a PTY session.

stop_sessionB

Stop and clean up a PTY session.

set_sentinelA

Change the sentinel command for a session. Use when switching between shells/REPLs (e.g., from bash to python).

list_sessionsA

List all active PTY sessions.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brkhrdt/pty-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server