Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HERDR_BRIDGE_MODENoBridge mode: local or ssh. Defaults to ssh if HERDR_BRIDGE_SSH_HOST is set, otherwise local.
HERDR_BRIDGE_SSH_HOSTNoOpenSSH destination / Host alias for ssh mode.
HERDR_BRIDGE_SSH_PORTNoOptional SSH port.
HERDR_BRIDGE_SSH_USERNoOptional SSH user.
HERDR_BRIDGE_HERDR_BINNoPath to the Herdr CLI binary.herdr
HERDR_BRIDGE_MAX_LINESNoCap for --lines on recent sources.200
HERDR_BRIDGE_TIMEOUT_SECONDSNoSubprocess timeout in seconds.30
HERDR_BRIDGE_MAX_OUTPUT_CHARSNoClient-side output cap in characters.100000
HERDR_BRIDGE_SSH_IDENTITY_FILENoOptional SSH identity file path.
HERDR_BRIDGE_CONNECT_TIMEOUT_SECONDSNoSSH connect timeout in seconds.10

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Unofficial READ-ONLY Herdr bridge. You can list live agents, fetch one agent's status, and read bounded pane output. Targets must be live pane_id values from list_agents (for example w1:p2) — never bare kinds like "claude".

This server cannot prompt agents, send keys, focus panes, restart Herdr, or run arbitrary commands. Reading a pane can expose secrets that appeared in that terminal; treat output as sensitive. This is MCP tools only — not a native Herdr UI or Canvas refresh control.

Failures set CallToolResult.isError=true. Do not infer failure from text alone.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bridge_infoA

Non-sensitive bridge configuration (mode, timeouts, limits). Never returns SSH host or credentials.

list_agentsA

List active Herdr agents with status and pane_id targets for later reads.

Uses herdr agent list without --format json first (Herdr 0.8.0 default JSON; that release rejects the flag). Retries with the flag only if the default path fails with a CLI/JSON error.

get_agent_statusA

Get status for one live agent by pane_id (required; not a bare kind like "claude").

Same --format json compatibility policy as list_agents. Failures return isError: true (invalid pane_id, CLI/SSH/timeout errors).

read_paneA

Read bounded output from a live pane_id.

For visible / detection, --lines is omitted for Herdr version compatibility; output is still truncated client-side. For recent sources, a capped --lines is sent (default 80). Secrets in terminal text are redacted best-effort.

Validation, Herdr CLI, timeout, and transport failures return isError: true — never a successful result whose text merely describes the error.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a fairly distinct role: bridge_info is configuration, list_agents enumerates agents, get_agent_status targets one pane_id, and read_pane retrieves output. The only mild overlap is that list_agents already returns status while get_agent_status fetches status for a single agent, but the scope difference is clear.

Naming Consistency4/5

Names consistently use snake_case and mostly follow a verb_noun pattern (list_agents, get_agent_status, read_pane). bridge_info is a noun-style exception, but it is still readable and predictable within the small set.

Tool Count4/5

Four tools is small but reasonable for a narrow bridge/monitoring server. Each tool covers a distinct operation, though the surface is close to feeling thin.

Completeness3/5

The server covers configuration inspection, agent discovery, per-agent status, and pane reading, which is a coherent read-only surface. However, there are no tools for sending input, starting/stopping agents, or otherwise acting on the agents, so the lifecycle is only partially covered if the bridge is meant for interaction.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues