japrogramer opened a new issue, #39872:
URL: https://github.com/apache/superset/issues/39872

   ### 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
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to