生物医学MCP服务器模板

一个基于Python的生物医学MCP服务器Cookiecutter模板,用于快速创建和发布MCP服务器。

  • by biocontext-ai
  • Python
  • 本地部署
  • 12 星标
  • 更新于
在 GitHub 查看 biocontext-ai/mcp-server-cookiecutter

使用说明

BioContextAI MCP服务器厨师模板

基于Python的生物医学MCP服务器的Cookiecutter模板 FastMCP。有关BioContextAI项目的更多信息,请参阅https://biocontext.ai.

用法

使用此模板 cookiecutter 通过运行:

uvx cookiecutter https://github.com/biocontext-ai/mcp-server-cookiecutter.git

或者,您也可以安装 cookiecutter 随着 pip:

python3 -m pip install --user cookiecutter
cookiecutter https://github.com/biocontext-ai/mcp-server-cookiecutter.git

发布您的MCP服务器

Python包

我们建议您通过以下方式发布MCP服务器 PyPi 以便可以通过以下方式安装 uv 和 pip。最简单的方法是在MCP服务器的GitHub存储库上创建一个版本,并使用附带的 release.yaml GitHub行动。在发布第一个版本之前,请确保将存储库和操作作为受信任的发布者添加到您的PyPi帐户中。

通过设置此cookiecutter,用户将能够使用以下命令简单运行MCP服务器:

uvx your_package_name

将其包含在支持的各种客户端之一中 mcp.json 标准,请使用:

{
  "mcpServers": {
    "server-name": {
      "command": "uvx",
      "args": ["your_package_name"],
      "env": {
        "UV_PYTHON": "3.12" // or required version
      }
    }
  }
}

提交至BioContextAI

为了使您的MCP服务器可被社区发现,请考虑将其提交给 BioContextAI注册表。您可以通过我们的在线编辑器轻松创建所需的元数据文件,网址为:https://biocontext.ai/registry/editor.一旦你准备好了这个文件,只需在 注册表存储库。我们将审核您的提交,将其纳入注册表,并在社交媒体上公布。

也欢迎您加入我们的 社区 在scverse®Zulip中与用户、开发人员联系并展示您的作品。

引用

如果此模板对您的研究有用,请引用:

@article{BioContext_AI_Kuehl_Schaub_2025,
  title={BioContextAI is a community hub for agentic biomedical systems},
  url={http://dx.doi.org/10.1038/s41587-025-02900-9},
  urldate = {2025-11-06},
  doi={10.1038/s41587-025-02900-9},
  year = {2025},
  month = nov,
  journal={Nature Biotechnology},
  publisher={Springer Science and Business Media LLC},
  author={Kuehl, Malte and Schaub, Darius P. and Carli, Francesco and Heumos, Lukas and Hellmig, Malte and Fernández-Zapata, Camila and Kaiser, Nico and Schaul, Jonathan and Kulaga, Anton and Usanov, Nikolay and Koutrouli, Mikaela and Ergen, Can and Palla, Giovanni and Krebs, Christian F. and Panzer, Ulf and Bonn, Stefan and Lobentanzer, Sebastian and Saez-Rodriguez, Julio and Puelles, Victor G.},
  year={2025},
  month=nov,
  language={en},
}