Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoOpenAI API key used when provider is openai.
ANTHROPIC_API_KEYNoAnthropic API key used when provider is anthropic.
TEST_GENIE_STORAGE_DIRNoWhere scenarios / results / iteration logs live.~/.test-genie-mcp
TEST_GENIE_ALLOWED_ROOTNoCapability-based path safety — server refuses to read/write outside this root.current working directory
TEST_GENIE_LLM_PROVIDERNoLLM provider: anthropic, openai, or none.auto-detect
TEST_GENIE_OPENAI_MODELNoOverride OpenAI model.gpt-4o-mini
TEST_GENIE_ANTHROPIC_MODELNoOverride Anthropic model.claude-haiku-4-5

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
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_app_structureC

[mode: real] Static analysis of the project: screens, components, APIs, state. Auto-detects platform when not provided.

generate_scenariosC

[mode: real] Generate test scenarios from analyzed app structure.

create_test_planB

[mode: real] Build a test plan from stored scenarios with filtering / scheduling.

run_scenario_testB

[mode: hybrid] Run a stored scenario; real subprocess where possible, falls back to simulated.

run_simulationC

[mode: simulated] Random / sequential user-behavior simulation to find issues.

run_stress_testC

[mode: hybrid] Concurrency / load test against an endpoint or UI surface.

detect_memory_leaksC

[mode: real] Detect memory leaks, retain cycles, unclosed resources.

detect_logic_errorsC

[mode: real] Detect race conditions, null refs, state inconsistencies.

suggest_fixesC

[mode: real] Generate rule-based fix suggestions for detected issues.

confirm_fixB

[mode: real] Confirm / reject / modify a proposed fix prior to apply.

apply_fixA

[mode: real] Apply a confirmed fix. backup=true, validate=true by default. Supports dryRun.

rollback_fixA

[mode: real] Restore the pre-apply file content from the backup.

run_full_automationD

[mode: hybrid] Analyze → plan → execute → detect → suggest in one call.

run_iterative_fix_loopA

[mode: hybrid, headline tool] Self-healing test → fix → re-test loop with regression detection, auto-rollback, and resumeToken support. See docs/ITERATE_FIX_LOOP.md.

generate_reportC

[mode: real] Generate Markdown / HTML / JSON test automation report.

get_pending_fixesB

[mode: real] List fixes awaiting confirmation for the project.

get_test_historyC

[mode: real] Recent test executions for the project.

analyze_performanceC

[mode: real] Static performance analysis: rendering, computation, bundle.

analyze_code_deepC

[mode: real] Deep AST analysis: functions, complexity, hooks, issues.

generate_cicd_configC

[mode: real] Generate GitHub Actions / Jenkins / GitLab CI configuration.

diagnose_projectB

[mode: real, v3.1.0 headline] vibe-check the project — race conditions + security + memory + logic + performance in one parallel sweep. Returns prioritized findings + Markdown summary ready for chat.

detect_race_conditionsC

[mode: real, v3.1.0] Stand-alone race-condition detector — useState-after-await, missing AbortController, forEach-await, TOCTOU file ops, DispatchQueue races, Flow dispatcher mismatches.

detect_security_issuesB

[mode: real, v3.1.0] Stand-alone security scanner — hardcoded secrets (AWS/Stripe/GitHub/JWT), SQL/XSS/SSRF/eval injection, weak crypto, CORS misconfig, cookie flags, yaml.load.

Prompts

Interactive templates invoked by user choice

NameDescription
full-test-pipelineRun the complete test-genie pipeline: analyze → plan → execute → iterate-fix-loop. Optimized for "fix until green or stuck".
diagnose-failureFocused diagnosis of a single failing test, including a recommended next action.
vibe-checkOne-command project diagnosis for vibe coders — race conditions + security + memory + logic + performance in 30s.

Resources

Contextual data attached and managed by the client

NameDescription
iteration-logs-indexIndex of all iterate-fix loop logs (most recent first).

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/MUSE-CODE-SPACE/test-genie-mcp'

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