
developzir/gepa-mcp 是从 https://github.com/developzir/gepa-mcp. 导入的 MCP 服务器候选。
概览
developzir/gepa-mcp 是从 https://github.com/developzir/gepa-mcp. 导入的 MCP 服务器候选。
概述(AI 翻译)
我不太确定这样是否能正常😂工作,你可能需要请你用的模型来清理一下:
- 注意,我不确定那个“修正”提示是否有效;可能会;但这只是举个例子。
GEPA MCP 服务器
- 感谢创建该系统的杰出研究人员;
- 请点击这里查看原始研究:https://arxiv.org/abs/2507.19457
- 以及其官方算法实现的仓库:https://github.com/gepa-ai/gepa
**Claude 桌面(或任何 MCP 客户端)的遗传进化提示结构 基于研究的自动提示优化
这是一台模型上下文协议(MCP)服务器,实现了Claude Desktop中自动提示优化的核心GEPA(遗传进化提示架构)算法。
主要研究益处:
- **提示比强化学习方法好10-20%
- 比传统优化方法高效35倍
- 使用自然语言反射的遗传进化方法
🚀 快速安装
先决条件
- Python 3.10+
- Claude桌面
- Gemini API 密钥(免费)
一命令设置
安装人员将:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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]
- Note, I’m not sure if that ‘fix’ prompt will work; it may; but just an example.
GEPA MCP Server
- Thank you to the brilliant researchers who created this system;
- Check out the original research here: https://arxiv.org/abs/2507.19457
- As well as their repository for the official implementation of the algorithm: https://github.com/gepa-ai/gepa
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:
- 10-20% better prompts compared to reinforcement learning approaches
- 35x more efficient than traditional optimization methods
- Genetic-evolutionary approach using natural language reflection
🚀 Quick Installation
Prerequisites
- Python 3.10+
- Claude Desktop
- Gemini API key (free)
One-Command Setup
git clone https://github.com/developzir/gepa-mcp.git
cd gepa-mcp
./install.sh
The installer will:
- ✅ Install all dependencies automatically
- ✅ Safely merge with your existing Claude Desktop config
- ✅ Prompt for your Gemini API key
- ✅ Test the installation
🛠️ Three Core Tools
1. optimize_prompt - Core GEPA Algorithm
The 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
}
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →