gabrielwong159 opened a new pull request, #41755:
URL: https://github.com/apache/superset/pull/41755

   ### SUMMARY
   The docs for setting up the Superset MCP service describe a non-existent
   /health endpoint for health checks. See: 
https://github.com/apache/superset/blob/b23cef136e5fb5fc9d96f5c67dda29634afa1889/superset/mcp_service/README.md.
   
   Register a HTTP GET /health endpoint using FastMCP custom_route based on
   this reference: 
https://gofastmcp.com/deployment/running-server#custom-routes.
   
   ### TESTING INSTRUCTIONS
   1. Run the unit tests
       ```bash
       pytest tests/unit_tests/mcp_service/test_mcp_server.py
       ```
   2. Start the MCP service
       ```bash
       superset mcp run --port 5008
       ```
   3. Verify the endpoint responds with HTTP 200
       ```bash
       curl -i http://localhost:5008/health
       ```
   
   ### ADDITIONAL INFORMATION
   - [X] Has associated issue: #38898 
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [X] Introduces new feature or API
   - [ ] Removes existing feature or API


-- 
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