summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-14 16:16:04 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:52 +0100
commitf1df7d79d90fe2d1c0784e1cc715177361a4000b (patch)
treef7b9e78bfaf39a61080ecfcd4c7fcb4cfc9befdd
parent983051488c582963059aedfd5bd5bda4b59bf8e8 (diff)
gnu: Add python-mcp.
* gnu/packages/python-web.scm (python-mcp): New variable. Change-Id: I6ee5ce57db56462120321b6f6e64ac3a301bcaa9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-web.scm37
1 files changed, 37 insertions, 0 deletions
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")