GitHub user cabsil edited a discussion: Starting mcp server in 6.1.0rc1 in 
docker

Hello,

I am trying to start mcp server as a docker container but I don't find any doc 
to do that. So I tried by copying the superset container and changing the arg 
to mcp. But I am always getting the error when I am trying to connect to the 
mcp server.

`2026-03-17 22:01:42,790:WARNING:root:Failed to validate request: No 
application found. Either work inside a view function or push an application 
context. See 
[http://flask-sqlalchemy.pocoo.org/contexts/.⁠](http://flask-sqlalchemy.pocoo.org/contexts/)
`

Here is my container : 
`
superset_mcp:
    env_file:
      - path: docker/.env # default
        required: true
      - path: docker/.env-local # optional override
        required: false
    image: *superset-image
    container_name: superset_mcp_app
    command: ["/app/docker/docker-bootstrap.sh", "mcp"]
    user: "root"
    restart: unless-stopped
    ports:
      - 5008:5008
    depends_on:
      superset-init:
        condition: service_completed_successfully
    volumes: 
      - ./docker:/app/docker
      - ./superset-core:/app/superset-core
      - superset_home:/app/superset_home
`

Any advice to solve this ?

Thanks in advance

Christophe


GitHub link: https://github.com/apache/superset/discussions/38703

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


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

Reply via email to