notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-mcp Python implementation of the Model Context Protocol (MCP)
1.27.0 misc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.26.0Version of this port present on the latest quarterly branch.
Maintainer: nivit@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-03-18 09:51:06
Last Update: 2026-04-03 07:39:57
Commit Hash: 60ea5db
Also Listed In: python
License: MIT
WWW:
https://pypi.python.org/pypi/mcp
Description:
The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This Python SDK implements the full MCP specification, making it easy to: - Build MCP clients that can connect to any MCP server - Create MCP servers that expose resources, prompts and tools - Use standard transports like stdio and SSE - Handle all MCP protocol messages and lifecycle events
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}mcp>0:misc/py-mcp@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-mcp/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-mcp
  • pkg install py311-mcp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-mcp listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-mcp
Package flavors (<flavor>: <package>)
  • py311: py311-mcp
distinfo:
TIMESTAMP = 1775201323 SHA256 (mcp-1.27.0.tar.gz) = d3dc35a7eec0d458c1da4976a48f982097ddaab87e278c5511d5a4a56e852b83 SIZE (mcp-1.27.0.tar.gz) = 607509

Packages (timestamps in pop-ups are UTC):
py311-mcp
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.27.01.27.0---n/an/an/a
FreeBSD:13:quarterly1.26.01.26.0-1.3.0-n/an/an/a
FreeBSD:14:latest1.27.01.27.0------
FreeBSD:14:quarterly1.26.01.26.0-1.3.0----
FreeBSD:15:latest1.27.01.27.0n/a-n/an/a--
FreeBSD:15:quarterly1.26.01.26.0n/a-n/an/a--
FreeBSD:16:latest1.27.01.27.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatchling>=1.27.0 : devel/py-hatchling@py311
  2. py311-uv-dynamic-versioning>=0.8.2 : devel/py-uv-dynamic-versioning@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-anyio>=4.5 : devel/py-anyio@py311
  2. py311-httpx-sse>=0.4 : www/py-httpx-sse@py311
  3. py311-httpx>=0.28.1 : www/py-httpx@py311
  4. py311-jsonschema>=4.20.0 : devel/py-jsonschema@py311
  5. py311-multipart>=0.0.9 : devel/py-multipart@py311
  6. py311-pydantic-settings>=2.6.0 : devel/py-pydantic-settings@py311
  7. py311-pydantic2>=2.10.6_2 : devel/py-pydantic2@py311
  8. py311-pyjwt>=2.10.1 : www/py-pyjwt@py311
  9. py311-sse-starlette>=2.2.0 : www/py-sse-starlette@py311
  10. py311-starlette>=0.45.3 : www/py-starlette@py311
  11. py311-typing-extensions>=4.15.0 : devel/py-typing-extensions@py311
  12. py311-typing-inspection>=0.4.2 : devel/py-typing-inspection@py311
  13. py311-uvicorn>=0.34.0 : www/py-uvicorn@py311
  14. python3.11 : lang/python311
This port is required by:
for Run
  1. devel/py-oci
  2. misc/py-fastmcp
  3. misc/py-google-genai
  4. misc/py-vllm
  5. textproc/pdf-form-filler-mcp
  6. textproc/pymupdf4llm-mcp

Configuration Options:
No options to configure
Options name:
misc_py-mcp
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/m/mcp/
  2. https://pypi.org/packages/source/m/mcp/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.27.0
03 Apr 2026 07:39:57
commit hash: 60ea5dbfa9eef7c8d97fd243b6215e29d340637ecommit hash: 60ea5dbfa9eef7c8d97fd243b6215e29d340637ecommit hash: 60ea5dbfa9eef7c8d97fd243b6215e29d340637ecommit hash: 60ea5dbfa9eef7c8d97fd243b6215e29d340637e files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
misc/py-mcp: Update to 1.27.0

ChangeLog:	https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.27.0
Reported by:	Max Isbey <notifications@github.com>
1.26.0
10 Feb 2026 13:34:59
commit hash: ee2642b7a7afaac7e86035f5307447dd05227cb6commit hash: ee2642b7a7afaac7e86035f5307447dd05227cb6commit hash: ee2642b7a7afaac7e86035f5307447dd05227cb6commit hash: ee2642b7a7afaac7e86035f5307447dd05227cb6 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
misc/py-mcp: Update to 1.26.0

ChangeLog:	https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.26.0
Reported by:	portscout!
1.25.0
10 Jan 2026 11:09:32
commit hash: 498071ff2ca4f1195575daf38631188bb139d72acommit hash: 498071ff2ca4f1195575daf38631188bb139d72acommit hash: 498071ff2ca4f1195575daf38631188bb139d72acommit hash: 498071ff2ca4f1195575daf38631188bb139d72a files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
misc/py-mcp: Update to 1.25.0

ChangeLog:	https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.25.0
Reported by:	portscout!
1.23.2
09 Dec 2025 09:49:27
commit hash: 237a4f78b95c9c4fcd918f5beebf2c00501bec74commit hash: 237a4f78b95c9c4fcd918f5beebf2c00501bec74commit hash: 237a4f78b95c9c4fcd918f5beebf2c00501bec74commit hash: 237a4f78b95c9c4fcd918f5beebf2c00501bec74 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
misc/py-mcp: Update to 1.23.2

- Update list of run dependencies

ChangeLog:	https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.23.2
Reported by:	portscout!
1.12.2
25 Jul 2025 16:15:10
commit hash: e40ef91131778d27e258a7813b1eba2e6f73e3c1commit hash: e40ef91131778d27e258a7813b1eba2e6f73e3c1commit hash: e40ef91131778d27e258a7813b1eba2e6f73e3c1commit hash: e40ef91131778d27e258a7813b1eba2e6f73e3c1 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
misc/py-mcp: Update to 1.12.2

- Update list of dependencies

Release
changes:	https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.12.2
1.3.0
18 Mar 2025 09:46:33
commit hash: 82930d2795ec9527f4577e20055ffe57287a8f00commit hash: 82930d2795ec9527f4577e20055ffe57287a8f00commit hash: 82930d2795ec9527f4577e20055ffe57287a8f00commit hash: 82930d2795ec9527f4577e20055ffe57287a8f00 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
misc/py-mcp: Add new port

The Model Context Protocol allows applications to provide context for LLMs in a
standardized way, separating the concerns of providing context from the actual
LLM interaction. This Python SDK implements the full MCP specification, making
it easy to:

  - Build MCP clients that can connect to any MCP server
  - Create MCP servers that expose resources, prompts and tools
  - Use standard transports like stdio and SSE
  - Handle all MCP protocol messages and lifecycle events

https://pypi.python.org/pypi/mcp

Number of commits found: 6