Coverage for src/qdrant_loader_mcp_server/fastmcp_tools/__init__.py: 100%

11 statements  

« prev     ^ index     » next       coverage.py v7.15.0, created at 2026-07-20 10:15 +0000

1"""FastMCP tool registrations (migration target). 

2 

3Each tool module exposes a ``register_*`` function that attaches tools to a 

4FastMCP instance. ``register_all`` wires them all up. During the migration 

5these live alongside the hand-rolled mcp/ handlers. 

6""" 

7 

8from fastmcp import FastMCP 

9 

10from .expand import register_expand_tools 

11from .graph import register_graph_tools 

12from .intelligence import register_intelligence_tools 

13from .search import register_search_tools 

14 

15 

16def register_all(mcp: FastMCP) -> None: 

17 register_search_tools(mcp) 

18 register_intelligence_tools(mcp) 

19 register_expand_tools(mcp) 

20 register_graph_tools(mcp) 

21 

22 

23__all__ = [ 

24 "register_all", 

25 "register_search_tools", 

26 "register_intelligence_tools", 

27 "register_expand_tools", 

28 "register_graph_tools", 

29]