fleet-memory/hindsight-api/hindsight_api/api
Nicolò Boschi d90588b3e1
feat: improve mcp tools based on endpoint (#318)
* feat: improve mcp tools based on endpoint

* feat: improve mcp tools based on endpoint

* test: add integration test for MCP endpoint routing

- Add test_mcp_endpoint_routing.py to verify single-bank vs multi-bank tool exposure
- Verifies /mcp/ exposes all tools with bank_id parameters
- Verifies /mcp/{bank_id}/ only exposes scoped tools without bank_id parameters
- Regression test for issue #317

Related: #317, #318

* test: use StreamableHTTP client for MCP endpoint routing test

Replace httpx AsyncClient SSE parsing with proper MCP StreamableHTTP
client. This correctly tests the MCP server using the actual protocol
that clients will use.

Fixes #317
2026-02-08 09:28:59 +01:00
..
__init__.py feat: improve mcp tools based on endpoint (#318) 2026-02-08 09:28:59 +01:00
http.py feat: support markdown in reflect and mental models (#307) 2026-02-06 10:49:13 +01:00
mcp.py feat: improve mcp tools based on endpoint (#318) 2026-02-08 09:28:59 +01:00