Skip to content

Commit 96cdd8d

Browse files
Revert docstring changes in router.py
1 parent 3c6ff37 commit 96cdd8d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/mcpm/router/router.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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] = {}

0 commit comments

Comments
 (0)