chore: bump mcp package version (backport #4287) (#4288)
Some checks failed
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 2s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 4s
Integration Tests (Replay) / generate-matrix (push) Successful in 6s
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 7s
Vector IO Integration Tests / test-matrix (push) Failing after 13s
Unit Tests / unit-tests (3.12) (push) Failing after 14s
Integration Tests (Replay) / Integration Tests (, , , client=, ) (push) Failing after 9s
Unit Tests / unit-tests (3.13) (push) Failing after 1m35s
Pre-commit / pre-commit (push) Successful in 2m21s

# What does this PR do?

Address

https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-9h52-p55h-vw2f

<hr>This is an automatic backport of pull request #4287 done by
[Mergify](https://mergify.com).

Signed-off-by: Sébastien Han <seb@redhat.com>
Co-authored-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
mergify[bot] 2025-12-03 17:48:59 +01:00 committed by GitHub
parent 2682916d6d
commit 01736b1f5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ def available_providers() -> list[ProviderSpec]:
"pillow",
"pandas",
"scikit-learn",
"mcp>=1.8.1",
"mcp>=1.23.0",
]
+ kvstore_dependencies(), # TODO make this dynamic based on the kvstore config
module="llama_stack.providers.inline.agents.meta_reference",

View file

@ -80,7 +80,7 @@ def available_providers() -> list[ProviderSpec]:
provider_type="remote::model-context-protocol",
module="llama_stack.providers.remote.tool_runtime.model_context_protocol",
config_class="llama_stack.providers.remote.tool_runtime.model_context_protocol.config.MCPProviderConfig",
pip_packages=["mcp>=1.8.1"],
pip_packages=["mcp>=1.23.0"],
provider_data_validator="llama_stack.providers.remote.tool_runtime.model_context_protocol.config.MCPProviderDataValidator",
description="Model Context Protocol (MCP) tool for standardized tool calling and context management.",
),