langchain-mcp-tools 0.1.3__py3-none-any.whl → 0.1.4__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.
@@ -64,8 +64,8 @@ async def spawn_mcp_server_and_get_transport(
64
64
  Exception: If server spawning fails
65
65
  """
66
66
  try:
67
- logger.info(f'MCP server "{server_name}": initializing with:',
68
- server_config)
67
+ logger.info(f'MCP server "{server_name}": '
68
+ f'initializing with: {server_config}')
69
69
 
70
70
  # NOTE: `uv` and `npx` seem to require PATH to be set.
71
71
  # To avoid confusion, it was decided to automatically append it
@@ -163,7 +163,7 @@ async def get_mcp_server_tools(
163
163
  Logs input/output and handles errors.
164
164
  """
165
165
  logger.info(f'MCP tool "{server_name}"/"{tool.name}"'
166
- f' received input:', kwargs)
166
+ f' received input: {kwargs}')
167
167
  result = await session.call_tool(self.name, kwargs)
168
168
  if result.isError:
169
169
  raise ToolException(result.content)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: langchain-mcp-tools
3
- Version: 0.1.3
3
+ Version: 0.1.4
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
@@ -36,15 +36,18 @@ such as web search and database access.
36
36
  Thanks to its open-source nature, MCP has gained significant traction in the developer community,
37
37
  with over 400 MCP servers already developed and shared:
38
38
 
39
- - [Smithery: MCP Server Registry](https://smithery.ai/)
40
39
  - [Glama’s list of Open-Source MCP servers](https://glama.ai/mcp/servers)
40
+ - [Smithery: MCP Server Registry](https://smithery.ai/)
41
+ - [awesome-mcp-servers](https://github.com/hideya/awesome-mcp-servers#Server-Implementations)
42
+ - [MCP Get Started/Example Servers](https://modelcontextprotocol.io/examples)
41
43
 
42
- In the MCP framework, external features are encapsulated in an MCP server
43
- that runs in a separate process.
44
- This clear decoupling allows for easy adoption and reuse of
45
- any of the significant collections of MCP servers listed above.
44
+ In the MCP framework, external features are encapsulated in an MCP server,
45
+ which typically runs in a separate process and communicates
46
+ via `stdio` using the open standard protocol.
47
+ This clean decoupling makes it easy to adopt and reuse any of
48
+ the significant collections of MCP servers listed above.
46
49
 
47
- To make it easy for LangChain to take advantage of such a vast resource base,
50
+ To make it easy for LangChain users to take advantage of such a vast resource base,
48
51
  this package offers quick and seamless access from LangChain to MCP servers.
49
52
 
50
53
  It contains a utility function `convert_mcp_to_langchain_tools()`.
@@ -0,0 +1,8 @@
1
+ langchain_mcp_tools/__init__.py,sha256=Xtv2VphhrWB_KlxTIofHZqtCIGtNEl0MxugnrNXTERA,94
2
+ langchain_mcp_tools/langchain_mcp_tools.py,sha256=-kzxOhYUaieWngSSYk0kUZw6SeBNmxjnXm6Ed2rStz8,9627
3
+ langchain_mcp_tools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ langchain_mcp_tools-0.1.4.dist-info/LICENSE,sha256=CRC91e8v116gCpnp7h49oIa6_zjhxqnHFTREeoZFJwA,1072
5
+ langchain_mcp_tools-0.1.4.dist-info/METADATA,sha256=-JPzwr4567fPMFq9caElQjQ2BorchdeXyf_TDje-bwo,4794
6
+ langchain_mcp_tools-0.1.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
7
+ langchain_mcp_tools-0.1.4.dist-info/top_level.txt,sha256=aR_9V2A1Yt-Bca60KmndmGLUWb2wiM5IOG-Gkaf1dxY,20
8
+ langchain_mcp_tools-0.1.4.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=hdlCAAwy7xVHzBNq-t5K91uqfieqeMXJcdr3ZoUcDGo,9621
3
- langchain_mcp_tools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- langchain_mcp_tools-0.1.3.dist-info/LICENSE,sha256=CRC91e8v116gCpnp7h49oIa6_zjhxqnHFTREeoZFJwA,1072
5
- langchain_mcp_tools-0.1.3.dist-info/METADATA,sha256=ZQCV-DU31mUuM6tjj5ygkrRav_wpUnr1I7pzzx29P8s,4547
6
- langchain_mcp_tools-0.1.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
7
- langchain_mcp_tools-0.1.3.dist-info/top_level.txt,sha256=aR_9V2A1Yt-Bca60KmndmGLUWb2wiM5IOG-Gkaf1dxY,20
8
- langchain_mcp_tools-0.1.3.dist-info/RECORD,,