Skip to content

Server crashes on startup with mcp SDK 2.0.0 (2026-07-28): AttributeError: 'Tool' object has no attribute 'inputSchema' #199

Description

@PapiScholz

Describe the bug:

The mcp Python SDK published 2.0.0 on PyPI today (2026-07-28). Fresh installs of analytics-mcp (via pipx run or uvx) now resolve to the new SDK and crash immediately on startup, because this package has no upper bound on its mcp dependency.

Traceback:

File "...\site-packages\analytics_mcp\coordinator.py", line 125, in
if tool.inputSchema == {}:
File "...\site-packages\pydantic\main.py", line 1042, in getattr
raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}')
AttributeError: 'Tool' object has no attribute 'inputSchema'. Did you mean: 'input_schema'?

Root cause: mcp 2.0.0 renamed Tool.inputSchema to Tool.input_schema (snake_case). coordinator.py line 125 still uses the old attribute name.

Steps to Reproduce:

  1. Run uvx analytics-mcp (or pipx run analytics-mcp) with valid GOOGLE_APPLICATION_CREDENTIALS on any machine without a previously cached mcp<2 environment.
  2. The process exits with the traceback above. uvx --refresh does not help — the dependency resolution itself is broken, not the cache.

Expected behavior:

The server starts and serves its tools over stdio, as it did with mcp 1.x (working as recently as yesterday, 2026-07-27).

Anything else we should know about your project / environment:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions