mcp-tool-chainer

mcp-tool-chainer

35

MCP Tool Chainer is a Model Context Protocol server designed for efficient chaining of multiple MCP tools. It ensures minimal token usage by enabling sequential execution of tools with the seamless passing of results. This improves performance and simplifies complex workflows in data processing.

MCP Tool Chainer

An MCP (Model Context Protocol) server that enables chaining calls to other MCP tools, minimizing token usage through sequential tool execution with result passing. Designed to address specific issues by allowing tools to be chained efficiently.

Features

  • Chain multiple MCP tools sequentially.
  • Pass results as input using placeholders.
  • Filter and extract data with JsonPath.
  • Automatic discovery of tools from configured MCP servers.

Tools

  • mcp_chain: Chains multiple MCP servers.
  • chainable_tools: Discovers tools for use by the mcp_chain tool.
  • discover_tools: Rediscovers tools from MCP servers.

Installation

  • Requires Node.js (v16+) and npm.
  • Install from npm or source repositories.

Benefits

  • Reduces token usage.
  • Simplifies workflows.
  • Improves performance.
  • Allows precise data flow control.

License

Licensed under the MIT License.