Spaces:
Running
Running
Commit History
-
Refactor repo for Hugging Face Spaces compatibility
google-labs-jules[bot]- Created root `app.py` as entry point initializing DB and launching Gradio with MCP. - Updated `README.md` with HF Spaces YAML header and detailed instructions. - Refactored `src/alert_mcp_server/tools.py` to use direct DB calls via `src.alert_mcp` instead of `httpx` HTTP requests, simplifying deployment. - Updated `src/alert_mcp_server/app.py` to use relative imports. - Updated tests to mock `mcp_tools` and verify Pydantic V2 compatibility. - Created `requirements.txt` with pinned dependencies (`pydantic>=2.0`, `gradio[mcp]`). - Ensured `__init__.py` files exist for package recognition.c322df2 -
Make alert_mcp_server compatible with Hugging Face Spaces
google-labs-jules[bot]- Rename main.py to app.py - Update imports to be absolute for script execution - Add requirements.txt with gradio[mcp] - Add README.md with Space metadata8eb0138 -
Implement alert_mcp_server with Gradio and httpx
google-labs-jules[bot]8aa8f36 -
feat: Add alert_mcp server
google-labs-jules[bot]- Implemented `alert_mcp` package with FastAPI and FastMCP. - Added database models for `Alert`. - Implemented MCP tools: `log_alert`, `get_open_alerts`, `mark_alert_resolved`, `summarize_alerts`. - Added REST endpoints for tools under `/mcp/tools/` and mounted MCP SSE app under `/sse`. - Added unit tests.a4fc311