langchain-mcp-tools 0.0.10__tar.gz → 0.0.11__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.10 → langchain_mcp_tools-0.0.11}/PKG-INFO +5 -1
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools.egg-info/PKG-INFO +5 -1
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools.egg-info/requires.txt +5 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/pyproject.toml +4 -4
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/tests/test_langchain_mcp_tools.py +3 -3
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/LICENSE +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/README.md +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools/__init__.py +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools/langchain_mcp_tools.py +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools/py.typed +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools.egg-info/SOURCES.txt +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools.egg-info/dependency_links.txt +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools.egg-info/top_level.txt +0 -0
- {langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/setup.cfg +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.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 [](https://github.com/hideya/langchain-mcp-tools-py/blob/main/LICENSE) [](https://pypi.org/project/langchain-mcp-tools/)
|
23
27
|
|
{langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/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.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 [](https://github.com/hideya/langchain-mcp-tools-py/blob/main/LICENSE) [](https://pypi.org/project/langchain-mcp-tools/)
|
23
27
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "langchain-mcp-tools"
|
3
|
-
version = "0.0.
|
3
|
+
version = "0.0.11"
|
4
4
|
description = "Model Context Protocol (MCP) To LangChain Tools Conversion Utility"
|
5
5
|
readme = "README.md"
|
6
6
|
requires-python = ">=3.11"
|
@@ -16,12 +16,12 @@ dependencies = [
|
|
16
16
|
"pyjson5>=1.6.8",
|
17
17
|
"pympler>=1.1",
|
18
18
|
"python-dotenv>=1.0.1",
|
19
|
+
"pytest>=8.3.4",
|
20
|
+
"pytest-asyncio>=0.25.2",
|
19
21
|
]
|
20
22
|
|
21
|
-
[
|
23
|
+
[project.optional-dependencies]
|
22
24
|
dev = [
|
23
|
-
"pytest>=8.3.4",
|
24
|
-
"pytest-asyncio>=0.25.2",
|
25
25
|
"twine>=6.0.1",
|
26
26
|
]
|
27
27
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import pytest
|
2
2
|
from unittest.mock import AsyncMock, MagicMock, patch
|
3
3
|
from langchain_core.tools import BaseTool
|
4
|
-
from
|
4
|
+
from langchain_mcp_tools.langchain_mcp_tools import (
|
5
5
|
convert_mcp_to_langchain_tools,
|
6
6
|
)
|
7
7
|
|
@@ -11,14 +11,14 @@ pytest_plugins = ('pytest_asyncio',)
|
|
11
11
|
|
12
12
|
@pytest.fixture
|
13
13
|
def mock_stdio_client():
|
14
|
-
with patch('
|
14
|
+
with patch('langchain_mcp_tools.langchain_mcp_tools.stdio_client') as mock:
|
15
15
|
mock.return_value.__aenter__.return_value = (AsyncMock(), AsyncMock())
|
16
16
|
yield mock
|
17
17
|
|
18
18
|
|
19
19
|
@pytest.fixture
|
20
20
|
def mock_client_session():
|
21
|
-
with patch('
|
21
|
+
with patch('langchain_mcp_tools.langchain_mcp_tools.ClientSession') as mock:
|
22
22
|
session = AsyncMock()
|
23
23
|
# Mock the list_tools response
|
24
24
|
session.list_tools.return_value = MagicMock(
|
File without changes
|
File without changes
|
File without changes
|
{langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools/langchain_mcp_tools.py
RENAMED
File without changes
|
File without changes
|
{langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{langchain_mcp_tools-0.0.10 → langchain_mcp_tools-0.0.11}/langchain_mcp_tools.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|