Skip to content

Pass experimental_capabilities to get_capabilities - #8

Merged
odfalik merged 1 commit into
mainfrom
fix/mcp-129-get-capabilities
Aug 2, 2026
Merged

odfalik merged 1 commit into
mainfrom
fix/mcp-129-get-capabilities

Conversation

@odfalik

@odfalik odfalik commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

mcp 1.29 made experimental_capabilities a required positional argument of Server.get_capabilities(). We only passed notification_options, so the server raised TypeError inside the stdio task group on every start.

Because that happens at connection time rather than import time, the symptom is "the MCP server is failing completely" rather than a clear import error.

Existing venvs pinned an older mcp and were shielded; the fresh standalone venv resolves 1.29 and hits it immediately.

Verified after the fix: initialize returns cleanly and tools/list enumerates all 8 tools.

mcp 1.29 made experimental_capabilities a required argument of
Server.get_capabilities(). The call site only passed notification_options, so
every server start raised TypeError inside the stdio task group — and because
it happens after import, at connection time rather than load time, the failure
looked like the MCP server was simply dead rather than erroring.

Existing venvs resolved to an older mcp and were unaffected; a fresh install
(the standalone venv) picks up 1.29 and hits it immediately.
@odfalik
odfalik merged commit 769bc9b into main Aug 2, 2026
3 of 4 checks passed
@odfalik
odfalik deleted the fix/mcp-129-get-capabilities branch August 2, 2026 00:32
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