Add tool call logging and reply fields
All checks were successful
Build And Test / publish (push) Successful in 49s
All checks were successful
Build And Test / publish (push) Successful in 49s
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user