universal-mcp 0.1.24rc24__py3-none-any.whl → 0.1.24rc25__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/agentr/registry.py +3 -1
- {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc25.dist-info}/METADATA +1 -1
- {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc25.dist-info}/RECORD +6 -6
- {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc25.dist-info}/WHEEL +0 -0
- {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc25.dist-info}/entry_points.txt +0 -0
- {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc25.dist-info}/licenses/LICENSE +0 -0
universal_mcp/agentr/registry.py
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import inspect
|
1
2
|
import base64
|
2
3
|
from typing import Any
|
3
4
|
|
@@ -176,6 +177,7 @@ class AgentrRegistry(ToolRegistry):
|
|
176
177
|
|
177
178
|
langchain_tools = []
|
178
179
|
for tool in loaded_tools:
|
180
|
+
full_docstring = inspect.getdoc(tool.fn)
|
179
181
|
|
180
182
|
def create_coroutine(t):
|
181
183
|
async def call_tool_wrapper(**arguments: dict[str, Any]):
|
@@ -188,7 +190,7 @@ class AgentrRegistry(ToolRegistry):
|
|
188
190
|
|
189
191
|
langchain_tool = StructuredTool(
|
190
192
|
name=tool.name,
|
191
|
-
description=tool.description or "",
|
193
|
+
description=full_docstring or tool.description or "",
|
192
194
|
coroutine=create_coroutine(tool),
|
193
195
|
response_format="content",
|
194
196
|
args_schema=tool.parameters,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: universal-mcp
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.24rc25
|
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
|
@@ -8,7 +8,7 @@ universal_mcp/agentr/README.md,sha256=ypsA_jD4Fgdg0wQ8bLFIFPmpFwYCCCv-29pNizJDCk
|
|
8
8
|
universal_mcp/agentr/__init__.py,sha256=fv1ZnOCduIUiJ9oN4e6Ya_hA2oWQvcEuDU3Ek1vEufI,180
|
9
9
|
universal_mcp/agentr/client.py,sha256=og1kfnOxtSTVtgYXg4AMcitX0nSX0t_r5D7A_HrcAG8,8054
|
10
10
|
universal_mcp/agentr/integration.py,sha256=V5GjqocqS02tRoI8MeV9PL6m-BzejwBzgJhOHo4MxAE,4212
|
11
|
-
universal_mcp/agentr/registry.py,sha256=
|
11
|
+
universal_mcp/agentr/registry.py,sha256=0J69D1Cu6r3PWMMxCWv4HYzLwoYFUIKDE9GIs2h0D-E,9282
|
12
12
|
universal_mcp/agentr/server.py,sha256=d_UaxCGTOzdOsIMiHiILgAjeZLbUASCyQkUqhd1x9wA,1911
|
13
13
|
universal_mcp/applications/application.py,sha256=Zxgrr0LVNUTnKxqnX11ScTd5IWEUPCsNYZO2URL6mbQ,23838
|
14
14
|
universal_mcp/applications/utils.py,sha256=8Pp9lZU6IPt9z9BnuJ-vpv-NGuzryt1c4e4-ShDd2XI,1450
|
@@ -48,8 +48,8 @@ universal_mcp/utils/openapi/readme.py,sha256=R2Jp7DUXYNsXPDV6eFTkLiy7MXbSULUj1vH
|
|
48
48
|
universal_mcp/utils/openapi/test_generator.py,sha256=vucBh9klWmQOUA740TFwfM9ry2nkwKWQiNRcsiZ9HbY,12229
|
49
49
|
universal_mcp/utils/templates/README.md.j2,sha256=Mrm181YX-o_-WEfKs01Bi2RJy43rBiq2j6fTtbWgbTA,401
|
50
50
|
universal_mcp/utils/templates/api_client.py.j2,sha256=DS1nczOOD8YkMexVSGpUGeyc0nYGKKTPadL_x1_if7k,900
|
51
|
-
universal_mcp-0.1.
|
52
|
-
universal_mcp-0.1.
|
53
|
-
universal_mcp-0.1.
|
54
|
-
universal_mcp-0.1.
|
55
|
-
universal_mcp-0.1.
|
51
|
+
universal_mcp-0.1.24rc25.dist-info/METADATA,sha256=wLxCxRuJUAe45QcWBSNwA87kOSt6n4C5g0XN365kwpY,3255
|
52
|
+
universal_mcp-0.1.24rc25.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
53
|
+
universal_mcp-0.1.24rc25.dist-info/entry_points.txt,sha256=QlBrVKmA2jIM0q-C-3TQMNJTTWOsOFQvgedBq2rZTS8,56
|
54
|
+
universal_mcp-0.1.24rc25.dist-info/licenses/LICENSE,sha256=NweDZVPslBAZFzlgByF158b85GR0f5_tLQgq1NS48To,1063
|
55
|
+
universal_mcp-0.1.24rc25.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|