Gepa Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Gepa Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
I'm not quite sure this works as is 😂 You may need to ask the model you're working with to clean it up:
The GEPA MCP server isn't working. Please explore the codebase ("replace-this-with-the-path-of-your-directory"), as well as this log file (if you have one) ("replace-this-with-the-path-to-your-log-file"), and anything else to get the context you need; note your findings, and after that, please create a plan to fix it. Let me know when you're ready!
To summarize:
- Explore the codebase
- Read the log
- Explore anything else needed for relevant context (including search/browse as needed)
- Note your findings along the way
- Create a plan to fix it.
- Then [share your plan] or [go ahead and fix it]Genetic-Evolutionary Prompt Architecture for Claude Desktop (or any MCP client) Research-backed automatic prompt optimization
A Model Context Protocol (MCP) server implementing the core GEPA (Genetic-Evolutionary Prompt Architecture) algorithm for automatic prompt optimization in Claude Desktop.
Key Research Benefits:
git clone https://github.com/developzir/gepa-mcp.git
cd gepa-mcp
./install.shThe installer will:
optimize_prompt - Core GEPA AlgorithmThe original research implementation - Full genetic-evolutionary optimization
{
"tool": "optimize_prompt",
"seed_prompt": "Write a product description",
"training_examples": [
{
"input": "wireless headphones",
"expected_keywords": ["battery", "sound quality", "comfort", "features"]
},
{
"input": "smartphone",
"expected_keywords": ["performance", "camera", "display", "battery"]
}
],
"budget": 15
}When to use: Complex prompts that need deep optimization with specific training data.
quick_prompt_improve - Fast EnhancementGEPA-powered quick improvements - Single optimization cycle
{
"tool": "quick_prompt_improve",
"prompt": "Explain quantum computing",
"context": "For a high school student with basic physics knowledge",
"task_type": "educational"
}When to use: Fast improvements when you don't have training data or need immediate results.
conversational_optimize - Context-AwareSmart conversation-based optimization - Adapts to chat context
{
"tool": "conversational_optimize",
"prompt": "Help me debug this function",
"conversation_history": "User struggling with Python loops, prefers simple examples",
"user_satisfaction_signals": "Liked step-by-step explanations"
}When to use: Mid-conversation prompt improvements based on what's working well.
The genetic-evolutionary approach:
Unlike traditional methods, GEPA uses natural language reflection to understand what makes prompts effective, leading to more human-aligned improvements.
# In Claude Desktop:
Use optimize_prompt with:
- seed_prompt: "Summarize this research paper"
- training_examples: [{"input": "ML paper on transformers", "expected_keywords": ["key findings", "methodology", "implications", "technical accuracy"]}]
- budget: 12# In Claude Desktop:
Use quick_prompt_improve with:
- prompt: "Explain this code"
- context: "For junior developers learning React"
- task_type: "educational"# In Claude Desktop:
Use conversational_optimize with:
- prompt: "Help me solve this problem"
- conversation_history: "User prefers concrete examples, gets confused by abstract explanations"# Required
GEMINI_API_KEY=your_api_key_here
# Optional Tuning
GEMINI_MODEL=gemini-1.5-flash # or gemini-1.5-pro for higher quality
TEMPERATURE=0.7 # 0.1-1.0, lower = more focused
DEFAULT_BUDGET=10 # Default optimization rolloutsTraining Data Tips:
Budget Guidelines:
Tools not showing in Claude Desktop?
# Check config file (varies by OS):
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Linux: ~/.config/claude-desktop/claude_desktop_config.json
# Restart Claude Desktop completelyAPI errors?
# Verify your .env file:
cat .env # Should show: GEMINI_API_KEY=your_actual_key
# Test API access:
curl -H "x-goog-api-key: YOUR_KEY" https://generativelanguage.googleapis.com/v1/modelsInstallation issues?
# Reinstall from scratch:
rm .env && ./install.sh@misc{agrawal2025gepareflectivepromptevolution, title={GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning}, author={Lakshya A Agrawal and Shangyin Tan and Dilara Soylu and Noah Ziems and Rishi Khare and Krista Opsahl-Ong and Arnav Singhvi and Herumb Shandilya and Michael J Ryan and Meng Jiang and Christopher Potts and Koushik Sen and Alexandros G. Dimakis and Ion Stoica and Dan Klein and Matei Zaharia and Omar Khattab}, year={2025}, eprint={2507.19457}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/2507.19457},
We welcome contributions to the core GEPA implementation:
Extended Features: Experimental tools are preserved in the extended-features branch for future development.
MIT License - Free for commercial and personal use.
Based on "Genetic-Evolutionary Prompt Architecture: Efficient Automatic Prompt Optimization" - Research demonstrating that natural language reflection provides richer optimization signals than traditional policy gradients [alone].
Built With:
🎯 Ready to optimize your prompts with research-backed evolution? Run ./install.sh and start using GEPA in Claude Desktop!
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.