universal-mcp 0.1.24rc24__py3-none-any.whl → 0.1.24rc26__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/client.py +3 -1
 - universal_mcp/agentr/registry.py +3 -1
 - {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc26.dist-info}/METADATA +1 -1
 - {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc26.dist-info}/RECORD +7 -7
 - {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc26.dist-info}/WHEEL +0 -0
 - {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc26.dist-info}/entry_points.txt +0 -0
 - {universal_mcp-0.1.24rc24.dist-info → universal_mcp-0.1.24rc26.dist-info}/licenses/LICENSE +0 -0
 
    
        universal_mcp/agentr/client.py
    CHANGED
    
    | 
         @@ -207,7 +207,9 @@ class AgentrClient: 
     | 
|
| 
       207 
207 
     | 
    
         
             
                        limit (int, optional): The number of tools to return. Defaults to 2.
         
     | 
| 
       208 
208 
     | 
    
         
             
                        app_id (str, optional): The ID of the app to search tools for.
         
     | 
| 
       209 
209 
     | 
    
         
             
                    """
         
     | 
| 
       210 
     | 
    
         
            -
                    params = {" 
     | 
| 
      
 210 
     | 
    
         
            +
                    params = {"limit": limit, "distance_threshold": distance_threshold}
         
     | 
| 
      
 211 
     | 
    
         
            +
                    if query:
         
     | 
| 
      
 212 
     | 
    
         
            +
                        params["search"] = query
         
     | 
| 
       211 
213 
     | 
    
         
             
                    if app_id:
         
     | 
| 
       212 
214 
     | 
    
         
             
                        params["app_id"] = app_id
         
     | 
| 
       213 
215 
     | 
    
         
             
                    response = self.client.get("/tools/", params=params)
         
     | 
    
        universal_mcp/agentr/registry.py
    CHANGED
    
    | 
         @@ -1,4 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import base64
         
     | 
| 
      
 2 
     | 
    
         
            +
            import inspect
         
     | 
| 
       2 
3 
     | 
    
         
             
            from typing import Any
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
       4 
5 
     | 
    
         
             
            from loguru import logger
         
     | 
| 
         @@ -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.24rc26
         
     | 
| 
       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
         
     | 
| 
         @@ -6,9 +6,9 @@ universal_mcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 
     | 
|
| 
       6 
6 
     | 
    
         
             
            universal_mcp/types.py,sha256=DAzYyS7Zqdi38SpnhdOm08_JeN2CJiC0hDIpLLIhlSw,316
         
     | 
| 
       7 
7 
     | 
    
         
             
            universal_mcp/agentr/README.md,sha256=ypsA_jD4Fgdg0wQ8bLFIFPmpFwYCCCv-29pNizJDCk4,6522
         
     | 
| 
       8 
8 
     | 
    
         
             
            universal_mcp/agentr/__init__.py,sha256=fv1ZnOCduIUiJ9oN4e6Ya_hA2oWQvcEuDU3Ek1vEufI,180
         
     | 
| 
       9 
     | 
    
         
            -
            universal_mcp/agentr/client.py,sha256= 
     | 
| 
      
 9 
     | 
    
         
            +
            universal_mcp/agentr/client.py,sha256=MnHYwD5V9UgmqcmTcOcOIZoYZ289cPkWBGRBAB4GJCw,8092
         
     | 
| 
       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=nmymeBEY9obRiVvvk-ASRdZiIkgDh4u3ql1r_h7mMRU,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.24rc26.dist-info/METADATA,sha256=IhuO1V1mYnvTmTKzB7hL5v2l1MZQ-HtWcVgxUvKS-zA,3255
         
     | 
| 
      
 52 
     | 
    
         
            +
            universal_mcp-0.1.24rc26.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
         
     | 
| 
      
 53 
     | 
    
         
            +
            universal_mcp-0.1.24rc26.dist-info/entry_points.txt,sha256=QlBrVKmA2jIM0q-C-3TQMNJTTWOsOFQvgedBq2rZTS8,56
         
     | 
| 
      
 54 
     | 
    
         
            +
            universal_mcp-0.1.24rc26.dist-info/licenses/LICENSE,sha256=NweDZVPslBAZFzlgByF158b85GR0f5_tLQgq1NS48To,1063
         
     | 
| 
      
 55 
     | 
    
         
            +
            universal_mcp-0.1.24rc26.dist-info/RECORD,,
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     |