aleph-rlm 0.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
aleph/mcp/__init__.py ADDED
@@ -0,0 +1,30 @@
1
+ """MCP server integration.
2
+
3
+ The MCP server is an optional feature. Install with:
4
+
5
+ pip install "aleph-rlm[mcp]"
6
+
7
+ Then run:
8
+
9
+ aleph
10
+ """
11
+
12
+ from typing import TYPE_CHECKING
13
+
14
+ if TYPE_CHECKING:
15
+ from .server import AlephMCPServer
16
+ from .local_server import AlephMCPServerLocal
17
+
18
+ __all__ = ["AlephMCPServer", "AlephMCPServerLocal"]
19
+
20
+
21
+ def __getattr__(name: str):
22
+ if name == "AlephMCPServer":
23
+ from .server import AlephMCPServer
24
+
25
+ return AlephMCPServer
26
+ if name == "AlephMCPServerLocal":
27
+ from .local_server import AlephMCPServerLocal
28
+
29
+ return AlephMCPServerLocal
30
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")