Pin mcp SDK below 2.0 and release 0.1.1 - #39
Merged
Conversation
mcp 2.0.0 removed the low-level Server.list_tools/call_tool decorators this server registers its tools with, so uvx mcp-server-plaid now dies at startup with AttributeError and clients report only "connection closed". uvx re-resolves on every launch, so working installs broke with no local change. Constrain the dependency to <2 and bump to 0.1.1 so the fix can actually be published — PyPI already has 0.1.0, so the formal release job cannot re-upload under the current version. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The version lived in both pyproject.toml and server.py, but the publish workflow rewrites only pyproject.toml, so every dev release advertised a stale version over the MCP handshake. Read it from the installed distribution instead, falling back when there is no metadata to read. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Falling back to an unknown version silently made a broken or renamed distribution look identical to running from a source tree. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
phoenixy1
marked this pull request as ready for review
August 10, 2026 19:16
whsu-plaid
approved these changes
Aug 10, 2026
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.
Fixes #37:
mcp2.0.0 removed the low-level decorators this server registers tools with, souvx mcp-server-plaidcrashes at startup.Needs a
formalrun of Publish Sandbox MCP after merge.