langchain-mcp-tools 0.0.12__tar.gz → 0.0.14__tar.gz
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.
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/PKG-INFO +7 -6
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/README.md +6 -5
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools/langchain_mcp_tools.py +6 -5
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/PKG-INFO +7 -6
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/top_level.txt +1 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/pyproject.toml +1 -1
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/LICENSE +0 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools/__init__.py +0 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools/py.typed +0 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/SOURCES.txt +0 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/dependency_links.txt +0 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/requires.txt +0 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/setup.cfg +0 -0
- {langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/tests/test_langchain_mcp_tools.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: langchain-mcp-tools
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.14
|
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
|
@@ -120,13 +120,14 @@ Any comments pointing out something I am missing would be greatly appreciated!
|
|
120
120
|
|
121
121
|
1. Core Challenge:
|
122
122
|
- Async resources management for `stdio_client` and `ClientSession` seems
|
123
|
-
to require relying exclusively on `asynccontextmanager` for cleanup
|
124
|
-
no manual cleanup options
|
123
|
+
to require relying exclusively on `asynccontextmanager` for cleanup,
|
124
|
+
with no manual cleanup options
|
125
125
|
(based on [the mcp python-sdk impl as of Jan 14, 2025](https://github.com/modelcontextprotocol/python-sdk/tree/99727a9/src/mcp/client))
|
126
126
|
- Initializing multiple MCP servers in parallel requires a dedicated
|
127
127
|
`asyncio.Task` per server
|
128
|
-
-
|
129
|
-
|
128
|
+
- Need to keep sessions alive for later use by different tasks
|
129
|
+
after initialization
|
130
|
+
- Need to ensure proper cleanup later in the same task that created them
|
130
131
|
|
131
132
|
2. Solution Strategy:
|
132
133
|
|
@@ -155,7 +156,7 @@ Any comments pointing out something I am missing would be greatly appreciated!
|
|
155
156
|
|
156
157
|
3. Task Lifecycle:
|
157
158
|
|
158
|
-
|
159
|
+
The following illustrates how to implement the above-mentioned strategy:
|
159
160
|
```
|
160
161
|
[Task starts]
|
161
162
|
↓
|
@@ -95,13 +95,14 @@ Any comments pointing out something I am missing would be greatly appreciated!
|
|
95
95
|
|
96
96
|
1. Core Challenge:
|
97
97
|
- Async resources management for `stdio_client` and `ClientSession` seems
|
98
|
-
to require relying exclusively on `asynccontextmanager` for cleanup
|
99
|
-
no manual cleanup options
|
98
|
+
to require relying exclusively on `asynccontextmanager` for cleanup,
|
99
|
+
with no manual cleanup options
|
100
100
|
(based on [the mcp python-sdk impl as of Jan 14, 2025](https://github.com/modelcontextprotocol/python-sdk/tree/99727a9/src/mcp/client))
|
101
101
|
- Initializing multiple MCP servers in parallel requires a dedicated
|
102
102
|
`asyncio.Task` per server
|
103
|
-
-
|
104
|
-
|
103
|
+
- Need to keep sessions alive for later use by different tasks
|
104
|
+
after initialization
|
105
|
+
- Need to ensure proper cleanup later in the same task that created them
|
105
106
|
|
106
107
|
2. Solution Strategy:
|
107
108
|
|
@@ -130,7 +131,7 @@ Any comments pointing out something I am missing would be greatly appreciated!
|
|
130
131
|
|
131
132
|
3. Task Lifecycle:
|
132
133
|
|
133
|
-
|
134
|
+
The following illustrates how to implement the above-mentioned strategy:
|
134
135
|
```
|
135
136
|
[Task starts]
|
136
137
|
↓
|
{langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools/langchain_mcp_tools.py
RENAMED
@@ -38,13 +38,14 @@ The key aspects are:
|
|
38
38
|
|
39
39
|
1. Core Challenge:
|
40
40
|
- Async resources management for `stdio_client` and `ClientSession` seems
|
41
|
-
to require relying exclusively on `asynccontextmanager` for cleanup
|
42
|
-
no manual cleanup options
|
41
|
+
to require relying exclusively on `asynccontextmanager` for cleanup,
|
42
|
+
with no manual cleanup options
|
43
43
|
(based on [the mcp python-sdk impl as of Jan 14, 2025](https://github.com/modelcontextprotocol/python-sdk/tree/99727a9/src/mcp/client))
|
44
44
|
- Initializing multiple MCP servers in parallel requires a dedicated
|
45
45
|
`asyncio.Task` per server
|
46
|
-
-
|
47
|
-
|
46
|
+
- Need to keep sessions alive for later use by different tasks
|
47
|
+
after initialization
|
48
|
+
- Need to ensure proper cleanup later in the same task that created them
|
48
49
|
|
49
50
|
2. Solution Strategy:
|
50
51
|
A key requirement for parallel initialization is that each server must be
|
@@ -72,7 +73,7 @@ The key aspects are:
|
|
72
73
|
|
73
74
|
3. Task Lifecycle:
|
74
75
|
|
75
|
-
|
76
|
+
The following illustrates how to implement the above-mentioned strategy:
|
76
77
|
```
|
77
78
|
[Task starts]
|
78
79
|
↓
|
{langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: langchain-mcp-tools
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.14
|
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
|
@@ -120,13 +120,14 @@ Any comments pointing out something I am missing would be greatly appreciated!
|
|
120
120
|
|
121
121
|
1. Core Challenge:
|
122
122
|
- Async resources management for `stdio_client` and `ClientSession` seems
|
123
|
-
to require relying exclusively on `asynccontextmanager` for cleanup
|
124
|
-
no manual cleanup options
|
123
|
+
to require relying exclusively on `asynccontextmanager` for cleanup,
|
124
|
+
with no manual cleanup options
|
125
125
|
(based on [the mcp python-sdk impl as of Jan 14, 2025](https://github.com/modelcontextprotocol/python-sdk/tree/99727a9/src/mcp/client))
|
126
126
|
- Initializing multiple MCP servers in parallel requires a dedicated
|
127
127
|
`asyncio.Task` per server
|
128
|
-
-
|
129
|
-
|
128
|
+
- Need to keep sessions alive for later use by different tasks
|
129
|
+
after initialization
|
130
|
+
- Need to ensure proper cleanup later in the same task that created them
|
130
131
|
|
131
132
|
2. Solution Strategy:
|
132
133
|
|
@@ -155,7 +156,7 @@ Any comments pointing out something I am missing would be greatly appreciated!
|
|
155
156
|
|
156
157
|
3. Task Lifecycle:
|
157
158
|
|
158
|
-
|
159
|
+
The following illustrates how to implement the above-mentioned strategy:
|
159
160
|
```
|
160
161
|
[Task starts]
|
161
162
|
↓
|
File without changes
|
File without changes
|
File without changes
|
{langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{langchain_mcp_tools-0.0.12 → langchain_mcp_tools-0.0.14}/langchain_mcp_tools.egg-info/requires.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|