Fix tools visibility - revert to v0.1.6 authentication approach
- Disable issuer validation in BearerAuthProvider (issuer=None) - Simplify authentication condition (remove auth_enabled check) - Revert CORS middleware to simple configuration - Fix OAuth metadata endpoint to match v0.1.6 - Apply conditional auth only to MCP server creation Critical fixes for Claude AI tools discovery
This commit is contained in:
@@ -243,10 +243,8 @@ def create_app(auth=None):
|
||||
global app
|
||||
if auth:
|
||||
app.auth = auth
|
||||
app.name = "Yargı MCP Server"
|
||||
logger.info("MCP server created with Bearer authentication enabled")
|
||||
else:
|
||||
app.name = "Yargı MCP Server"
|
||||
logger.info("MCP server created with standard capabilities...")
|
||||
|
||||
token_counter = TokenCountingMiddleware()
|
||||
|
||||
Reference in New Issue
Block a user