Kaballas's picture
dd
142e01f
raw
history blame
285 Bytes
from fastapi import FastAPI
from mcp_server_mariadb_vector.server import mcp
app = FastAPI()
# Mount the FastMCP SSE app at /sse
vector_app = mcp.sse_app()
app.mount("/sse", vector_app)
# Health endpoint
@app.get("/", tags=["health"])
async def root():
return {"status": "ok"}