universal-mcp 0.1.7rc2__py3-none-any.whl → 0.1.8rc1__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/{serp → serpapi}/app.py +1 -1
- universal_mcp/servers/server.py +5 -2
- {universal_mcp-0.1.7rc2.dist-info → universal_mcp-0.1.8rc1.dist-info}/METADATA +2 -2
- {universal_mcp-0.1.7rc2.dist-info → universal_mcp-0.1.8rc1.dist-info}/RECORD +7 -7
- /universal_mcp/applications/{serp → serpapi}/README.md +0 -0
- {universal_mcp-0.1.7rc2.dist-info → universal_mcp-0.1.8rc1.dist-info}/WHEEL +0 -0
- {universal_mcp-0.1.7rc2.dist-info → universal_mcp-0.1.8rc1.dist-info}/entry_points.txt +0 -0
@@ -5,7 +5,7 @@ from serpapi import SerpApiClient as SerpApiSearch
|
|
5
5
|
from universal_mcp.applications.application import APIApplication
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class SerpapiApp(APIApplication):
|
9
9
|
def __init__(self, **kwargs):
|
10
10
|
super().__init__(name="serpapi", **kwargs)
|
11
11
|
self.api_key: str | None = None
|
universal_mcp/servers/server.py
CHANGED
@@ -140,6 +140,7 @@ class AgentRServer(Server):
|
|
140
140
|
super().__init__(name, description=description, **kwargs)
|
141
141
|
|
142
142
|
def _load_app(self, app_config: AppConfig):
|
143
|
+
logger.info(f"Loading app: {app_config}")
|
143
144
|
name = app_config.name
|
144
145
|
if app_config.integration:
|
145
146
|
integration_name = app_config.integration.name
|
@@ -152,12 +153,14 @@ class AgentRServer(Server):
|
|
152
153
|
def _list_apps_with_integrations(self) -> list[AppConfig]:
|
153
154
|
# TODO: get this from the API
|
154
155
|
response = httpx.get(
|
155
|
-
f"{self.base_url}/api/apps/",
|
156
|
+
f"{self.base_url}/api/apps/",
|
157
|
+
headers={"X-API-KEY": self.api_key},
|
158
|
+
timeout=10,
|
156
159
|
)
|
157
160
|
response.raise_for_status()
|
158
161
|
apps = response.json()
|
159
162
|
|
160
|
-
logger.info(f"
|
163
|
+
logger.info(f"Loaded apps: {apps}")
|
161
164
|
return [AppConfig.model_validate(app) for app in apps]
|
162
165
|
|
163
166
|
def _load_apps(self):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: universal-mcp
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.8rc1
|
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
|
Requires-Python: >=3.11
|
@@ -25,7 +25,7 @@ Requires-Dist: e2b-code-interpreter>=1.2.0; extra == 'e2b'
|
|
25
25
|
Provides-Extra: firecrawl
|
26
26
|
Requires-Dist: firecrawl-py>=1.15.0; extra == 'firecrawl'
|
27
27
|
Provides-Extra: markitdown
|
28
|
-
Requires-Dist: markitdown[all
|
28
|
+
Requires-Dist: markitdown[all]>=0.1.1; extra == 'markitdown'
|
29
29
|
Provides-Extra: playground
|
30
30
|
Requires-Dist: fastapi[standard]>=0.115.12; extra == 'playground'
|
31
31
|
Requires-Dist: langchain-anthropic>=0.3.10; extra == 'playground'
|
@@ -31,8 +31,8 @@ universal_mcp/applications/reddit/README.md,sha256=YVbJ1RN6NWlB-P6w2LxCk_DuUWl7m
|
|
31
31
|
universal_mcp/applications/reddit/app.py,sha256=leU__w5VxX1vMK-kfuy-dvY97Pn8Mn80X2payVshirU,13562
|
32
32
|
universal_mcp/applications/resend/README.md,sha256=k-sb2UwbFvDPEz6qQPLWd2cJj8hDx5f3NW7dz2jAfjI,719
|
33
33
|
universal_mcp/applications/resend/app.py,sha256=fl_0U61Rm0fqz1lCxPiuGRkl2x0meafp6kMZbshD7wo,1733
|
34
|
-
universal_mcp/applications/
|
35
|
-
universal_mcp/applications/
|
34
|
+
universal_mcp/applications/serpapi/README.md,sha256=hX4VeT2iL_67ZsMhKd60DAujQCh9K3IdHroHIq808RY,691
|
35
|
+
universal_mcp/applications/serpapi/app.py,sha256=r4V8lty348X5hGQyP4DfG89hHRI68SnxYd6sFgTBjcY,3464
|
36
36
|
universal_mcp/applications/tavily/README.md,sha256=cNg4EwX5wBbkDpPtNBNC3A_GxglfSVhdAJuweSrXN20,721
|
37
37
|
universal_mcp/applications/tavily/app.py,sha256=K5TLh6OSQ7w792poupZidzgbWotrIyEsu7YnGzPRX0w,2123
|
38
38
|
universal_mcp/applications/zenquotes/README.md,sha256=wA3hjqjrkrczQaffpwyolSKq6gXmkLgeHx6_EQrYEOY,709
|
@@ -42,7 +42,7 @@ universal_mcp/integrations/__init__.py,sha256=8e11JZyctaR9CmlNkfEZ6HhGDvhlvf9iug
|
|
42
42
|
universal_mcp/integrations/agentr.py,sha256=l0mo79oeDML19udFfoCo9lyhbDAf0X94_lnpOgbTrb0,3331
|
43
43
|
universal_mcp/integrations/integration.py,sha256=X8COgD8vg1bKUq4-0ytkMytk1eEaDF1O2JLvu3ewgFk,5828
|
44
44
|
universal_mcp/servers/__init__.py,sha256=dgRW_khG537GeLKC5_U5jhxCuu1L_1YeTujeDg0601E,654
|
45
|
-
universal_mcp/servers/server.py,sha256=
|
45
|
+
universal_mcp/servers/server.py,sha256=iVyb_4KM3S6ppjDhWAnUdo0B8qugmnVe9utneUYJUgA,6771
|
46
46
|
universal_mcp/stores/__init__.py,sha256=Sc4AWtee_qtK5hpEVUAH2XM_6EBhcfikQXWiGXdNfes,560
|
47
47
|
universal_mcp/stores/store.py,sha256=CNOnmKeOCkSU2ZA9t12AIWJcmqZZX_LSyZaV8FQf8Xk,4545
|
48
48
|
universal_mcp/utils/__init__.py,sha256=8wi4PGWu-SrFjNJ8U7fr2iFJ1ktqlDmSKj1xYd7KSDc,41
|
@@ -52,7 +52,7 @@ universal_mcp/utils/docgen.py,sha256=yK6Ijo8G-wHPU3E1AnFpnXS9vXt2j9FM77w0etTaNOA
|
|
52
52
|
universal_mcp/utils/dump_app_tools.py,sha256=cLB9SumKsbs-rXJ_02lpMyyNkOmKZ57gekhCjhAlcHg,2009
|
53
53
|
universal_mcp/utils/installation.py,sha256=3vy9ZLjQj1xpSAOyWpOanBr7o5DtffzWB5JAjN0Jjtk,3757
|
54
54
|
universal_mcp/utils/openapi.py,sha256=ud_ZB7_60BcS1Vao7ESKDqo0gry9JN5wzy-CFssrjm8,13140
|
55
|
-
universal_mcp-0.1.
|
56
|
-
universal_mcp-0.1.
|
57
|
-
universal_mcp-0.1.
|
58
|
-
universal_mcp-0.1.
|
55
|
+
universal_mcp-0.1.8rc1.dist-info/METADATA,sha256=aIw8d3MEmmQdznN6OagpdSAMxLVaCPPJgCpbqxSkw3U,10851
|
56
|
+
universal_mcp-0.1.8rc1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
57
|
+
universal_mcp-0.1.8rc1.dist-info/entry_points.txt,sha256=QlBrVKmA2jIM0q-C-3TQMNJTTWOsOFQvgedBq2rZTS8,56
|
58
|
+
universal_mcp-0.1.8rc1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|