mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
9515130b2a
Signed-off-by: phernandez <paul@basicmachines.co> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
436 B
Python
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")
|