Skip to content

Commit d3c9863

Browse files
committed
Merge remote-tracking branch 'origin/main' into crewai-example
2 parents 8605941 + c5afd70 commit d3c9863

File tree

5 files changed

+34
-25
lines changed

5 files changed

+34
-25
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
## 0.1.6-dev0
1+
## 0.1.7-dev0
22

33
### Enhancements
44
- Added example how to configure MCP server in CrewAI framework
55

66
### Fixes
77

8+
## 0.1.6
9+
10+
### Enhancements
11+
12+
### Fixes
13+
- Workflow name is added when `list_workflows_with_finished_jobs` is called
14+
815
## 0.1.5
916

1017
### Enhancements

README.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,28 @@ An MCP server implementation for interacting with the Unstructured API. This ser
44

55
## Available Tools
66

7-
| Tool | Description |
8-
|--------------------------------|---------------------------------------------------------------|
9-
| `list_sources` | Lists available sources from the Unstructured API. |
10-
| `get_source_info` | Get detailed information about a specific source connector. |
11-
| `create_source_connector` | Create a source connector.) |
12-
| `update_source_connector` | Update an existing source connector by params. |
13-
| `delete_source_connector` | Delete a source connector by source id. |
14-
| `list_destinations` | Lists available destinations from the Unstructured API. |
15-
| `get_destination_info` | Get detailed info about a specific destination connector |
16-
| `create_destination_connector` | Create a destination connector by params. |
17-
| `update_destination_connector` | Update an existing destination connector by destination id. |
18-
| `delete_destination_connector` | Delete a destination connector by destination id. |
19-
| `list_workflows` | Lists workflows from the Unstructured API. |
20-
| `get_workflow_info` | Get detailed information about a specific workflow. |
21-
| `create_workflow` | Create a new workflow with source, destination id, etc. |
22-
| `run_workflow` | Run a specific workflow with workflow id |
23-
| `update_workflow` | Update an existing workflow by params. |
24-
| `delete_workflow` | Delete a specific workflow by id. |
25-
| `list_jobs` | Lists jobs for a specific workflow from the Unstructured API. |
26-
| `get_job_info` | Get detailed information about a specific job by job id. |
27-
| `cancel_job` | Delete a specific job by id. |
7+
| Tool | Description |
8+
|-------------------------------------|------------------------------------------------------------------------------------------------------------------|
9+
| `list_sources` | Lists available sources from the Unstructured API. |
10+
| `get_source_info` | Get detailed information about a specific source connector. |
11+
| `create_source_connector` | Create a source connector.) |
12+
| `update_source_connector` | Update an existing source connector by params. |
13+
| `delete_source_connector` | Delete a source connector by source id. |
14+
| `list_destinations` | Lists available destinations from the Unstructured API. |
15+
| `get_destination_info` | Get detailed info about a specific destination connector |
16+
| `create_destination_connector` | Create a destination connector by params. |
17+
| `update_destination_connector` | Update an existing destination connector by destination id. |
18+
| `delete_destination_connector` | Delete a destination connector by destination id. |
19+
| `list_workflows` | Lists workflows from the Unstructured API. |
20+
| `get_workflow_info` | Get detailed information about a specific workflow. |
21+
| `create_workflow` | Create a new workflow with source, destination id, etc. |
22+
| `run_workflow` | Run a specific workflow with workflow id |
23+
| `update_workflow` | Update an existing workflow by params. |
24+
| `delete_workflow` | Delete a specific workflow by id. |
25+
| `list_jobs` | Lists jobs for a specific workflow from the Unstructured API. |
26+
| `get_job_info` | Get detailed information about a specific job by job id. |
27+
| `cancel_job` | Delete a specific job by id. |
28+
| `list_workflows_with_finished_jobs` | Lists all workflows that have any completed job, together with information about source and destination details. |
2829

2930
Below is a list of connectors the `UNS-MCP` server currently supports, please see the full list of source connectors that Unstructured platform supports [here](https://docs.unstructured.io/api-reference/workflow/sources/overview) and destination list [here](https://docs.unstructured.io/api-reference/workflow/destinations/overview). We are planning on adding more!
3031

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uns_mcp"
3-
version = "0.1.5" # Set only non-dev versions to release
3+
version = "0.1.6" # Set only non-dev versions to release
44
description = "MCP server implementation providing structured tools for interacting with the Unstructured API, managing sources, destinations, workflows, and jobs"
55
requires-python = ">=3.12"
66
readme = "README.md"

uns_mcp/server.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,8 @@ async def list_workflows_with_finished_jobs(
629629

630630
result = ["Workflows:"]
631631
for workflow_details in filtered_workflows_details:
632-
result.append(f"- Workflow ID: {workflow_details.workflow.id}")
632+
result.append(f"- Name: {workflow_details.workflow.name}")
633+
result.append(f" ID: {workflow_details.workflow.id}")
633634
result.append(" Sources:")
634635
for source in workflow_details.sources:
635636
result.append(f" - {source.name} (ID: {source.id})")

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)