universal-mcp 0.1.24rc28__py3-none-any.whl → 0.1.24rc29__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.
- universal_mcp/applications/application.py +18 -0
- {universal_mcp-0.1.24rc28.dist-info → universal_mcp-0.1.24rc29.dist-info}/METADATA +1 -1
- {universal_mcp-0.1.24rc28.dist-info → universal_mcp-0.1.24rc29.dist-info}/RECORD +6 -6
- {universal_mcp-0.1.24rc28.dist-info → universal_mcp-0.1.24rc29.dist-info}/WHEEL +0 -0
- {universal_mcp-0.1.24rc28.dist-info → universal_mcp-0.1.24rc29.dist-info}/entry_points.txt +0 -0
- {universal_mcp-0.1.24rc28.dist-info → universal_mcp-0.1.24rc29.dist-info}/licenses/LICENSE +0 -0
|
@@ -39,6 +39,24 @@ class BaseApplication(ABC):
|
|
|
39
39
|
self.name = name
|
|
40
40
|
logger.debug(f"Initializing Application '{name}' with kwargs: {kwargs}")
|
|
41
41
|
|
|
42
|
+
def __getstate__(self) -> dict[str, Any]:
|
|
43
|
+
"""Returns the state of the application for pickling.
|
|
44
|
+
|
|
45
|
+
Returns:
|
|
46
|
+
dict[str, Any]: An empty dictionary because the application cannot be pickled.
|
|
47
|
+
"""
|
|
48
|
+
logger.debug("Application cannot be pickled because it contains a httpx.Client instance")
|
|
49
|
+
return {}
|
|
50
|
+
|
|
51
|
+
def __setstate__(self, state: dict[str, Any]) -> None:
|
|
52
|
+
"""Sets the state of the application for unpickling.
|
|
53
|
+
|
|
54
|
+
Args:
|
|
55
|
+
state (dict[str, Any]): The state of the application.
|
|
56
|
+
"""
|
|
57
|
+
logger.debug("Application cannot be unpickled because it contains a httpx.Client instance")
|
|
58
|
+
pass
|
|
59
|
+
|
|
42
60
|
@abstractmethod
|
|
43
61
|
def list_tools(self) -> list[Callable]:
|
|
44
62
|
"""Lists all tools provided by this application.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: universal-mcp
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.24rc29
|
|
4
4
|
Summary: Universal MCP acts as a middle ware for your API applications. It can store your credentials, authorize, enable disable apps on the fly and much more.
|
|
5
5
|
Author-email: Manoj Bajaj <manojbajaj95@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -10,7 +10,7 @@ universal_mcp/agentr/client.py,sha256=MnHYwD5V9UgmqcmTcOcOIZoYZ289cPkWBGRBAB4GJC
|
|
|
10
10
|
universal_mcp/agentr/integration.py,sha256=V5GjqocqS02tRoI8MeV9PL6m-BzejwBzgJhOHo4MxAE,4212
|
|
11
11
|
universal_mcp/agentr/registry.py,sha256=Oz35KNeaUWuWxGCkpEU_1Zyg0q-1Qh66rUorZP_GySM,7098
|
|
12
12
|
universal_mcp/agentr/server.py,sha256=d_UaxCGTOzdOsIMiHiILgAjeZLbUASCyQkUqhd1x9wA,1911
|
|
13
|
-
universal_mcp/applications/application.py,sha256=
|
|
13
|
+
universal_mcp/applications/application.py,sha256=NYTkQZPi0PsINs-z8lGtwRo2Kp5MT9gVzfjEKbhvpBI,24511
|
|
14
14
|
universal_mcp/applications/utils.py,sha256=8Pp9lZU6IPt9z9BnuJ-vpv-NGuzryt1c4e4-ShDd2XI,1450
|
|
15
15
|
universal_mcp/applications/sample/app.py,sha256=D9zPezC13xXVMlfO2A0fHgJQD_I-bnpf9UOOHveHMek,10537
|
|
16
16
|
universal_mcp/client/oauth.py,sha256=O00zOUfQxINaruFU2zt-64DIR1_mAqrY8ykLQo-teJU,8679
|
|
@@ -49,8 +49,8 @@ universal_mcp/utils/openapi/readme.py,sha256=R2Jp7DUXYNsXPDV6eFTkLiy7MXbSULUj1vH
|
|
|
49
49
|
universal_mcp/utils/openapi/test_generator.py,sha256=vucBh9klWmQOUA740TFwfM9ry2nkwKWQiNRcsiZ9HbY,12229
|
|
50
50
|
universal_mcp/utils/templates/README.md.j2,sha256=Mrm181YX-o_-WEfKs01Bi2RJy43rBiq2j6fTtbWgbTA,401
|
|
51
51
|
universal_mcp/utils/templates/api_client.py.j2,sha256=DS1nczOOD8YkMexVSGpUGeyc0nYGKKTPadL_x1_if7k,900
|
|
52
|
-
universal_mcp-0.1.
|
|
53
|
-
universal_mcp-0.1.
|
|
54
|
-
universal_mcp-0.1.
|
|
55
|
-
universal_mcp-0.1.
|
|
56
|
-
universal_mcp-0.1.
|
|
52
|
+
universal_mcp-0.1.24rc29.dist-info/METADATA,sha256=YjBcLOm551WHlr6MZgW7spc0ouVawMZqZsTmsvhjA44,3255
|
|
53
|
+
universal_mcp-0.1.24rc29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
54
|
+
universal_mcp-0.1.24rc29.dist-info/entry_points.txt,sha256=QlBrVKmA2jIM0q-C-3TQMNJTTWOsOFQvgedBq2rZTS8,56
|
|
55
|
+
universal_mcp-0.1.24rc29.dist-info/licenses/LICENSE,sha256=NweDZVPslBAZFzlgByF158b85GR0f5_tLQgq1NS48To,1063
|
|
56
|
+
universal_mcp-0.1.24rc29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|