We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 111839d + 27c3322 commit a6c77a3Copy full SHA for a6c77a3
1 file changed
src/policyengine_api/main.py
@@ -62,8 +62,9 @@ async def lifespan(app: FastAPI):
62
app.include_router(api_router)
63
64
# Mount MCP server - exposes all API endpoints as MCP tools at /mcp
65
+# Using mount_http() for streamable HTTP transport (required by Claude Code)
66
mcp = FastApiMCP(app)
-mcp.mount()
67
+mcp.mount_http()
68
69
70
@app.get("/health")
0 commit comments