File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ class MCPRouter:
5353 }
5454 router = MCPRouter(api_key="your-api-key", router_config=router_config)
5555
56- # Disable API key validation by setting api_key to None
57- router = MCPRouter(api_key=None)
58-
5956 # Create a global config from the router's configuration
6057 router.create_global_config()
6158 ```
@@ -76,7 +73,7 @@ def __init__(
7673 :param profile_path: Path to the profile file
7774 :param strict: Whether to use strict mode for duplicated tool name.
7875 If True, raise error when duplicated tool name is found else auto resolve by adding server name prefix
79- :param api_key: Optional API key to use for authentication. Set to None to disable API key validation.
76+ :param api_key: Optional API key to use for authentication.
8077 :param router_config: Optional router configuration to use instead of the global config
8178 """
8279 self .server_sessions : t .Dict [str , ServerConnection ] = {}
You can’t perform that action at this time.
0 commit comments