Update mcp_server_main.py
This commit is contained in:
+4
-2
@@ -232,8 +232,10 @@ class TokenCountingMiddleware(Middleware):
|
|||||||
from fastmcp import FastMCP
|
from fastmcp import FastMCP
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
"""Create basic FastMCP app without authentication wrapper"""
|
"""Create FastMCP app with standard capabilities."""
|
||||||
return FastMCP("Yargı MCP Server")
|
app = FastMCP("Yargı MCP Server")
|
||||||
|
logger.info("MCP server created with standard capabilities (FastMCP handles tools.listChanged automatically)")
|
||||||
|
return app
|
||||||
|
|
||||||
# --- Module Imports ---
|
# --- Module Imports ---
|
||||||
from yargitay_mcp_module.client import YargitayOfficialApiClient
|
from yargitay_mcp_module.client import YargitayOfficialApiClient
|
||||||
|
|||||||
Reference in New Issue
Block a user