manojshetty2004 commented on issue #38514: URL: https://github.com/apache/superset/issues/38514#issuecomment-4025938995
I’ve made the `fastmcp` import optional in `core_mcp_injection.py` so that Superset does not fail to start when the optional dependency is not installed. The import is now wrapped in a try/except block, and MCP tool registration is skipped with a warning if `fastmcp` is unavailable. I tested the change in two scenarios: 1. Without `fastmcp` installed – Superset starts normally. 2. With `fastmcp` installed – MCP tools register as expected. Please let me know if any adjustments are needed. Thanks! -- 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]
