Lists available sources from the Unstructured API.
Get detailed information about a specific source connector.
Create a source connector.
Update an existing source connector by params.
Delete a source connector by source id.
Lists available destinations from the Unstructured API.
Get detailed info about a specific destination connector.
Create a destination connector by params.
Update an existing destination connector by destination id.
Delete a destination connector by destination id.
Lists workflows from the Unstructured API.
Get detailed information about a specific workflow.
Create a new workflow with source, destination id, etc.
Run a specific workflow with workflow id.
Update an existing workflow by params.
Delete a specific workflow by id.
Lists jobs for a specific workflow from the Unstructured API.
Get detailed information about a specific job by job id.
Delete a specific job by id.
Lists all workflows that have any completed job, together with information about source and destination details.
The Unstructured API MCP provides a comprehensive interface for managing document processing workflows through the Unstructured platform. It enables users to create, manage, and execute workflows that extract structured data from unstructured documents, connecting various source connectors (like S3, Azure) with destination systems (such as S3, Weaviate, and others). This MCP simplifies the process of document ingestion, processing, and data extraction for AI applications.
The Unstructured API MCP provides tools to interact with the Unstructured platform, allowing you to manage document processing workflows from various sources to destinations.
To install the Unstructured API MCP:
git clone https://github.com/Unstructured-IO/UNS-MCP.git
cd UNS-MCP
pip install -e .
cp .env.template .env
.env
file with your Unstructured API credentials and other required settings.To use this MCP with your AI assistant, you'll need to configure it in your client settings. Add the following configuration to your client:
{
"mcpServers": {
"unstructured-api": {
"command": "python",
"args": ["-m", "uns_mcp.server"]
}
}
}
The MCP requires authentication with the Unstructured API. You'll need to obtain an API key from the Unstructured platform and set it in your environment variables.
Once installed and configured, you can use the MCP to:
Manage Source Connectors: Create, update, list, and delete connectors to document sources like S3, Azure, and Google Cloud.
Manage Destination Connectors: Set up destinations where processed documents will be sent, such as S3 buckets or vector databases like Weaviate.
Create and Run Workflows: Define workflows that connect sources to destinations with specific processing parameters, and execute these workflows to process documents.
Monitor Jobs: Track the status of processing jobs and retrieve information about completed jobs.
The MCP supports various source and destination connectors, with plans to add more in future updates. Refer to the Unstructured documentation for the complete list of supported connectors.
You can find example notebooks in the notebooks
directory of the repository that demonstrate how to use the MCP for common document processing scenarios.
If you encounter issues: