File indexing completed on 2026-04-25 07:39:34
0001
0002
0003
0004
0005 from spack_repo.builtin.build_systems.generic import Package
0006
0007 from spack.package import *
0008
0009
0010 class ZenodoMcpServer(Package):
0011 """An MCP server that allows for querying Zenodo repositories by LLM agents."""
0012
0013 homepage = "https://eic.github.io/zenodo-mcp-server/"
0014 url = "https://github.com/eic/zenodo-mcp-server/archive/refs/tags/v0.1.0.tar.gz"
0015 git = "https://github.com/eic/zenodo-mcp-server.git"
0016
0017 maintainers("wdconinc")
0018
0019 license("MIT", checked_by="wdconinc")
0020
0021 version("main", branch="main")
0022 version("0.1.0", sha256="254bffa4ca24996d9947ac88688b9cf407142ec5024919b49efd6e737092dd14")
0023
0024 depends_on("node-js@22:", type=("build", "run"))
0025 depends_on("npm@10:", type="build")
0026
0027 def install(self, spec, prefix):
0028 npm = which("npm", required=True)
0029 npm("install", "--global", f"--prefix={prefix}", ".")