initial commit
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s

This commit is contained in:
sid 2026-02-23 20:34:35 +01:00
commit 95a533c876
451 changed files with 18255 additions and 0 deletions

53
pkgs/mcpo/default.nix Normal file
View file

@ -0,0 +1,53 @@
# See https://github.com/NixOS/nixpkgs/pull/410836
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "mcpo";
version = "0.0.19";
pyproject = true;
src = fetchFromGitHub {
owner = "open-webui";
repo = "mcpo";
rev = "v${version}";
hash = "sha256-ZfTVMrXXEsEKHmeG4850Hq3MEpQA/3WMpAVZS0zvp1I=";
};
build-system = [
python3.pkgs.hatchling
];
dependencies = with python3.pkgs; [
click
fastapi
mcp
passlib
pydantic
pyjwt
python-dotenv
typer
uvicorn
watchdog
];
pythonRelaxDeps = [
"mcp"
];
pythonImportsCheck = [
"mcpo"
];
meta = {
description = "A simple, secure MCP-to-OpenAPI proxy server";
homepage = "https://github.com/open-webui/mcpo";
changelog = "https://github.com/open-webui/mcpo/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
mainProgram = "mcpo";
};
}