Files
mcp-servers/packages/zotero-mcp/package.nix
T
hermes-agent 90c942e4bb
NixOS Configuration CI / Nix Flake Check (push) Successful in 1m23s
update: bump 6 MCP packages + nixpkgs flake
- flake.lock: nixpkgs 2026-05-31 → 2026-06-16
- zotero-mcp: v0.2.2 → v0.5.0
- duckduckgo-mcp-server: 0.1.1-unstable → v0.4.0
- kindly-web-search-mcp-server: bump to latest commit + add trafilatura dep
- sabnzbd-mcp: pin to specific commit instead of refs/heads/main
- jellyfin-mcp: v2026.318.7 → v2026.604.2 (remove go.mod patch)
- nextcloud-mcp-server: v0.89.0 → v0.121.3

n8n-mcp, mcp-arr-server, pdf-reader-mcp held back:
upstream npm packages require @modelcontextprotocol/sdk versions
not yet published to npm registry
2026-06-20 13:55:06 +02:00

97 lines
1.9 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
fetchPypi,
}:
let
# Internal dependency: pyzotero (not in nixpkgs)
pyzotero = python3Packages.buildPythonPackage rec {
pname = "pyzotero";
version = "1.11.0";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
dist = "py3";
python = "py3";
hash = "sha256-VDSMczLHnNGs9THyVI/I2MbqMeiemMQgIy2XoZOtlbI=";
};
propagatedBuildInputs = with python3Packages; [
feedparser
bibtexparser
httpx
whenever
];
doCheck = false;
pythonImportsCheck = [ "pyzotero" ];
meta = with lib; {
description = "Python wrapper for the Zotero API";
homepage = "https://github.com/urschrei/pyzotero";
license = licenses.blueOak100;
};
};
in
python3Packages.buildPythonApplication rec {
pname = "zotero-mcp";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "54yyyu";
repo = "zotero-mcp";
rev = "v${version}";
hash = "sha256-ioy6bdP+jFioUGBKiiYtD4nbdFe6v2E3nCi6s9+dTT0=";
};
build-system = with python3Packages; [
hatchling
];
# Core dependencies
dependencies = with python3Packages; [
pyzotero
mcp
python-dotenv
markitdown
pydantic
requests
fastmcp
unidecode
# PDF support
pymupdf
ebooklib
pdfplumber
];
# Optional: semantic search dependencies
optional-dependencies = with python3Packages; {
semantic = [
chromadb
sentence-transformers
openai
google-genai
tiktoken
];
pdf = [
pymupdf
ebooklib
];
};
pythonImportsCheck = [ "zotero_mcp" ];
meta = with lib; {
description = "MCP server connecting Zotero with AI assistants for research library access";
homepage = "https://github.com/54yyyu/zotero-mcp";
license = licenses.mit;
mainProgram = "zotero-mcp";
platforms = platforms.all;
};
}