mcp-haystack 1.5.2__tar.gz → 2.0.0__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.
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/CHANGELOG.md +11 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/PKG-INFO +3 -4
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/pyproject.toml +2 -4
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/src/haystack_integrations/tools/mcp/mcp_tool.py +1 -2
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/src/haystack_integrations/tools/mcp/mcp_toolset.py +0 -1
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/test_mcp_tool.py +0 -1
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/.gitignore +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/LICENSE.txt +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/README.md +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/examples/mcp_client.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/examples/mcp_filtered_tools.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/examples/mcp_server.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/examples/mcp_stdio_client.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/examples/mcp_stdio_toolset.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/examples/time_pipeline.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/examples/time_pipeline_toolset.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/pydoc/config_docusaurus.yml +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/src/haystack_integrations/tools/mcp/__init__.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/src/haystack_integrations/tools/mcp/compatibility_layer.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/src/haystack_integrations/tools/py.typed +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/__init__.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/conftest.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/mcp_memory_transport.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/mcp_servers_fixtures.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/test_compatibility_layer.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/test_mcp_integration.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/test_mcp_server_info.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/test_mcp_timeout_reconnection.py +0 -0
- {mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/tests/test_mcp_toolset.py +0 -0
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [integrations/mcp-v1.5.2] - 2026-10-07
|
|
4
|
+
|
|
5
|
+
### 🐛 Bug Fixes
|
|
6
|
+
|
|
7
|
+
- MCP - warm_up must reopen connections after close (#4065)
|
|
8
|
+
|
|
9
|
+
### ⚙️ CI
|
|
10
|
+
|
|
11
|
+
- Improve changelog generation; fix existing changelogs (#3883)
|
|
12
|
+
|
|
13
|
+
|
|
3
14
|
## [integrations/mcp-v1.5.1] - 2026-09-01
|
|
4
15
|
|
|
5
16
|
### 🚀 Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: mcp-haystack
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Haystack integration for Model Context Protocol (MCP)
|
|
5
5
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/mcp#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
|
|
@@ -12,14 +12,13 @@ Keywords: Haystack,MCP,Model Context Protocol
|
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
20
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
|
-
Requires-Python: >=3.
|
|
22
|
-
Requires-Dist: exceptiongroup
|
|
21
|
+
Requires-Python: >=3.11
|
|
23
22
|
Requires-Dist: haystack-ai>=2.23.0
|
|
24
23
|
Requires-Dist: mcp>=1.24.0
|
|
25
24
|
Description-Content-Type: text/markdown
|
|
@@ -7,7 +7,7 @@ name = "mcp-haystack"
|
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
description = "Haystack integration for Model Context Protocol (MCP)"
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
keywords = [
|
|
13
13
|
"MCP",
|
|
@@ -21,17 +21,16 @@ classifiers = [
|
|
|
21
21
|
"License :: OSI Approved :: Apache Software License",
|
|
22
22
|
"Development Status :: 4 - Beta",
|
|
23
23
|
"Programming Language :: Python",
|
|
24
|
-
"Programming Language :: Python :: 3.10",
|
|
25
24
|
"Programming Language :: Python :: 3.11",
|
|
26
25
|
"Programming Language :: Python :: 3.12",
|
|
27
26
|
"Programming Language :: Python :: 3.13",
|
|
28
27
|
"Programming Language :: Python :: 3.14",
|
|
28
|
+
"Programming Language :: Python :: 3.15",
|
|
29
29
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
30
30
|
]
|
|
31
31
|
dependencies = [
|
|
32
32
|
"mcp>=1.24.0",
|
|
33
33
|
"haystack-ai>=2.23.0",
|
|
34
|
-
"exceptiongroup", # Backport of ExceptionGroup for Python < 3.11
|
|
35
34
|
]
|
|
36
35
|
|
|
37
36
|
[project.urls]
|
|
@@ -88,7 +87,6 @@ disallow_incomplete_defs = true
|
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
[tool.ruff]
|
|
91
|
-
target-version = "py310"
|
|
92
90
|
line-length = 120
|
|
93
91
|
|
|
94
92
|
[tool.ruff.lint]
|
|
@@ -17,7 +17,6 @@ from contextlib import AsyncExitStack
|
|
|
17
17
|
from dataclasses import dataclass, fields
|
|
18
18
|
from typing import Any, cast
|
|
19
19
|
|
|
20
|
-
from exceptiongroup import ExceptionGroup
|
|
21
20
|
from haystack import logging
|
|
22
21
|
from haystack.core.serialization import generate_qualified_class_name, import_class_by_name
|
|
23
22
|
from haystack.tools import Tool
|
|
@@ -1121,7 +1120,7 @@ class MCPTool(Tool):
|
|
|
1121
1120
|
return _extract_first_text_element(result)
|
|
1122
1121
|
|
|
1123
1122
|
return result
|
|
1124
|
-
except
|
|
1123
|
+
except TimeoutError as e:
|
|
1125
1124
|
message = f"Tool invocation timed out after {self._invocation_timeout} seconds"
|
|
1126
1125
|
raise TimeoutError(message) from e
|
|
1127
1126
|
except Exception as e:
|
{mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/src/haystack_integrations/tools/mcp/mcp_toolset.py
RENAMED
|
@@ -7,7 +7,6 @@ from collections.abc import Callable
|
|
|
7
7
|
from typing import Any, cast
|
|
8
8
|
from urllib.parse import urlparse
|
|
9
9
|
|
|
10
|
-
from exceptiongroup import ExceptionGroup
|
|
11
10
|
from haystack import logging
|
|
12
11
|
from haystack.core.serialization import generate_qualified_class_name, import_class_by_name
|
|
13
12
|
from haystack.tools import Tool, Toolset
|
|
@@ -6,7 +6,6 @@ from types import SimpleNamespace
|
|
|
6
6
|
from unittest.mock import AsyncMock, MagicMock, patch
|
|
7
7
|
|
|
8
8
|
import pytest
|
|
9
|
-
from exceptiongroup import ExceptionGroup
|
|
10
9
|
from haystack.components.agents import Agent
|
|
11
10
|
from haystack.components.generators.chat import OpenAIChatGenerator
|
|
12
11
|
from haystack.core.pipeline import Pipeline
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mcp_haystack-1.5.2 → mcp_haystack-2.0.0}/src/haystack_integrations/tools/mcp/compatibility_layer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|