Skip to content

deps: update mcp requirement from <2,>=1.27.2 to >=1.27.2,<3 - #96

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/mcp-gte-1.27.2-and-lt-3
Closed

deps: update mcp requirement from <2,>=1.27.2 to >=1.27.2,<3#96
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/mcp-gte-1.27.2-and-lt-3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 30, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on mcp to permit the latest version.

Release notes

Sourced from mcp's releases.

v2.1.1

What's Changed

Full Changelog: modelcontextprotocol/python-sdk@v2.1.0...v2.1.1

Commits
  • 0921d94 Point imports of mcp.server.fastmcp at the migration guide (#3388)
  • 4d6f87e Build releases with the pinned hatchling and a publish action that accepts Me...
  • c5d7d0b docs: refresh translations for recent English changes (#3379)
  • d8b6383 Give recursive tool return types an object-rooted output schema (#3376)
  • 56af447 Log MCPServer handler exceptions by kind and keep crash details off the wire ...
  • f1c40b0 Accept boolean sub-schemas in 2025-11-25 tool schema properties (#3354)
  • 57394b0 Apply the request body limit to the SSE and OAuth endpoints (#3336)
  • 0cee624 Hand TypedDict tool results to pydantic natively (#3331)
  • 0d92192 Shorten stdio test comments (#3329)
  • b2025ab Acknowledge notification POSTs with 202 on the 2026-07-28 HTTP entry (#3326)
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Aug 30, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot requested a review from ernestprovo23 as a code owner August 30, 2026 18:12
Updates the requirements on [mcp](https://github.com/modelcontextprotocol/python-sdk) to permit the latest version.
- [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.27.2...v2.1.1)

---
updated-dependencies:
- dependency-name: mcp
  dependency-version: 2.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@ernestprovo23

Copy link
Copy Markdown
Member

Superseded by #105 — lifting the cap needed the fixture servers ported to the 2.x on_* API and a capture fix (2.x renamed model fields to snake_case and added PromptArgument.title=None, both of which silently changed every committed lock digest). That PR carries the digest-parity evidence.

@dependabot @github

dependabot Bot commented on behalf of github Sep 4, 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/pip/mcp-gte-1.27.2-and-lt-3 branch September 4, 2026 21:16
ernestprovo23 added a commit that referenced this pull request Sep 5, 2026
…96, DSE-1261) (#105)

* deps: lift the mcp<2 cap — fixtures ported to the 2.x SDK, capture made SDK-neutral (supersedes #96, DSE-1261)

The 2.x SDK removed the @server.list_tools() decorators the fixture servers
used (why #92 capped mcp<2). tests/fixtures/_sdk_compat.py wires the same
declared surfaces against the 1.x decorator API or the 2.x on_* callbacks.

Two 2.x changes would have silently altered every committed lock and are
absorbed in capture.py rather than re-pinned:
  * model fields renamed to snake_case (input_schema, mime_type,
    protocol_version) while wire keys stayed camelCase — a plain model_dump()
    under 2.x returned no inputSchema at all;
  * PromptArgument gained title=None, which leaked into arguments_hash.
_model_dump now returns the wire view (by_alias=True, exclude_none=True) and
the protocol version is read by attribute on either name. Proven: `check`
against clean.warden.lock exits 0 and a fresh pin reproduces overall_digest
cb20a16c… under mcp 2.1.1; the mutated fixture still drifts; the negative
controls (plain dump → 9 drift rows; alias-only → prompt-modified) fail.

Locks resolve to mcp==2.1.1 (requirements-dev.lock via the CI-documented uv
command, byte-identical on the CI sync re-compile; action/requirements.lock).

* fix(capture): keep prompt-argument nulls byte-stable, drain nextCursor pages — CSO review of #105

F1: exclude_none had dropped the description/required nulls of a bare prompt
argument, changing arguments_hash vs every released warden. The protocol field
set {name, description, required} is now always emitted (null when absent) and
only keys outside it (2.x title, _meta) are shed when null. No SCHEMA_VERSION
bump; pinned by a canon() byte-equality test.

F3: tools/resources/prompts list calls now follow nextCursor through the SDK's
params= cursor (same call shape on 1.x and 2.x). A failure on any later page is
a CaptureError — a partial surface is never pinned — and a chain longer than 256
pages is refused. The first-page swallow for capability-less servers is
unchanged and labelled as the deliberate fail-open it is.

Docs: mcp 2.x -> httpx2 -> truststore verifies --url TLS against the OS trust
store instead of certifi; stated plainly in CHANGELOG and README.

* ci: mcp 1.x capture-parity leg; name DSE-1538/DSE-1539 in the fail-open note (CSO re-verify of #105)

The cross-major digest-parity claim needs both SDK lines exercised: a
test-mcp-1x job re-resolves to the newest 1.x and runs the capture, parity,
pagination and e2e tests only (CI time stays flat). The first-page fail-open
docstring and CHANGELOG now cite DSE-1538 (capability-aware error handling)
and DSE-1539 (annotations/outputSchema hashing) instead of "a follow-up".
@ernestprovo23

Copy link
Copy Markdown
Member

Superseded by #105, which lifts the mcp<2 cap to <3 (resolved 2.1.1) with the fixtures ported to the 2.x SDK and a digest-parity proof against the committed lock. Merged as 8dc59e4.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant