Files
basicmachines-co-basic-memory/src/basic_memory/mcp/tools/release_notes.py
T
Paul Hernandez 9515130b2a feat: upgrade fastmcp 2.12.3 to 3.0.1 with tool annotations (#598)
Signed-off-by: phernandez <paul@basicmachines.co>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 12:28:30 -06:00

16 lines
436 B
Python

"""Release notes MCP tool."""
from pathlib import Path
from basic_memory.mcp.server import mcp
@mcp.tool(
"release_notes",
annotations={"readOnlyHint": True, "openWorldHint": False},
)
def release_notes() -> str:
"""Return the latest product release notes for optional user review."""
content_path = Path(__file__).parent.parent / "resources" / "release_notes.md"
return content_path.read_text(encoding="utf-8")