feat: [ECO-515] - Add traces to MCP server#215
Merged
ArzelaAscoIi merged 4 commits intoJun 9, 2026
Merged
Conversation
ArzelaAscoIi
reviewed
Jun 8, 2026
ArzelaAscoIi
left a comment
Member
There was a problem hiding this comment.
tests ? 😬
Code looks good :)
There was a problem hiding this comment.
Pull request overview
- Adds MCP tools and API client support for retrieving Haystack pipeline run traces (list + single trace) within a workspace/pipeline context.
Changes:
- Introduces
list_pipeline_tracesandget_pipeline_tracetool wrappers insrc/deepset_mcp/tools/search_history.py. - Adds corresponding API resource methods + protocol surface in
src/deepset_mcp/api/search_history/. - Registers the new tools in the MCP tool registry.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/deepset_mcp/tools/search_history.py |
Adds new user-facing MCP tools for listing traces and fetching a single trace. |
src/deepset_mcp/mcp/tool_registry.py |
Registers the new tools so they are exposed by the MCP server. |
src/deepset_mcp/api/search_history/resource.py |
Implements API calls for listing traces and retrieving a single trace. |
src/deepset_mcp/api/search_history/protocols.py |
Extends the resource protocol with the new trace-related methods. |
src/deepset_mcp/api/search_history/models.py |
Introduces trace-related Pydantic models (PipelineTraceEntry, Haystack trace schema models). |
src/deepset_mcp/api/search_history/__init__.py |
Exports new trace models from the search history API module. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Author
|
@ArzelaAscoIi I added more tests, and I reshaped a bit the Search history one as well since it was outdated, can you please check again ? thanks 🙏🏻 |
ArzelaAscoIi
approved these changes
Jun 9, 2026
tholor
approved these changes
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.