File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
examples/clients/simple-auth-client/mcp_simple_auth_client Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,9 @@ async def _default_redirect_handler(authorization_url: str) -> None:
188
188
# Create OAuth authentication handler using the new interface
189
189
oauth_auth = OAuthClientProvider (
190
190
server_url = self .server_url .replace ("/mcp" , "" ),
191
- client_metadata = OAuthClientMetadata .model_validate (client_metadata_dict ),
191
+ client_metadata = OAuthClientMetadata .model_validate (
192
+ client_metadata_dict
193
+ ),
192
194
storage = InMemoryTokenStorage (),
193
195
redirect_handler = _default_redirect_handler ,
194
196
callback_handler = callback_handler ,
@@ -320,7 +322,9 @@ async def interactive_loop(self):
320
322
await self .call_tool (tool_name , arguments )
321
323
322
324
else :
323
- print ("❌ Unknown command. Try 'list', 'call <tool_name>', or 'quit'" )
325
+ print (
326
+ "❌ Unknown command. Try 'list', 'call <tool_name>', or 'quit'"
327
+ )
324
328
325
329
except KeyboardInterrupt :
326
330
print ("\n \n 👋 Goodbye!" )
You can’t perform that action at this time.
0 commit comments