fix: update FastMCP initialization for API changes

- Remove deprecated auth_server_provider parameter
- Use auth parameter correctly with OAuthProvider instead of AuthSettings
- Fixes type error after dependency updates

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
phernandez
2025-06-03 09:08:17 -05:00
parent c13d4b1511
commit ac08a8d024
22 changed files with 135 additions and 90 deletions
+1 -2
View File
@@ -106,6 +106,5 @@ auth_settings, auth_provider = create_auth_config()
mcp = FastMCP(
name="Basic Memory",
log_level="DEBUG",
auth_server_provider=auth_provider,
auth=auth_settings,
auth=auth_provider,
)