BSD Ports

misc/py-mcp 1.28.1 MidnightBSD

Python implementation of the Model Context Protocol (MCP)

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
f3fb707ef3
License
mit
Categories
misc, python

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

In the other systems

SystemPortVersion
MidnightBSDmisc/py-mcp1.28.1
FreeBSDmisc/py-mcp2.3.0
DragonFlymisc/py-mcp1.3.0
HardenedBSDmisc/py-mcp2.2.0
GhostBSDmisc/py-mcp2.2.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}mcp

From mports:

cd /usr/mports/misc/py-mcp && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mcp>0:misc/py-mcp

Dependencies

As this port's Makefile names them.

Build 2

Runtime 13

Build dependencies 2
Run dependencies 13

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
mcp-1.28.1.tar.gz638501d51e36a5f5644faea4f85ea649bfffa6bc6c26770d42798ad6a3de3d2ba69683
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
f3fb707ef3 Lucas Holt misc/py-mcp: update to 1.28.1 (#831)
Update mcp from 1.28.0 to 1.28.1. requires_dist is identical between 1.28.0 and 1.28.1; no dependency changes. Required by ai/py-mistral-vibe 2.19.0 and later. Validated on MidnightBSD 4.0.6/amd64: makesum, build, fake, package, portlint (0 fatal). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E2ugt5KT9NMJdaWjhe2PUu ## Summary by Sourcery Enhancements: - Update the mcp Python package port to version 1.28.1 without changing its dependencies. Signed-off-by: Lucas Holt <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>