Add Unstructured Transform MCP starter template#5578
Conversation
|
Someone is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
|
Quick follow-up / product context: This PR is meant to be the small MCP-first step: it gets Unstructured Transform into the MCP add flow so a Sim user can pick it, add their For folks less familiar with it: Transform converts documents like PDFs, DOCX, PPTX, HTML, and images, including scanned/image-only pages via OCR, into clean markdown, JSON, HTML, or text. It also supports the RAG prep work around that: chunking, enrichment, and embedding. If we want Transform to show up in the main Integrations catalog too, I think there are two possible follow-ups:
Happy to adapt this to whatever pattern the Sim team prefers. If MCP-backed catalog cards are acceptable, I can follow up with that PR. |
PR SummaryLow Risk Overview A new The MCP tools docs add a Starter Configurations section covering the Unstructured setup ( Reviewed by Cursor Bugbot for commit b9e441d. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThis PR adds an MCP starter template for Unstructured Transform. The main changes are:
Confidence Score: 4/5The new external MCP starter needs an explicit domain-gating fix before merging.
apps/sim/app/workspace/[workspaceId]/settings/components/mcp/components/mcp-server-form-modal/mcp-server-templates.ts
|
| Filename | Overview |
|---|---|
| apps/sim/app/workspace/[workspaceId]/settings/components/mcp/components/mcp-server-form-modal/mcp-server-templates.ts | Adds the Unstructured Transform starter template, including an external URL and bearer-token header default. |
| apps/sim/app/workspace/[workspaceId]/settings/components/mcp/components/mcp-server-form-modal/mcp-server-form-modal.tsx | Adds the starter template picker and applies selected template values through the existing MCP form state. |
| apps/docs/content/docs/en/agents/mcp.mdx | Documents starter configurations and the Unstructured Transform setup requirements. |
Reviews (1): Last reviewed commit: "Clarify Unstructured Transform MCP templ..." | Re-trigger Greptile
| url: 'https://mcp.transform.unstructured.io', | ||
| headers: [{ key: 'Authorization', value: 'Bearer {{UNSTRUCTURED_API_KEY}}' }], |
There was a problem hiding this comment.
Default-Allow External MCP Egress
When ALLOWED_MCP_DOMAINS is unset or empty, the existing MCP validation treats all domains as allowed. This new starter makes mcp.transform.unstructured.io a one-click external endpoint with Authorization: Bearer {{UNSTRUCTURED_API_KEY}}, so self-hosted deployments can send a workspace secret to that host without any explicit domain allowlist entry.
Rule Used: API keys and other user-provided credentials shoul... (source)
Learned From
simstudioai/sim#2133
|
@waleedlatif1, would you mind taking a look when you have a chance? This adds Unstructured Transform as a starter template in Sim's existing MCP setup flow. I also opened the companion Unstructured docs PR at https://github.com/Unstructured-IO/docs/pull/995 so users have a first-party setup and workflow guide. The docs PR will stay draft until this lands and we can validate the deployed flow end to end. |
What changed
UNSTRUCTURED_API_KEYenvironment variable and allowlist domain.Why
Unstructured Transform is exposed as an MCP server, so discoverability fits best as a first-class MCP starter configuration instead of a guessed native REST connector. Selecting the template fills the server name, URL, transport, timeout, and header values while still using Sim's existing connection test and MCP execution flow.
Validation
pnpm dlx @biomejs/biome@2.0.0-beta.5 check --no-errors-on-unmatched --files-ignore-unknown=true ...git diff --checkFull workspace checks were not run in this fresh clone because Bun is not installed in the local shell and dependencies are not installed.