langchain-mcp-tools 0.0.9__py3-none-any.whl → 0.0.11__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.
@@ -272,16 +272,15 @@ async def convert_mcp_to_langchain_tools(
272
272
  ))
273
273
  tasks.append(task)
274
274
 
275
- for ready_event in ready_event_list:
276
- await ready_event.wait()
275
+ await asyncio.gather(*(event.wait() for event in ready_event_list))
277
276
 
278
277
  langchain_tools = [
279
278
  item for sublist in per_server_tools for item in sublist
280
279
  ]
281
280
 
282
281
  async def mcp_cleanup() -> None:
283
- for cleanup_event in cleanup_event_list:
284
- cleanup_event.set()
282
+ for event in cleanup_event_list:
283
+ event.set()
285
284
 
286
285
  logger.info(f'MCP servers initialized: {len(langchain_tools)} tool(s) '
287
286
  f'available in total')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: langchain-mcp-tools
3
- Version: 0.0.9
3
+ Version: 0.0.11
4
4
  Summary: Model Context Protocol (MCP) To LangChain Tools Conversion Utility
5
5
  Project-URL: Bug Tracker, https://github.com/hideya/langchain-mcp-tools-py/issues
6
6
  Project-URL: Source Code, https://github.com/hideya/langchain-mcp-tools-py
@@ -18,6 +18,10 @@ Requires-Dist: mcp>=1.2.0
18
18
  Requires-Dist: pyjson5>=1.6.8
19
19
  Requires-Dist: pympler>=1.1
20
20
  Requires-Dist: python-dotenv>=1.0.1
21
+ Requires-Dist: pytest>=8.3.4
22
+ Requires-Dist: pytest-asyncio>=0.25.2
23
+ Provides-Extra: dev
24
+ Requires-Dist: twine>=6.0.1; extra == "dev"
21
25
 
22
26
  # MCP To LangChain Tools Conversion Utility [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/hideya/langchain-mcp-tools-py/blob/main/LICENSE) [![pypi version](https://img.shields.io/pypi/v/langchain-mcp-tools.svg)](https://pypi.org/project/langchain-mcp-tools/)
23
27
 
@@ -0,0 +1,8 @@
1
+ langchain_mcp_tools/__init__.py,sha256=Xtv2VphhrWB_KlxTIofHZqtCIGtNEl0MxugnrNXTERA,94
2
+ langchain_mcp_tools/langchain_mcp_tools.py,sha256=3ADNzNpNXg8mhg9d6L4_6xMvz7QtG56yul61PZAnyZ0,10435
3
+ langchain_mcp_tools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ langchain_mcp_tools-0.0.11.dist-info/LICENSE,sha256=CRC91e8v116gCpnp7h49oIa6_zjhxqnHFTREeoZFJwA,1072
5
+ langchain_mcp_tools-0.0.11.dist-info/METADATA,sha256=oYa-O73DRNQr9NFhM4hGptdChdVdI0KyPZ-FlBQTRaY,6692
6
+ langchain_mcp_tools-0.0.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
7
+ langchain_mcp_tools-0.0.11.dist-info/top_level.txt,sha256=aR_9V2A1Yt-Bca60KmndmGLUWb2wiM5IOG-Gkaf1dxY,20
8
+ langchain_mcp_tools-0.0.11.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- langchain_mcp_tools/__init__.py,sha256=Xtv2VphhrWB_KlxTIofHZqtCIGtNEl0MxugnrNXTERA,94
2
- langchain_mcp_tools/langchain_mcp_tools.py,sha256=ysss7r51Adc5reyui2Zw2qB3RtUDRmc0IeEPTKvRHaM,10453
3
- langchain_mcp_tools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- langchain_mcp_tools-0.0.9.dist-info/LICENSE,sha256=CRC91e8v116gCpnp7h49oIa6_zjhxqnHFTREeoZFJwA,1072
5
- langchain_mcp_tools-0.0.9.dist-info/METADATA,sha256=0K11Ip9o6CpwjewPP4iZyAjv5Y397yvQvNK5MFinm5A,6560
6
- langchain_mcp_tools-0.0.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
7
- langchain_mcp_tools-0.0.9.dist-info/top_level.txt,sha256=aR_9V2A1Yt-Bca60KmndmGLUWb2wiM5IOG-Gkaf1dxY,20
8
- langchain_mcp_tools-0.0.9.dist-info/RECORD,,