Add Unstructured Transform MCP integration - #540
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
@dizon-u10d is attempting to deploy a commit to the deepset Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi @kacperlukawski, following up on this listing for Unstructured Transform MCP (uses the existing Verified against the live server: The only failing check here is the Vercel preview needing fork authorization. Happy to make any changes. |
There was a problem hiding this comment.
Pull request overview
Adds a new integration catalog page documenting how to use mcp-haystack to connect Haystack agents to Unstructured’s hosted Transform MCP server for document processing.
Changes:
- Added a new integration page for Unstructured Transform MCP (overview, install, auth, usage, and agent example).
- Documented Streamable HTTP connection via
StreamableHttpServerInfo(token=...)and anmcp-remotebridging fallback. - Included licensing/terms notes for both the
mcp-haystackclient and the hosted Unstructured service.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…transform_job, check_transform_status -> check_job_status, get_transform_results -> get_job_results) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Updated for the recent Transform MCP tool rename: |
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
kacperlukawski
left a comment
There was a problem hiding this comment.
Hey, @dizon-u10d I have some questions about that integration. I like the idea, but want to make sure the example is easy to follow. Would love to hear your thoughts about my concerns.
…t between status polls Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Hi @kacperlukawski, thanks for the review, both good catches. Pushed a fix for each:
Let me know if anything else stands out. |
…re ones Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…er tools live Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Another round of tool-surface changes shipped upstream this week (file manager tool added), so I went further than a rename this time: rewrote the docs, notebook, and system/agent prompts to describe the pipeline by behavior (submit → poll → fetch) rather than hardcoding exact tool names, and lean on the toolset-discovery pattern already shown here to find the real names at connect time. Should hold up through future renames/additions without needing another update like this. |
kacperlukawski
left a comment
There was a problem hiding this comment.
Thank you @dizon-u10d I still have some concerns about too many poll operations. Did you try running the code samples? I don't think we can just ask model to sleep, but a simple tool should work.
| toc: true | ||
| --- |
There was a problem hiding this comment.
| toc: true | |
| --- | |
| toc: true | |
| mcp: true | |
| --- |
We have an mcp property to distinguish MCP-based integrations from native ones.
|
|
||
| Transform jobs are asynchronous. When asked to process a document: | ||
| 1. Submit the file reference(s) and the requested processing stages to start a processing job. This returns a job ID immediately; the job itself runs in the background. | ||
| 2. Check the job's status, waiting a few seconds between checks, until it reports as complete. |
There was a problem hiding this comment.
Unfortunately, asking the model to wait a few seconds is not going to work. Chat generators are not able to control their execution, but it should be solvable with a simple tool.
Adds an integration catalog page for Unstructured Transform MCP, a hosted MCP server exposing Unstructured's document-processing pipeline (partition, enrich, chunk, embed) as MCP tools.
integrations/transform-mcp.md(type: Tool Integration)mcp-haystackMCPToolsetover Streamable HTTP usingStreamableHttpServerInfo's nativetokenparameter; documents themcp-remoteOAuth fallback./logos/unstructured.svgasset.Docs: https://docs.unstructured.io/transform/overview · Get started: https://transform.unstructured.io/get-started
Companion cookbook PR: deepset-ai/haystack-cookbook#300
🤖 Generated with Claude Code