pdf-mcp: point at hermes-agent fork with bbox crop param
NixOS Configuration CI / Nix Flake Check (push) Failing after 17s
NixOS Configuration CI / Nix Flake Check (push) Failing after 17s
Use the hermes-agent/pdf-mcp fork (commit 356e476) which adds a bbox crop parameter to get_page_image so it can render just a figure region as a small PNG.
This commit is contained in:
1 parent
32dd8e8d2f
commit
b732981049
1 file changed
+5
-5
@@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "pdf-mcp";
|
pname = "pdf-mcp";
|
||||||
version = "0.1.0-unstable-2026-07-30";
|
version = "0.1.1-unstable-2026-07-30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "I-CAN-hack";
|
owner = "hermes-agent";
|
||||||
repo = "pdf-mcp";
|
repo = "pdf-mcp";
|
||||||
rev = "c430ba664d82b06140f24358310dbf7016b532a1";
|
rev = "356e476d1dd0d2d9eb866df7c6f82a21018351c8";
|
||||||
hash = "sha256-fy7ryfX+KuaI2QJG7kFAqWMWufk3kIz9Y5PnyuI4PIM=";
|
hash = "sha256-whfXjMQIUt94VEeo6Fdvdr96WV3HNNNVuL1gtkt4g7M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
@@ -30,7 +30,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "MCP server for reading, rendering, and searching PDF files (PyMuPDF)";
|
description = "MCP server for reading, rendering, and searching PDF files (PyMuPDF)";
|
||||||
homepage = "https://github.com/I-CAN-hack/pdf-mcp";
|
homepage = "https://gitea.bueso.eu/hermes-agent/pdf-mcp";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
mainProgram = "pdf-mcp";
|
mainProgram = "pdf-mcp";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|||||||
Reference in new issue
Block a user