Skip to content

build(no-ticket): upgrade mcp to 1.28.1 - #347

Open
cloudsmith-iduffy wants to merge 1 commit into
masterfrom
deps/mcp-1.28.1
Open

build(no-ticket): upgrade mcp to 1.28.1#347
cloudsmith-iduffy wants to merge 1 commit into
masterfrom
deps/mcp-1.28.1

Conversation

@cloudsmith-iduffy

Copy link
Copy Markdown
Contributor

Description

Clears the high-severity CodeQL dependency alert CVE-2026-59950 (mcp 1.27.2 → 1.28.1), which currently fails the CodeQL check on every open PR.

The deprecated mcp.server.websocket.websocket_server transport accepted WebSocket handshakes without applying Host or Origin header validation, leaving no SDK-level way to restrict which origins could connect to an application exposing that transport.

cloudsmith mcp does not use the websocket transport, so the CLI is not exposed. This is the version bump to clear the alert.

mcp is pinned exactly (==) in pyproject.toml, so both the pin and the lockfile move.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • Other (please describe)

Dependency/security bump.

Additional Notes

uv lock --upgrade-package mcp, then uv sync --all-extras --dev. Test suite on this branch: 628 passed, 40 skipped, and cloudsmith mcp --help still resolves.

Note this touches uv.lock, as does the companion cryptography bump — whichever merges second will need a re-lock.

🤖 Generated with Claude Code

CVE-2026-59950 (high): the deprecated mcp.server.websocket.websocket_server
transport accepted WebSocket handshakes without Host or Origin validation,
leaving no SDK-level way to restrict which origins could connect.

The CLI's MCP server does not use the websocket transport, so it is not
exposed; this bump clears the CodeQL dependency alert that currently fails on
every branch.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 9, 2026 04:52
@cloudsmith-iduffy
cloudsmith-iduffy requested a review from a team as a code owner August 9, 2026 04:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the pinned mcp dependency to address a high-severity CodeQL advisory, ensuring the CLI’s dependency set no longer triggers the CodeQL failing alert.

Changes:

  • Bump mcp from 1.27.2 to 1.28.1 in pyproject.toml (exact pin).
  • Update uv.lock to reflect the new mcp version (and regenerated lock resolution markers / artifacts).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Updates the exact mcp pin to ==1.28.1.
uv.lock Regenerates the lock to include mcp==1.28.1 and updated resolution markers/artifacts.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants