Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RALPH_AUTO_COMMITNoEnable auto-commit by defaultfalse
RALPH_HISTORY_LIMITNoMaximum history entries100
RALPH_MAX_ITERATIONSNoDefault maximum iterations50
RALPH_STAGNATION_THRESHOLDNoIterations before stagnation warning5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ralph_loop

Start a Ralph Wiggum iterative development loop.

Ralph is a development methodology based on continuous AI agent loops. The technique creates a self-referential feedback loop where the same prompt is fed back repeatedly, allowing the AI to iteratively improve its work until completion.

NEW FEATURES:

  • Iteration history tracking with progress metrics

  • Git integration for automatic change tracking

  • External tool integration (tests, linters)

  • Smart stagnation detection and warnings

  • Pre-built templates for common tasks

Use ralph_list_templates to see available templates.

ralph_iterate

Process the next iteration of a Ralph loop with enhanced tracking.

After completing work on the current iteration, call this tool with your output and optional metadata to:

  1. Check if completion promise was met

  2. Track iteration history (files modified, commands run, errors)

  3. Run external tools if configured

  4. Analyze progress and detect stagnation

  5. Create git commits if enabled

  6. Either continue loop or stop

Enhanced features:

  • Automatic progress analysis

  • Stagnation warnings with suggestions

  • External tool integration

  • Git commit tracking

ralph_cancel

Cancel the active Ralph loop.

Stops the current Ralph loop and removes all state. Use this when you want to manually stop the loop before completion.

ralph_status

Get the current status of the Ralph loop with progress insights.

Shows:

  • Whether a loop is active

  • Current iteration number

  • Max iterations setting

  • Completion promise (if set)

  • The current prompt being iterated on

  • Iteration history summary (total time, files changed, tools used)

  • Progress analysis (stagnation detection, repeated errors)

  • Estimated iterations remaining

ralph_history

Get detailed iteration history report.

Shows a comprehensive history of all iterations including:

  • Timestamp and duration

  • Files modified

  • Commands run

  • Errors encountered

  • Git commits

  • External tools run with results

ralph_list_templates

List all available Ralph loop templates.

Templates are pre-built prompts and configurations for common tasks:

  • REST API development

  • Test-driven development

  • Refactoring

  • Bug fixing

  • Documentation

  • Performance optimization

  • Security hardening

  • And more...

Each template includes suggested settings and external tools.

ralph_get_template

Get details of a specific template.

Returns the full template configuration including:

  • Name and description

  • Complete prompt text

  • Suggested completion promise

  • Suggested max iterations

  • Suggested external tools

  • Git integration settings

ralph_git_status

Get git status and diff summary.

Shows:

  • Current branch and commit

  • Modified, added, deleted, and untracked files

  • Diff summary (files changed, insertions, deletions)

ralph_git_commit

Create a git commit for the current iteration.

Use this to manually create a commit with a custom message. If auto_commit is enabled, commits are created automatically.

ralph_git_context

Get context from recent Ralph commits.

Shows recent Ralph iteration commits from git history, providing context about what was done in previous iterations.

ralph_run_tools

Run external tool presets (test runners, linters, etc.).

Available presets:

  • javascript-test: Run npm test

  • javascript-lint: Run ESLint

  • python-test: Run pytest

  • python-lint: Run ruff

  • rust-test: Run cargo test

  • rust-lint: Run clippy

  • go-test: Run go test

  • build: Verify project builds

Use ralph_detect_tools to see which presets are available for your project.

ralph_detect_tools

Detect which tool presets are available for the current project.

Analyzes the project structure and suggests relevant tool presets (e.g., if package.json exists, suggests javascript-test and javascript-lint).

ralph_list_tools

List all available external tool presets.

Shows all available tool presets with descriptions, regardless of whether they're applicable to the current project.

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/cbuntingde/ralph-wiggum-mcp'

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