Skip to content

Commit af1e53d

Browse files
Merge pull request #3044 from blshkv/pr/mcp
mcp
2 parents 77be0b0 + 8671a2a commit af1e53d

7 files changed

Lines changed: 80 additions & 40 deletions

File tree

‎dev-python/mcp-types/Manifest‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DIST mcp_types-2.2.0.tar.gz 65892 BLAKE2B 0d7ce15a117496622243dda5cdc44ec373ab98bb4106dfd7cbe55f2b1a24335f19796f9e7e2ba25852ff3ca3b33b89bc6f60b18daa3fae0dc5b2f14eb0ffdbf7 SHA512 1a2f7cb533282370dc18a5a9ce0d9e4a92e8c4961501a466c139d1b1290f1342d1d6292a03738b40ade85803638792b4284941c80940cbc073809dce70ad8fa2
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2026 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{12..14} )
7+
DISTUTILS_USE_PEP517=hatchling
8+
9+
inherit distutils-r1 pypi
10+
11+
DESCRIPTION="Model Context Protocol wire types"
12+
HOMEPAGE="https://github.com/modelcontextprotocol/python-sdk"
13+
14+
LICENSE="MIT"
15+
SLOT="0"
16+
KEYWORDS="amd64 ~arm64 ~x86"
17+
18+
RDEPEND="
19+
>=dev-python/pydantic-2.12.0[${PYTHON_USEDEP}]
20+
>=dev-python/typing-extensions-4.13.0[${PYTHON_USEDEP}]
21+
"
22+
DEPEND="${RDEPEND}"

‎dev-python/mcp-types/metadata.xml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<longdescription>
5+
Model Context Protocol wire types — the Pydantic-based type definitions
6+
shared between MCP clients and servers.
7+
</longdescription>
8+
<upstream>
9+
<remote-id type="github">modelcontextprotocol/python-sdk</remote-id>
10+
<remote-id type="pypi">mcp-types</remote-id>
11+
</upstream>
12+
</pkgmetadata>

‎dev-python/mcp/Manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DIST mcp-1.14.0.tar.gz 454855 BLAKE2B 653de9bae1f74da6345ada35914a310e6605a67cf58a6cff2479cd7dd997636c23ca92b31c517457aac983654202a29b173b41eadfee066bb0984f816b0a090f SHA512 c86e9eaa0e9d4acd5782164d4bf6b5dc94fa3031493e9d2245aa74fb3bef8900091a2fe02a409e13bd14beaa505e2da9f1756e7ff8ec4b9042dba03abe05c1ac
1+
DIST mcp-2.2.0.tar.gz 4084129 BLAKE2B 018b0c99085497da79859b47b76f860f4921fdb6c00faf7772ee075ed278f188773f04283423b140aa15172b29bd146884823023d5496527c7a16e592e58ca6d SHA512 db0658b87393f5820cb3350010fb7e70a59998d4c46197b36bcc6c00e2540f54d32065aa8607e95415f45b0f44106b5f24b12b8f0360ce81ecb6d6d06d969ef0

‎dev-python/mcp/mcp-1.14.0.ebuild‎

Lines changed: 0 additions & 36 deletions
This file was deleted.

‎dev-python/mcp/mcp-2.2.0.ebuild‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright 2026 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{12..14} )
7+
DISTUTILS_USE_PEP517=hatchling
8+
9+
inherit distutils-r1 pypi
10+
11+
DESCRIPTION="Python SDK for Model Context Protocol"
12+
HOMEPAGE="https://github.com/modelcontextprotocol/python-sdk"
13+
14+
LICENSE="MIT"
15+
SLOT="0"
16+
KEYWORDS="amd64 ~arm64 ~x86"
17+
IUSE="cli rich"
18+
19+
RESTRICT="test"
20+
21+
RDEPEND="
22+
>=dev-python/anyio-4.9[${PYTHON_USEDEP}]
23+
>=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}]
24+
>=dev-python/httpx2-2.5.0[${PYTHON_USEDEP}]
25+
>=dev-python/jsonschema-4.20.0[${PYTHON_USEDEP}]
26+
=dev-python/mcp-types-${PV}[${PYTHON_USEDEP}]
27+
>=dev-python/opentelemetry-api-1.28.0[${PYTHON_USEDEP}]
28+
>=dev-python/pydantic-2.12.0[${PYTHON_USEDEP}]
29+
>=dev-python/pyjwt-2.10.1[${PYTHON_USEDEP}]
30+
>=dev-python/python-multipart-0.0.9[${PYTHON_USEDEP}]
31+
>=dev-python/sse-starlette-3.0.0[${PYTHON_USEDEP}]
32+
>=dev-python/starlette-0.48.0[${PYTHON_USEDEP}]
33+
>=dev-python/typing-extensions-4.13.0[${PYTHON_USEDEP}]
34+
>=dev-python/typing-inspection-0.4.1[${PYTHON_USEDEP}]
35+
>=dev-python/uvicorn-0.31.1[${PYTHON_USEDEP}]
36+
cli? (
37+
>=dev-python/python-dotenv-1.0.0[${PYTHON_USEDEP}]
38+
>=dev-python/typer-0.16.0[${PYTHON_USEDEP}]
39+
)
40+
rich? ( >=dev-python/rich-13.9.4[${PYTHON_USEDEP}] )
41+
"
42+
DEPEND="${RDEPEND}"

‎dev-python/mcp/metadata.xml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<name>Author Unknown</name>
77
</maintainer>
88
<use>
9-
<flag name="cli">cli support</flag>
10-
<flag name="rich">rich support</flag>
11-
<flag name="ws">ws support</flag>
9+
<flag name="cli">Install the mcp CLI tool and python-dotenv</flag>
10+
<flag name="rich">Enable rich terminal output</flag>
1211
</use>
1312
<upstream>
1413
<remote-id type="github">modelcontextprotocol/python-sdk</remote-id>

0 commit comments

Comments
 (0)