史诗生成工具

一个基于Python的MCP服务器,用于从检测到的工作包中生成史诗和故事。

  • by LChiara
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 LChiara/mcp-jira-integration

使用说明

Epic生成器MCP服务器

使用Python的最小MCP服务器 mcp SDK(FastMCP助手),从检测到的工作包生成Epics和Stories(例如,通过GitHub Copilot提示启动的更改)。

  • 章程: .specify/memory/constitution.md
  • 规格: .specify/specs/epic-generator.md
  • 入口点: server.py

需求

  • Python 3.10+(推荐3.11+)
  • 安装依赖项:
pip install -r requirements.txt

跑

通过stdio启动服务器:

python server.py

与MCP兼容的客户端集成以调用 generate_epic 工具。

工具:generate_epic

输入:

{
  "prompt": "string",
  "files": [{"path": "string", "changeType": "modified|added|deleted", "diff": "string?"}],
  "configuration": {"defaultDurationDays": 5, "storySplitStrategy": "auto|single"}
}

输出:

{
  "epic": { /* Epic */ },
  "stories": [ { /* Story */ } ]
}

开发快速测试

提供了一个小型测试流道:

python test_generate_epic.py

它进口 generate_epic 直接验证基本合同(不需要外部客户端)。