Skip to content

chore(deps): bump mcp from 1.26.0 to 1.28.1 in /envs/agent_world_model_env#985

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/envs/agent_world_model_env/mcp-1.28.1
Closed

chore(deps): bump mcp from 1.26.0 to 1.28.1 in /envs/agent_world_model_env#985
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/envs/agent_world_model_env/mcp-1.28.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 16, 2026

Copy link
Copy Markdown
Contributor

Bumps mcp from 1.26.0 to 1.28.1.

Release notes

Sourced from mcp's releases.

v1.28.0

Deprecations

Two API surfaces now emit DeprecationWarning ahead of their removal in v2. Nothing is removed in 1.x, and the warnings fire only when the deprecated API is called - importing the modules stays silent.

  • WebSocket transport - mcp.client.websocket.websocket_client and mcp.server.websocket.websocket_servermodelcontextprotocol/typescript-sdk#1783
  • Experimental tasks API - ClientSession.experimental, Server.experimental, ServerSession.experimental, and the experimental_task_handlers= kwarg on ClientSession. Tasks (SEP-1686) were removed from the MCP specification and are expected to return as a separate MCP extension.

If your test suite runs with filterwarnings = ["error"] and exercises these paths, add a scoped ignore such as ignore:The experimental tasks API is deprecated:DeprecationWarning or ignore:The WebSocket .* transport is deprecated:DeprecationWarning.

See #2828 for full details.

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/python-sdk@v1.27.2...v1.28.0

v1.27.2

What's Changed

Full Changelog: modelcontextprotocol/python-sdk@v1.27.1...v1.27.2

v1.27.1

What's Changed

Full Changelog: modelcontextprotocol/python-sdk@v1.27.0...v1.27.1

v1.27.0

What's Changed

... (truncated)

Commits
  • 777b8d0 [v1.x] Support TransportSecuritySettings in the WebSocket server transport (#...
  • 4720467 [v1.x] Set Development Status classifier to Production/Stable (#2976)
  • 6df3d73 [v1.x] Buffer per-request StreamableHTTP streams; store priming event before ...
  • 32d3290 [v1.x] Pass a list to parametrize in test_docs_examples (pytest 9.1.0 compat)...
  • 0dca751 [v1.x] Deflake the child process cleanup tests (#2839)
  • 52258a9 [v1.x] Add a v2 status banner to the README (#2835)
  • b8f4917 [v1.x] Deprecate the WebSocket transport and the experimental tasks entry poi...
  • 2309e5e fix: omit null optional fields from task result payloads (#2809)
  • 494eb11 [v1.x] Support Python 3.14 (#2769)
  • 6213787 [v1.x] Scope experimental tasks to the session that created them (#2720)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Low Risk
Dependency lock refresh with no repo code changes; minor risk if tests treat new MCP deprecation warnings as errors or if upstream auth/session binding affects MCP clients at runtime.

Overview
Updates the mcp Python SDK lock entry in envs/agent_world_model_env/uv.lock from 1.26.0 to 1.28.1 (sdist and wheel URLs/hashes only). No application source or pyproject.toml dependency pins change in this diff.

The newer SDK includes auth-related fixes (e.g. binding transport sessions to the authenticated principal, AccessToken metadata), StreamableHTTP buffering, Pydantic/OAuth edge-case fixes, and deprecation warnings for WebSocket transport and experimental tasks APIs when those code paths are used. agent_world_model_env consumes MCP via mcp-agent and OpenEnv’s MCPToolClient / MCP types, so behavior should stay the same unless those stacks hit deprecated surfaces or strict warning-as-error test settings.

Reviewed by Cursor Bugbot for commit aa82d68. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [mcp](https://github.com/modelcontextprotocol/python-sdk) from 1.26.0 to 1.28.1.
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases)
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md)
- [Commits](modelcontextprotocol/python-sdk@v1.26.0...v1.28.1)

---
updated-dependencies:
- dependency-name: mcp
  dependency-version: 1.28.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added Dependencies python:uv Pull requests that update python:uv code labels Jul 16, 2026
@burtenshaw burtenshaw added environment size: small Small pull request labels Jul 16, 2026 — with Cursor
@bot-ci-comment

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Alignment Review Report

Dependabot transitive bump: mcp 1.26.0 → 1.28.1 in envs/agent_world_model_env/uv.lock (lock-only, +3/-3). This is a security-positive, born-clean single-package bump — no blocking issues.

Automated Checks

  • Lint: PASS (for this diff). .claude/hooks/lint.sh exits non-zero, but every flagged file is pre-existing formatting drift in ~20 .py files across other envs (e.g. chat_env, coding_tools_env, opencode_env, and agent_world_model_env/server/web_ui.py). None are in this PR — the diff touches only uv.lock, which ruff/usort don't lint. This PR introduces no lint issues.
  • Debug code: CLEAN (for this diff). check-debug.sh only scans src/; all hits are pre-existing. This PR changes no .py files.

Verification (positive signals)

  • Transitive & lock-only correctmcp has no direct pin in this env's pyproject.toml (pulled via fastapi-mcp==0.4.0, fastmcp==3.2.0, mcp-agent==0.2.6, openenv), so a lock-only change with no pyproject.toml edit is expected.
  • uv lock --check passes (159 packages resolved) — 1.28.1 satisfies every dependent's constraints.
  • Hashes verified against PyPI — sdist d51e36a5… (638,501 B) and wheel 2726bca5… (222,620 B) match the lock exactly; requires_python >=3.10, not yanked, 0 known vulnerabilities.
  • Security fix — base mcp 1.26.0 carries GHSA-hvrp-rf83-w775 (CVE-2026-52870, experimental-tasks cross-client access) and GHSA-jpw9-pfvf-9f58 (CVE-2026-52869, SSE/Streamable-HTTP session-id-only auth), both fixed_in: 1.27.2 → 1.28.1 clears both.
  • Born clean — base lock is already fully on pypi.org/simple (0 HF-mirror refs) at revision = 3; head is identical. No index-source flip, no revision bump — the entire diff is the single mcp block.
  • Clean single-package bump — 155 → 155 packages, 0 added/removed, only mcp changed.
  • 1.28.0 deprecations don't affect OpenEnv — the newly-deprecated mcp WebSocket transport and experimental-tasks APIs have 0 usages in src/ or envs/agent_world_model_env, and there's no filterwarnings = ["error"] to escalate DeprecationWarnings. The env's direct mcp imports (ClientSession, streamable_http_client in server/scenario_manager.py) still resolve in 1.28.1.

Open RFCs Context

  • RFC 003 — MCP Support (In Review): governs the MCP interface design (action mapping, transports), not the pinned SDK version. Topically adjacent, no conflict.
  • RFC 010 (Draft) is an unrelated training-loss technique despite the "ECHO" name. No RFC covers dependency management / PyPI pins.

Tier 1: Fixes Required

None.

Tier 2: Alignment Discussion

Principle Conflicts: None identified.

RFC Conflicts: None identified.

Process note (repo config — not this PR's fault, non-blocking):

FLAG: Native env-scoped dependabot PR opened despite exclude-paths.

  • .github/dependabot.yml (lines 4-9) configures the uv updater with directory: "/" and exclude-paths: ["envs/**"], yet this native dependabot/uv/envs/agent_world_model_env/… PR still modified envs/agent_world_model_env/uv.lock. The uv ecosystem doesn't appear to honor exclude-paths for env-scoped lockfiles (the aggregate roll-up is the intended path for env bumps). Worth a look at config vs. platform behavior.
  • Suggested reviewer: @burtenshaw (owns .github/dependabot.yml, commit 5f499da9 / #566).

Summary

  • 0 mechanical issues to fix
  • 1 alignment point for human review (dependabot exclude-paths process note, non-blocking)
  • 0 RFC conflicts

Net: a safe, security-positive, born-clean transitive bump. No code changes recommended — dependabot-generated lockfiles shouldn't be hand-edited (registry/config choices are team decisions).

Open in Web View Automation 

Sent by Cursor Automation: Pre-review

[[package]]
name = "mcp"
version = "1.26.0"
version = "1.28.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Transitive bump verified. mcp is pulled in via fastapi-mcp / fastmcp / mcp-agent / openenv (no direct pin in this env's pyproject.toml), so this lock-only change is correct. uv lock --check passes (159 pkgs resolved) and the package set is unchanged (155→155, only mcp).

Security-positive: base 1.26.0 carries CVE-2026-52870 (GHSA-hvrp-rf83-w775) + CVE-2026-52869 (GHSA-jpw9-pfvf-9f58), both fixed in ≥1.27.2 — so 1.28.1 clears both. 1.28.1 itself has 0 known advisories.

{ name = "uvicorn", marker = "sys_platform != 'emscripten'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/fc/6d/62e76bbb8144d6ed86e202b5edd8a4cb631e7c8130f3f4893c3f90262b10/mcp-1.26.0.tar.gz", hash = "sha256:db6e2ef491eecc1a0d93711a76f28dec2e05999f93afd48795da1c1137142c66", size = 608005, upload-time = "2026-01-24T19:40:32.468Z" }
sdist = { url = "https://files.pythonhosted.org/packages/6e/77/9450b8f251a13affb6281997d0523c4615f8a8b35d0b21ff30db3a5aac9d/mcp-1.28.1.tar.gz", hash = "sha256:d51e36a5f5644faea4f85ea649bfffa6bc6c26770d42798ad6a3de3d2ba69683", size = 638501, upload-time = "2026-06-26T12:57:29.093Z" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hashes verified against PyPI. This sdist d51e36a5… (638,501 B) and the wheel below (2726bca5…, 222,620 B) match pypi.org/pypi/mcp/1.28.1 exactly; requires_python >=3.10, not yanked.

This lock is born clean (already pypi.org/simple + revision = 3 at base), so the diff is just this mcp block — no index-source flip or revision churn.

Heads-up: mcp 1.28.0 deprecates the WebSocket transport + experimental-tasks APIs, but neither is used in this env or src/, and no filterwarnings=error is set — no runtime impact.

@burtenshaw

Copy link
Copy Markdown
Collaborator

Aggregated into #921.

@burtenshaw burtenshaw closed this Jul 17, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/uv/envs/agent_world_model_env/mcp-1.28.1 branch July 17, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies environment python:uv Pull requests that update python:uv code size: small Small pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant