Add tool call logging and reply fields
All checks were successful
Build And Test / publish (push) Successful in 49s

This commit is contained in:
2026-01-01 15:24:06 -08:00
parent 7966a4302d
commit 767f076048
7 changed files with 335 additions and 117 deletions

View File

@@ -19,6 +19,7 @@ from fastmcp import FastMCP
from config import settings
from database import init_db, close_db
from tools.logging_utils import log_tool_call
# Configure logging
logging.basicConfig(
@@ -104,6 +105,7 @@ def register_tools():
# Server info tool (always available)
@mcp.tool(description="Get information about this PIM MCP server including enabled services and version.")
@log_tool_call
def get_server_info() -> dict:
"""Get server information and status."""
return {