Replace non [a-zA-Z0-9_-] with underscore.
(name: str)
| 686 | |
| 687 | |
| 688 | def normalize_mcp_name(name: str) -> str: |
| 689 | """Replace non [a-zA-Z0-9_-] with underscore.""" |
| 690 | return _DISALLOWED_CHARS.sub('_', name) |
| 691 | |
| 692 | |
| 693 | def _mock_server_docs(): |
no outgoing calls
no test coverage detected