Add Unstructured Transform MCP integration example - #717
Conversation
A document-parsing agent under examples/mcp/mcp_unstructured_transform/ that connects to Unstructured's hosted Transform MCP server and turns files (PDF, DOCX, PPTX, XLSX, HTML, EML, images, and 60+ file types) into clean markdown.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughAdds a runnable MCP example that connects to Unstructured’s hosted Transform server, authenticates through browser OAuth, converts a public document URL to Markdown, documents local setup, and registers the example in the MCP gallery. ChangesUnstructured Transform MCP example
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant MCPApp
participant Agent
participant UnstructuredTransform
participant OpenAIAugmentedLLM
MCPApp->>Agent: connect with unstructured_transform
Agent->>UnstructuredTransform: list available tools
Agent->>OpenAIAugmentedLLM: attach LLM
OpenAIAugmentedLLM->>UnstructuredTransform: transform document URL to Markdown
UnstructuredTransform-->>OpenAIAugmentedLLM: parsed Markdown result
OpenAIAugmentedLLM-->>MCPApp: return generated Markdown
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi maintainers! I'd love to get this reviewed and hopefully merged if you have the time. |
This adds an example document-parsing agent under examples/mcp/mcp_unstructured_transform/ that connects to Unstructured's hosted Transform MCP server and turns files (PDF, DOCX, PPTX, XLSX, HTML, EML, images, and 60+ file types) into clean markdown.
Files
Testing
Checklist
Summary by CodeRabbit