universal-mcp 0.1.11rc3__py3-none-any.whl → 0.1.12__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/falai/app.py +8 -8
- {universal_mcp-0.1.11rc3.dist-info → universal_mcp-0.1.12.dist-info}/METADATA +1 -1
- {universal_mcp-0.1.11rc3.dist-info → universal_mcp-0.1.12.dist-info}/RECORD +5 -5
- {universal_mcp-0.1.11rc3.dist-info → universal_mcp-0.1.12.dist-info}/WHEEL +0 -0
- {universal_mcp-0.1.11rc3.dist-info → universal_mcp-0.1.12.dist-info}/entry_points.txt +0 -0
@@ -30,20 +30,20 @@ class FalaiApp(APIApplication):
|
|
30
30
|
def fal_client(self) -> AsyncClient:
|
31
31
|
if self._fal_client is None:
|
32
32
|
credentials = self.integration.get_credentials()
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
logger.info(f"Credentials: {credentials}")
|
34
|
+
api_key = (
|
35
|
+
credentials.get("api_key")
|
36
|
+
or credentials.get("API_KEY")
|
37
|
+
or credentials.get("apiKey")
|
38
|
+
)
|
39
|
+
if not api_key:
|
36
40
|
logger.error(
|
37
41
|
f"Integration {type(self.integration).__name__} returned credentials in unexpected format."
|
38
42
|
)
|
39
|
-
raise ValueError(
|
40
|
-
"Integration did not provide credentials in the expected 'api_key' format."
|
41
|
-
)
|
42
|
-
if not fal_api_key:
|
43
43
|
raise NotAuthorizedError(
|
44
44
|
"Integration returned empty or invalid API key."
|
45
45
|
)
|
46
|
-
self._fal_client = AsyncClient(key=
|
46
|
+
self._fal_client = AsyncClient(key=api_key)
|
47
47
|
return self._fal_client
|
48
48
|
|
49
49
|
async def run(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: universal-mcp
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.12
|
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
|
@@ -29,7 +29,7 @@ universal_mcp/applications/elevenlabs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
29
29
|
universal_mcp/applications/elevenlabs/app.py,sha256=A43xAyQNIbdH8Y1MHw_fmnjmH9MR14TTzeFjg4h8Pek,66722
|
30
30
|
universal_mcp/applications/falai/README.md,sha256=fc31zlKe09FsOw6W5KY7VipxvKhon4KQoWjTdoMlPfc,1449
|
31
31
|
universal_mcp/applications/falai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
|
-
universal_mcp/applications/falai/app.py,sha256=
|
32
|
+
universal_mcp/applications/falai/app.py,sha256=XLHmuRkOCHhVsF3h0TKql4SmQ4h5LbkWKudcvs6Ydhc,12244
|
33
33
|
universal_mcp/applications/figma/README.md,sha256=qA9UMf5PsPhfJrnteGVQOudhLuevwZ4-D_1xM6gAjgQ,4393
|
34
34
|
universal_mcp/applications/figma/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
35
35
|
universal_mcp/applications/figma/app.py,sha256=sr-ednZinHdIcXmDWuWAA_Ri21iBbAYPRZ0-uLeiEkM,50392
|
@@ -113,7 +113,7 @@ universal_mcp/utils/docstring_parser.py,sha256=j7aE-LLnBOPTJI0qXayf0NlYappzxICv5
|
|
113
113
|
universal_mcp/utils/dump_app_tools.py,sha256=9bQePJ4ZKzGtcIYrBgLxbKDOZmL7ajIAHhXljT_AlyA,2041
|
114
114
|
universal_mcp/utils/installation.py,sha256=KPBojDlt2YfFY2DfJ9pUr5evFJ9QQGp99KQUsRkz9GQ,10235
|
115
115
|
universal_mcp/utils/openapi.py,sha256=AgmcyntPyovic2mRqr-a7P4kEc7hU-yk9gRVIsO4078,20673
|
116
|
-
universal_mcp-0.1.
|
117
|
-
universal_mcp-0.1.
|
118
|
-
universal_mcp-0.1.
|
119
|
-
universal_mcp-0.1.
|
116
|
+
universal_mcp-0.1.12.dist-info/METADATA,sha256=W25m860U86z4x6Wux7UsD21xfL65bjHWThA8THw0b0k,12432
|
117
|
+
universal_mcp-0.1.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
118
|
+
universal_mcp-0.1.12.dist-info/entry_points.txt,sha256=QlBrVKmA2jIM0q-C-3TQMNJTTWOsOFQvgedBq2rZTS8,56
|
119
|
+
universal_mcp-0.1.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|