MCP Workflow - Writing servers that run durable tool orchestrations #608
P0u4a
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
What would you like to share?
One of the main problems I came across while connecting my MCP servers to clients is that often times you have a set of tools you want to run in sequence. For example, before you can call a
book_flighttool you need to call asearch_available_flightstool. You can enforce this ordering somewhat by including instructions in the tool description, but there's no order guarantee from the client.So I built mcp-workflow, which extends the typescript sdk and exposes a few new classes that let you build workflows around your tools, guaranteeing the call order that you define. It also comes with a few other features like persistent storage for intermediate tool responses and some rudimentary branching capabilities to steer the client in the right direction.
Feedback and contributions are welcome!
Relevant Links
https://github.com/P0u4a/mcp-workflow
Beta Was this translation helpful? Give feedback.
All reactions