Download core/mcp_module/__init__.py from Kyrlos11/nniback: direct link, hf CLI and curl.
- Browser
- Download file 816 Bytes
-
https://huggingface.co/spaces/Kyrlos11/nniback/resolve/main/core/mcp_module/__init__.py
- Command line
-
hf download hf://spaces/Kyrlos11/nniback/core/mcp_module/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Kyrlos11/nniback/resolve/main/core/mcp_module/__init__.py
816 Bytes
| from .mcp_service import ( | |
| MCPService, | |
| mcp_service, | |
| MCPServerInfo, # New: metadata-only, no active session | |
| MCPConnection, # Backwards compat alias for MCPServerInfo | |
| ToolExecutionResult, | |
| CustomMCPConnectionResult, | |
| MCPException, | |
| MCPConnectionError, | |
| MCPToolNotFoundError, | |
| MCPToolExecutionError, | |
| MCPProviderError, | |
| MCPConfigurationError, | |
| MCPAuthenticationError, | |
| CustomMCPError, | |
| ) | |
| __all__ = [ | |
| "MCPService", | |
| "mcp_service", | |
| "MCPServerInfo", | |
| "MCPConnection", # Backwards compat | |
| "ToolExecutionResult", | |
| "CustomMCPConnectionResult", | |
| "MCPException", | |
| "MCPConnectionError", | |
| "MCPToolNotFoundError", | |
| "MCPToolExecutionError", | |
| "MCPProviderError", | |
| "MCPConfigurationError", | |
| "MCPAuthenticationError", | |
| "CustomMCPError" | |
| ] |