GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Retire wording tied to pre-2.0 milestones by maxisbey · Pull Request #3211 · modelcontextprotocol/python-sdk

Conversation

@maxisbey

@maxisbey maxisbey commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Several docstrings, comments, and story READMEs still describe work as "expected before v2 is final", "planned before beta", or "revisit before beta" — milestones that passed when 2.0 shipped.

Motivation and Context

The provisional middleware/dispatcher surface stays provisional, but the caveat now says what it means going forward — "may change in a 2.x minor release" — instead of pointing at a milestone in the past. The stale beta TODOs on the stories are dropped, and the middleware story is corrected: it claimed MCPServer has no public middleware accessor yet, but MCPServer.middleware (and the middleware= constructor argument) shipped in #3201.

How Has This Been Tested?

Wording only. ruff and pyright clean via pre-commit.

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Two adjacent notes were left alone on purpose: stories/error_handling ("the contract is under design") and stories/README.md ("hosting surface that are still moving") — neither names a milestone, and whether they still hold is a separate call.

AI Disclaimer

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@maxisbey
Retire wording tied to pre-2.0 milestones
4bf4934
Several docstrings, comments, and story READMEs still described work as
"expected before v2 is final", "planned before beta", or "revisit before
beta" — milestones that passed with the 2.0 release. Reword the
provisional middleware/dispatcher notes as "may change in a 2.x minor
release", drop the stale beta TODOs, and correct the middleware story:
MCPServer now exposes the same middleware list as the lowlevel Server.

No-Verification-Needed: doc, comment, and docstring wording only
@maxisbey
maxisbey marked this pull request as ready for review July 29, 2026 13:49
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

📚 Documentation preview

Preview https://pr-3211.mcp-python-docs.pages.dev
Deployment https://9a99f14c.mcp-python-docs.pages.dev
Commit 4bf4934
Triggered by @maxisbey
Updated 2026-07-29 13:50:27 UTC
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cubic-dev-ai[bot]
cubic-dev-ai Bot reviewed Jul 29, 2026
View reviewed changes

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

No issues found across 14 files

Re-trigger cubic

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
claude[bot]
claude Bot reviewed Jul 29, 2026
View reviewed changes

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM — wording-only change retiring stale pre-2.0 milestone language; no behavioral changes.

What was reviewed:

  • Confirmed every hunk touches only comments, docstrings, README prose, or a divergence-note string in test metadata (tests/interaction/_requirements.py) — no executable code changes.
  • Verified the middleware-story correction against the source: MCPServer.middleware and the middleware= constructor kwarg do exist in src/mcp/server/mcpserver/server.py, so the old "no public accessor yet" claim was indeed stale.
  • Checked the new "may change in a 2.x minor release" caveat is applied consistently across the middleware doc, both server docstrings, and the dispatcher protocol.
Extended reasoning...

Overview

This PR updates wording in 14 files — docs (docs/advanced/middleware.md), story READMEs and one story module docstring under examples/stories/, code comments/docstrings in src/mcp/server/lowlevel/server.py, src/mcp/server/mcpserver/server.py, and src/mcp/shared/dispatcher.py, and one description string in tests/interaction/_requirements.py. All changes replace milestone-relative language ("before beta", "before v2 is final", "before v2 stable") with forward-looking phrasing ("may change in a 2.x minor release") or plain statements of the current state, now that 2.0 has shipped.

Security risks

None. No executable code paths are modified — the diff consists entirely of comments, docstrings, markdown prose, and a string literal inside test requirement metadata.

Level of scrutiny

Low. The only substantive claim requiring verification was the middleware-story correction — that MCPServer now exposes middleware publicly. I confirmed both the middleware= constructor parameter and the middleware property exist in src/mcp/server/mcpserver/server.py, matching the PR description's reference to #3201. The _requirements.py edit changes a divergence note (documentation embedded in test data), not any assertion or test behavior.

Other factors

The bug hunting system found no issues. The PR is consistent with the repo's own AGENTS.md branching-model guidance (main is the stable v2 line), the author deliberately scoped out two adjacent notes that don't name milestones, and the remaining provisional caveats keep their intent — they just no longer point at a milestone in the past. No prior reviewer comments are outstanding.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@maxisbey
maxisbey merged commit b31ddf3 into main Jul 29, 2026
39 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@maxisbey
maxisbey deleted the docs/retire-pre-release-milestone-wording branch July 29, 2026 13:54
@coderabbitai coderabbitai Bot mentioned this pull request Sep 14, 2026
fix: address extensive review findings (11) keithah/kumactl#1
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cubic-dev-ai cubic-dev-ai[bot] cubic-dev-ai[bot] left review comments
@claude claude[bot] claude[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@maxisbey
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.