Bug description
Here is the error from the mcp client
MCP Server Error: failed to initialize server: failed to create client: failed to start client: unexpected status code: 502
and this is what is server side.
2026-05-05 02:38:16,370:INFO:superset.app:Configuration sync to database completed successfully
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Superset 6.0.1
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
superset@159f336abbd3:/app$ superset mcp run --host 0.0.0.0 --port 5008
Loaded your LOCAL configuration at [/app/pythonpath/superset_config.py]
/app/.venv/lib/python3.10/site-packages/flask_limiter/extension.py:324: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
warnings.warn(
2026-05-05 02:38:54,136:INFO:alembic.runtime.migration:Context impl SQLiteImpl.
2026-05-05 02:38:54,137:INFO:alembic.runtime.migration:Will assume non-transactional DDL.
2026-05-05 02:38:54,464:INFO:superset.app:Syncing configuration to database…
2026-05-05 02:38:54,473:INFO:superset.app:Configuration sync to database completed successfully
Usage: superset [OPTIONS] COMMAND [ARGS]…
Try 'superset --help' for help.
Error: No such command ‘mcp’.
copied docker compose from https://superset.apache.org/admin-docs/configuration/mcp-server/
# docker-compose.yml
services:
superset:
image: apache/superset:latest
ports:
- "8088:8088"
volumes:
- ./superset_config.py:/app/superset_config.py
environment:
- SUPERSET_CONFIG_PATH=/app/superset_config.py
mcp:
image: apache/superset:latest
command: ["superset", "mcp", "run", "--host", "0.0.0.0", "--port", "5008"]
ports:
- "5008:5008"
volumes:
- ./superset_config.py:/app/superset_config.py
environment:
- SUPERSET_CONFIG_PATH=/app/superset_config.py
depends_on:
- superset
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
Bug description
Here is the error from the mcp client
MCP Server Error: failed to initialize server: failed to create client: failed to start client: unexpected status code: 502and this is what is server side.
copied docker compose from
https://superset.apache.org/admin-docs/configuration/mcp-server/Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist