Update app.py
Browse files
app.py
CHANGED
|
@@ -52,6 +52,12 @@ def root():
|
|
| 52 |
"endpoints": ["/mcp/list_tools", "/mcp/call_tool", "/health"]
|
| 53 |
}
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
# --- 5️⃣ Route pour lister les outils MCP ---
|
| 56 |
@app.get("/mcp/list_tools")
|
| 57 |
def list_tools():
|
|
|
|
| 52 |
"endpoints": ["/mcp/list_tools", "/mcp/call_tool", "/health"]
|
| 53 |
}
|
| 54 |
|
| 55 |
+
from fastapi import Request
|
| 56 |
+
|
| 57 |
+
@app.post("/")
|
| 58 |
+
async def root_post(request: Request):
|
| 59 |
+
return {"status": "MCP Atlas actif 🚀 (POST OK)"}
|
| 60 |
+
|
| 61 |
# --- 5️⃣ Route pour lister les outils MCP ---
|
| 62 |
@app.get("/mcp/list_tools")
|
| 63 |
def list_tools():
|