Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoAPI key for the LiteLLM proxy used by the Codex CLI backend.
RALPH_DATA_DIRNoOverride the Ralph data directory. Defaults to ~/.ralph.
OPENAI_BASE_URLNoBase URL for the LiteLLM proxy used by the Codex CLI backend, e.g. http://localhost:4000/v1.
RALPH_AUTO_RUNNERNoSet to false to disable Runner mode and enable manual prompt generation.true
RALPH_PRD_WATCH_DIRNoWatch directory for the PRD ingestion watcher.

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ralph_startA

Start PRD execution. Parses PRD file, creates worktree, and stores ready/pending state for the Runner. Manual agent prompts are returned only when RALPH_AUTO_RUNNER=false. Dependencies must be merged before dependents start unless ignored.

ralph_statusB

View all PRD execution status. Replaces manual TaskOutput queries. Shows progress, status, and summary.

ralph_getA

Get detailed status of a single PRD execution including all user stories.

ralph_updateB

Update User Story status. Called by subagent after completing a story.

ralph_stopC

Stop PRD execution. Optionally clean up worktree.

ralph_mergeB

Merge completed PRD to main and clean up worktree. MCP executes directly without Claude context.

ralph_merge_queueC

Manage merge queue. Default serial merge to avoid conflicts.

ralph_set_agent_idA

Record the Claude Task agent ID for an execution. Called after starting a Task agent.

ralph_batch_startA

Start multiple PRDs with dependency resolution. Parses all PRDs, creates worktrees, preheats dependencies, and queues ready/pending executions for the Runner. Manual prompts are returned only when RALPH_AUTO_RUNNER=false.

ralph_reset_stagnationA

Reset stagnation counters for an execution. Use after manual intervention to allow the agent to continue.

ralph_retryA

Retry a failed/interrupted PRD execution. Resets stagnation counters, handles uncommitted changes (WIP), and generates a new agent prompt to continue from where it left off.

ralph_doctorA

Run environment diagnostics. Checks git, node, pnpm, worktree support, and permissions. Run before ralph_start to catch issues early.

ralph_claim_readyB

Atomically claim a ready PRD for execution. Used by Ralph Runner to safely pick up PRDs without race conditions. Returns agent prompt if successful.

ralph_set_concurrencyA

Set maximum concurrent PRD executions at runtime. The Runner will apply the change on its next poll cycle.

ralph_shutdownA

Shutdown the Ralph MCP Server and Runner. Use this to manually stop the MCP when you want to restart it with new code.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 15 tools

Disambiguation4/5

Most tools are clearly distinct by target and action, such as ralph_start vs. ralph_batch_start and ralph_status vs. ralph_get. However, ralph_start and ralph_claim_ready both initiate/claim ready PRDs, and ralph_retry overlaps with ralph_reset_stagnation because retry also resets stagnation counters. Descriptions help, but these pairs require closer reading to avoid misselection.

Naming Consistency5/5

All tools share the ralph_ prefix and use predictable snake_case naming. The verb/noun pattern is consistent across single-word and multiword tools, with no mixed casing or inconsistent verb styles.

Tool Count5/5

Fifteen tools is reasonable for an orchestration server covering PRD lifecycle, worktrees, merging, runner coordination, and diagnostics. Each tool maps to a distinct operational concern, and there is no obvious bloat.

Completeness4/5

The surface covers the core lifecycle: start, batch start, status, get, update, stop, merge, retry, cleanup, diagnostics, and runner controls. Minor gaps exist around explicit pause/resume, log retrieval, and dependency inspection, but agents can work around these using existing status/get/retry tools.