fix(deps): bump mcp to 1.27.2 and upgrade vulnerable dependencies#308
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the CLI’s pinned MCP dependency and regenerates the compiled dependency lockfile to address security alerts and align runtime requirements for zipapp/PEX packaging.
Changes:
- Bump
mcpfrom1.9.1to1.27.2(in bothsetup.pyandrequirements.in). - Switch
PyJWT>=2.0.0toPyJWT[crypto]>=2.0.0insetup.pyto ensure the crypto extra is preserved in zipapp/PEX resolution. - Regenerate
requirements.txtwith updated pinned transitive versions (and record thepip-compile --no-emit-index-url ...invocation).
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| setup.py | Bumps MCP and ensures PyJWT’s crypto extra is explicitly required for packaging/runtime correctness. |
| requirements.txt | Refreshes the compiled/pinned dependency set to match updated MCP and vulnerability-driven upgrades. |
| requirements.in | Updates the pinned MCP version in the input set used for compiling the lockfile. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6 tasks
cloudsmith-iduffy
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps
mcp1.9.1 → 1.27.2 and regeneratesrequirements.txt, resolving all 17 open Dependabot alerts (mcp, urllib3, requests, starlette, python-multipart, python-dotenv, idna, pytest, pygments) and the matching requirements.txt code scanning alerts.PyJWT>=2.0.0becomesPyJWT[crypto]>=2.0.0insetup.py: mcp ≥1.23 requirespyjwt[crypto], and a bare top-level PyJWT requirement makes the PEX zipapp resolver drop the extra, shipping a zipapp without cryptography wheels that fails at startup on macOS. The dependency stays declared because the OIDC token cache imports jwt directly (see #309 review — library-based decode retained per maintainer preference).Type of Change
Additional Notes
mcp 1.27.2 requires Python ≥3.10, matching the existing
python_requires; no supported version dropped. Verified: full pytest green on Python 3.10–3.14 (incl. Alpine/ARM64 zipapp CI), live API smoke tests (push/download round-trip), MCP server stdio smoke test (initialize, 88 tools, live tool call) under mcp 1.27.2, and a locally built zipapp containing the cryptography wheels for macOS/Linux.