Skip to content

v3.0.1 commercial AIO: every manage.py/celery process dies at import (bundled mcp 2.0.0 renamed streamablehttp_client) #9572

Open

Description

@fabgur1

Is there an existing issue for this? Searched: none found for this ImportError.

Summary. The commercial AIO image plane-aio-commercial:v3.0.1 (also
current :stable) is broken as published for self-hosted deployments:
plane/silo/services/mcp_connection.py does

from mcp.client.streamable_http import streamablehttp_client

but the image bundles the Python mcp SDK 2.0.0 (verified via importlib.metadata in the image), where that symbol
was renamed to streamable_http_client. Every manage.py command (including
migrate) and every celery worker dies at import time, so the migrator
crash-loops and the instance never comes up. Upgrading from v2.5.3 required a
full rollback.

Steps to reproduce (no instance needed, plain docker):

docker run --rm --entrypoint python \
  artifacts.plane.so/makeplane/plane-aio-commercial:v3.0.1 \
  -c "from mcp.client.streamable_http import streamablehttp_client"
# ImportError: cannot import name 'streamablehttp_client' from 'mcp.client.streamable_http'

The module's actual exports in the image:

['ClientMessageMetadata', 'create_mcp_http_client', 'streamable_http_client']

Environment. Self-hosted commercial AIO (unlicensed/community mode),
Docker Engine 29.7.2, upgrade attempt from v2.5.3. Failure is deterministic
and environment-independent (reproduces in a bare docker run of the
published image).

Expected. The image ships a mcp SDK version compatible with its own
code. Either pin mcp<2 in the image or update the silo imports to the 2.x
name (this rename is breaking many projects; see the mcp 2.0.0 release notes
and similar reports across the ecosystem).

Workaround we tested (for other self-hosters landing here): a
sitecustomize.py on PYTHONPATH aliasing the new name back restores the
import:

try:
    from mcp.client import streamable_http as _sh
    if not hasattr(_sh, "streamablehttp_client") and hasattr(_sh, "streamable_http_client"):
        _sh.streamablehttp_client = _sh.streamable_http_client
except Exception:
    pass

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions