Files
mcp-servers/packages/kindly-web-search-mcp-server/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

118 lines
2.8 KiB
Nix

{
lib,
python313Packages,
fetchFromGitHub,
fetchPypi,
makeWrapper,
chromium,
}:
let
# Inline dependency: markdownify (not in nixpkgs)
# Converts HTML to Markdown
markdownify = python313Packages.buildPythonPackage rec {
pname = "markdownify";
version = "1.2.2";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
dist = "py3";
python = "py3";
hash = "sha256-PwLTzFJxQITW5Yn3A5e2/J8vOoUxSBvzXozDn5deGGo=";
};
propagatedBuildInputs = with python313Packages; [
beautifulsoup4
six
];
doCheck = false;
pythonImportsCheck = [ "markdownify" ];
meta = with lib; {
description = "Convert HTML to Markdown";
homepage = "https://github.com/matthewwithanm/python-markdownify";
license = licenses.mit;
};
};
# Inline dependency: nodriver (not in nixpkgs)
# Headless browser automation without webdriver
nodriver = python313Packages.buildPythonPackage rec {
pname = "nodriver";
version = "0.48.1";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
dist = "py3";
python = "py3";
hash = "sha256-2UtJ/WyoMf0lRt7h452Fuqlg9SU29G4dx+jcs46Ngro=";
};
propagatedBuildInputs = with python313Packages; [
mss
websockets
deprecated
];
doCheck = false;
pythonImportsCheck = [ "nodriver" ];
meta = with lib; {
description = "Web automation without webdriver";
homepage = "https://github.com/ultrafunkamsterdam/nodriver";
license = licenses.mit;
};
};
in
python313Packages.buildPythonApplication rec {
pname = "kindly-web-search-mcp-server";
version = "0.1.8-unstable";
pyproject = true;
src = fetchFromGitHub {
owner = "Shelpuk-AI-Technology-Consulting";
repo = "kindly-web-search-mcp-server";
rev = "2b76afb37bf311facbde6750d0a0c0cbdfb8fec2";
hash = "sha256-90QHr2FPiMSwKXmjlZ2W9NIQvj3LDXzYIq6m/Z+sJMw=";
};
build-system = with python313Packages; [
hatchling
];
dependencies = with python313Packages; [
mcp
pydantic
httpx
beautifulsoup4
markdownify
nodriver
pymupdf
fastmcp
trafilatura
];
nativeBuildInputs = [ makeWrapper ];
# Wrap with Chromium path for headless browser content extraction
postInstall = ''
wrapProgram $out/bin/kindly-web-search-mcp-server \
--set KINDLY_BROWSER_EXECUTABLE_PATH "${chromium}/bin/chromium"
'';
pythonImportsCheck = [ "kindly_web_search_mcp_server" ];
meta = with lib; {
description = "Web search + robust content retrieval MCP server for AI coding tools";
homepage = "https://github.com/Shelpuk-AI-Technology-Consulting/kindly-web-search-mcp-server";
license = licenses.mit;
mainProgram = "kindly-web-search-mcp-server";
platforms = platforms.linux ++ platforms.darwin;
};
}