Update mcp_server_main.py

This commit is contained in:
saidsurucu
2025-07-21 22:19:44 +03:00
parent 443657f9e2
commit 90a7a23064
-3
View File
@@ -244,11 +244,8 @@ def create_app(auth=None):
if auth:
# Set auth on existing app instead of creating new one
app.auth = auth
app.name = "Yargı MCP Server"
logger.info("MCP server created with Bearer authentication enabled")
else:
# Update placeholder app name only
app.name = "Yargı MCP Server"
logger.info("MCP server created with standard capabilities (FastMCP handles tools.listChanged automatically)")
# Add token counting middleware