{"added":"2026-11-13T14:21:40-05:00","apiVersion":1,"behindSince":null,"buildDepends":["devel/py-hatchling","devel/py-uv-dynamic-versioning"],"categories":["misc","python"],"comment":"Python implementation of the Model Context Protocol (MCP) 2.x","compare":null,"dependentCount":null,"description":"This is the 2.x series of the MCP Python SDK. It installs the same \"mcp\"\nPython package as misc/py-mcp (1.x), so the two cannot be installed together.\n\nThe Model Context Protocol allows applications to provide context for LLMs in a\nstandardized way, separating the concerns of providing context from the actual\nLLM interaction. This Python SDK implements the full MCP specification, making\nit easy to:\n\n  - Build MCP clients that can connect to any MCP server\n  - Create MCP servers that expose resources, prompts and tools\n  - Use standard transports like stdio and SSE\n  - Handle all MCP protocol messages and lifecycle events","flavors":[],"html":"https://daemonports.org/midnightbsd/misc/py-mcp2/","kind":"port","lastUpdate":"2026-11-13T14:21:40-05:00","license":["mit"],"licenses":["MIT"],"maintainer":"ports@MidnightBSD.org","name":"${PYTHON_PKGNAMEPREFIX}mcp2","newest":false,"newestVersion":null,"noVulnData":true,"origin":"misc/py-mcp2","otherSystems":[],"packages":null,"pkgName":"${PYTHON_PKGNAMEPREFIX}mcp2-2.3.0","related":["misc/py-mcp"],"repository":"mports","requiredBy":["ai/py-mistral-vibe"],"requiredByCount":1,"runDepends":["devel/py-anyio","devel/py-jsonschema","devel/py-opentelemetry-api","devel/py-pydantic2","devel/py-typing-extensions","devel/py-typing-inspection","misc/py-mcp-types","security/py-cryptography","www/py-httpx2","www/py-pyjwt","www/py-python-multipart","www/py-sse-starlette","www/py-starlette","www/py-uvicorn"],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"2.3.0","versions":[{"commit":"ecbcc61ae5ab8252e2171554f98a950363f30543","date":"2026-11-13","version":"2.3.0"}],"vulnerabilities":null,"www":"https://modelcontextprotocol.io/"}
