build(deps): bump mcp from 1.28.1 to 2.0.0 in /ai/slackbot-mcp-client/slack-identity - #157
Merged
zimeg merged 3 commits intoAug 1, 2026
Conversation
Bumps [mcp](https://github.com/modelcontextprotocol/python-sdk) from 1.28.1 to 2.0.0. - [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.28.1...v2.0.0) --- updated-dependencies: - dependency-name: mcp dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/pip/ai/slackbot-mcp-client/slack-identity/mcp-2.0.0
branch
from
August 1, 2026 01:53
6651ef4 to
3e150fa
Compare
Companion to the mcp 1.28.1 -> 2.0.0 bump on this branch. In addition to
the shared server-API changes (FastMCP -> MCPServer, transport kwargs
moved to streamable_http_app(), ToolAnnotations snake_case), slack-identity
needed the Context/_meta changes:
- Context now comes from mcp.server.mcpserver (the module whose Context the
framework recognizes and filters from the tool arg schema); importing it
elsewhere breaks JSON-schema generation for the tool.
- Context is no longer parameterized in the tool signature (ctx: Context).
- Request _meta is a plain dict now: ctx.request_context.meta.model_extra
-> ctx.request_context.meta.get('slack'); cast the extra to dict[str, Any].
The @mcp_server.tool decorator body is otherwise unchanged. Verified: ruff,
format, mypy, pytest all pass.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Convert the request _meta (a RequestParamsMeta TypedDict, a dict at runtime) to a plain dict[str, Any] and read the custom 'slack' field with ordinary .get() instead of typing.cast. Same behavior, no type-checker override in the example. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
approved these changes
Aug 1, 2026
zimeg
left a comment
Member
There was a problem hiding this comment.
@dependabot LGTM! And thanks for keeping these packages current 🐢 💨
Comment on lines
+40
to
+41
| meta: dict[str, Any] = dict(ctx.request_context.meta or {}) | ||
| slack = meta.get("slack") or {} |
Member
There was a problem hiding this comment.
🔬 note: This pattern continues to work without introducing new variables! Unauthenticated requests fail and authenticated requests succeed.
zimeg
deleted the
dependabot/pip/ai/slackbot-mcp-client/slack-identity/mcp-2.0.0
branch
August 1, 2026 03:02
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.
Bumps mcp from 1.28.1 to 2.0.0.
Release notes
Sourced from mcp's releases.
... (truncated)
Commits
6f69a37Present v2 as the stable release across the README, docs, and policies (#3178)78e6fbbServe v2 docs at the site root, with permanent per-major paths (#3176)af06330Remove unused StreamableHTTPTransport.get_session_id() (#3205)68ca87eDocument the two-line release process for stable v2 (#3179)c9c431bExpose the middleware chain on MCPServer and stop sending unrequested change ...528e366Fail fast on server-to-client requests in JSON-response mode instead of hangi...27f5cc7Remove unused mcpserver.exceptions.ValidationError (#3199)89c5e70Gate log notifications on the per-request log-level opt-in at 2026-07-28 (#3198)b61ce38docs: fix off-by-one hl_lines in apps.md (#3196)b7c9a91Add mcp.types as a permanent alias for mcp_types (#3190)