"""MCP tool implementations.

Each tool module exposes a `register(mcp)` function that attaches its tools
to a FastMCP instance. `register_all(mcp)` is the single entry point called
from `mcp.server.build_mcp_server`.
"""
from scribe.mcp.tools import (
    design_systems, milestones, notes, processes, projects, recent, repos, rulebooks, search, shapes,
    snippets, systems, tags, tasks, trash,
)


def register_all(mcp) -> None:
    """Register every tool module's tools on the given FastMCP instance."""
    search.register(mcp)
    notes.register(mcp)
    tasks.register(mcp)
    projects.register(mcp)
    milestones.register(mcp)
    systems.register(mcp)
    design_systems.register(mcp)
    tags.register(mcp)
    recent.register(mcp)
    repos.register(mcp)
    processes.register(mcp)
    snippets.register(mcp)
    shapes.register(mcp)
    rulebooks.register(mcp)
    trash.register(mcp)
