aminghadersohi opened a new pull request, #36992:
URL: https://github.com/apache/superset/pull/36992
### SUMMARY
The `health_check` MCP tool had a `ctx: Context` parameter that was not
being injected by FastMCP, causing "missing 1 required positional argument:
'ctx'" errors when calling the tool.
Since the function doesn't actually use the context, removing the parameter
entirely fixes the issue.
### BEFORE/AFTER SCREENSHOTS OR COVERAGE DIFF
**Before:**
```
Error calling tool 'health_check': health_check() missing 1 required
positional argument: 'ctx'
```
**After:**
```json
{"status":"healthy","timestamp":"2026-01-08T22:54:37.883286","service":"Superset
OSS MCP
Service","version":"0.0.0-dev","python_version":"3.11.9","platform":"Darwin","uptime_seconds":null}
```
### TESTING INSTRUCTIONS
1. Start the MCP service
2. Call the `health_check` tool without any parameters
3. Verify it returns a healthy status response
### ADDITIONAL INFORMATION
- [x] Has associated issue: N/A (bug discovered during testing)
- [x] Required CI checks pass
- [x] Changes are tested locally
--
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]