From f1df7d79d90fe2d1c0784e1cc715177361a4000b Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 14 Jan 2026 16:16:04 +0100 Subject: gnu: Add python-mcp. * gnu/packages/python-web.scm (python-mcp): New variable. Change-Id: I6ee5ce57db56462120321b6f6e64ac3a301bcaa9 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 745a3b6a888..afa44911b5f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3682,6 +3682,43 @@ CSS3 that adds programming capabilities and some other syntactic sugar.") object graph to and from JSON.") (license license:bsd-3))) +(define-public python-mcp + (package + (name "python-mcp") + (version "1.25.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mcp" version)) + (sha256 + (base32 "00k87bl4jvnh7hrmicwb2m715fwccvvlanwf8cnlwdphxdhh6can")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: 186 failed, 648 passed, 94 skipped, 54 errors + ;; A lot of tests fail for unclear reasons. + #:tests? #f)) + (propagated-inputs (list python-httpx python-pydantic)) + (native-inputs + (list python-hatchling + python-httpx-sse + python-jsonschema + python-pydantic-settings + python-pytest + python-pytest-examples + python-pytest-xdist + python-sse-starlette + python-starlette + python-typer + python-typing-inspection + python-uvicorn)) + (home-page "https://modelcontextprotocol.io") + (synopsis "Model Context Protocol SDK") + (description + "This package provides a Python Software Development Kit for the Model +Context Protocol (MCP).") + (license license:expat))) + (define-public python-mechanicalsoup (package (name "python-mechanicalsoup") -- cgit v1.3