howardcho commented on issue #38806:
URL: https://github.com/apache/superset/issues/38806#issuecomment-4136667261
We also tested a workaround (posted above) where the MCP server is started
via an inline Python command that explicitly creates the Flask app and pushes
an app context before calling `run_server(...)`.
That workaround did **not** resolve the issue.
Result was unchanged:
* client reaches `/mcp`
* `POST /mcp` returns `200 OK`
* server still logs:
* `Failed to validate request: No application found. Either work inside a
view function or push an application context.`
* `Terminating session: None`
So this does not appear to be only a startup-context problem; it still fails
during request handling.
--
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]