dev-python/fastmcp - 4.0.2 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/fastmcp-4.0.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/fastmcp-4.0.2

Or alternatively:

emerge --autounmask-write -a =dev-python/fastmcp-4.0.2

Package Information

Description:
Fast framework for building Model Context Protocol servers
Homepage:
https://github.com/PrefectHQ/fastmcp https://pypi.org/project/fastmcp/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
4.0.2 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 pypi

DESCRIPTION="Fast framework for building Model Context Protocol servers"
HOMEPAGE="
	https://github.com/PrefectHQ/fastmcp
	https://pypi.org/project/fastmcp/
"

# Build the bundled implementation instead of the empty root metapackage.
S="${WORKDIR}/${P}/fastmcp_slim"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

# Ship the union of fastmcp-slim's base, mcp, client, and server groups; provider
# extras are outside the root metapackage and depend on unpackaged integrations.
# Audit bundled fastmcp_slim/pyproject.toml, not root Requires-Dist, which only
# pins slim extras. These groups are unchanged since 4.0.0. # verified 2026-09-04
RDEPEND="
	>=dev-python/mcp-types-2.0.0[${PYTHON_USEDEP}]
	<dev-python/mcp-types-3[${PYTHON_USEDEP}]
	>=dev-python/platformdirs-4.0.0[${PYTHON_USEDEP}]
	>=dev-python/pydantic-2.12.0[${PYTHON_USEDEP}]
	dev-python/email-validator[${PYTHON_USEDEP}]
	>=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/python-dotenv-1.1.0[${PYTHON_USEDEP}]
	>=dev-python/rich-13.9.4[${PYTHON_USEDEP}]
	>=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
	>=dev-python/exceptiongroup-1.2.2[${PYTHON_USEDEP}]
	>=dev-python/httpx2-2.5.0[${PYTHON_USEDEP}]
	>=dev-python/mcp-2.0.0[${PYTHON_USEDEP}]
	<dev-python/mcp-3[${PYTHON_USEDEP}]
	>=dev-python/opentelemetry-api-1.28.0[${PYTHON_USEDEP}]
	>=dev-python/starlette-1.0.1[${PYTHON_USEDEP}]
	>=dev-python/authlib-1.6.11[${PYTHON_USEDEP}]
	>=dev-python/py-key-value-aio-0.4.4[${PYTHON_USEDEP}]
	<dev-python/py-key-value-aio-0.5[${PYTHON_USEDEP}]
	>=dev-python/cyclopts-4.0.0[${PYTHON_USEDEP}]
	>=dev-python/griffelib-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/jsonref-1.1.0[${PYTHON_USEDEP}]
	>=dev-python/jsonschema-path-0.3.4[${PYTHON_USEDEP}]
	>=dev-python/joserfc-1.5.0[${PYTHON_USEDEP}]
	>=dev-python/openapi-pydantic-0.5.1[${PYTHON_USEDEP}]
	>=dev-python/packaging-24.0[${PYTHON_USEDEP}]
	>=dev-python/pyperclip-1.9.0[${PYTHON_USEDEP}]
	>=dev-python/python-multipart-0.0.26[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
	<dev-python/pyyaml-7.0[${PYTHON_USEDEP}]
	>=dev-python/uncalled-for-0.4.0[${PYTHON_USEDEP}]
	>=dev-python/uvicorn-0.35[${PYTHON_USEDEP}]
	>=dev-python/watchfiles-1.0.0[${PYTHON_USEDEP}]
	>=dev-python/websockets-15.0.1[${PYTHON_USEDEP}]
"
BDEPEND="
	dev-python/hatchling[${PYTHON_USEDEP}]
	>=dev-python/uv-dynamic-versioning-0.7.0[${PYTHON_USEDEP}]
"

# The plain py-key-value-aio atom already supplies the requested filetree,
# keyring, and memory extras. # verified 2026-09-01

# The upstream suite requires its full development workspace and live service
# integrations, including Node-based MCP conformance tests.
RESTRICT="test"

export UV_DYNAMIC_VERSIONING_BYPASS=${PV}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/mcp-types-2.0.0[]
	<dev-python/mcp-types-3[]
	>=dev-python/platformdirs-4.0.0[]
	>=dev-python/pydantic-2.12.0[]
	dev-python/email-validator[]
	>=dev-python/pydantic-settings-2.0.0[]
	>=dev-python/python-dotenv-1.1.0[]
	>=dev-python/rich-13.9.4[]
	>=dev-python/typing-extensions-4.0.0[]
	>=dev-python/exceptiongroup-1.2.2[]
	>=dev-python/httpx2-2.5.0[]
	>=dev-python/mcp-2.0.0[]
	<dev-python/mcp-3[]
	>=dev-python/opentelemetry-api-1.28.0[]
	>=dev-python/starlette-1.0.1[]
	>=dev-python/authlib-1.6.11[]
	>=dev-python/py-key-value-aio-0.4.4[]
	<dev-python/py-key-value-aio-0.5[]
	>=dev-python/cyclopts-4.0.0[]
	>=dev-python/griffelib-2.0.0[]
	>=dev-python/jsonref-1.1.0[]
	>=dev-python/jsonschema-path-0.3.4[]
	>=dev-python/joserfc-1.5.0[]
	>=dev-python/openapi-pydantic-0.5.1[]
	>=dev-python/packaging-24.0[]
	>=dev-python/pyperclip-1.9.0[]
	>=dev-python/python-multipart-0.0.26[]
	>=dev-python/pyyaml-6.0[]
	<dev-python/pyyaml-7.0[]
	>=dev-python/uncalled-for-0.4.0[]
	>=dev-python/uvicorn-0.35[]
	>=dev-python/watchfiles-1.0.0[]
	>=dev-python/websockets-15.0.1[]

BDEPEND

	dev-python/hatchling[]
	>=dev-python/uv-dynamic-versioning-0.7.0[]