Tool Chainer
Createdthirdstrandstudio
Chains calls to other Model Context Protocol (MCP) tools, reducing token usage by enabling sequential tool execution with result passing.
About
This Model Context Protocol (MCP) server streamlines workflows by chaining calls to other MCP tools. It minimizes token usage by enabling sequential tool execution where the results of one tool are passed as input to the next. The server supports dynamic tool discovery from configured MCP servers and offers features like JsonPath filtering for precise data extraction and transformation, allowing for the creation of complex, efficient data processing pipelines with a single tool call.
Key Features
- Chains multiple MCP tools together in sequence.
- Filters and extracts specific data using JsonPath with `inputPath` and `outputPath` parameters.
- Minimizes token usage compared to individual tool calls.
- Passes results from one tool as input to another using `CHAIN_RESULT` placeholder.
- Supports automatic tool discovery from configured MCP servers.
Use Cases
- Fetching a webpage, extracting specific content with XPath, then extracting part of the result using JsonPath.
- Fetching a webpage and then extracting specific content with XPath.
- Automating complex data processing workflows by chaining multiple tools together.