Mcp_tool_chainer

by thirdstrandstudio

175 downloads
Not rated
GitHub

Description

# MCP Tool Chainer [![Visit Third Strand Studio](https://img.shields.io/badge/Visit-Third%20Strand%20Studio-blue)](https://thirdstrandstudio.com) An MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool…

About

# MCP Tool Chainer [![Visit Third Strand Studio](https://img.shields.io/badge/Visit-Third%20Strand%20Studio-blue)](https://thirdstrandstudio.com) An MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool execution with result passing. Designed to…

Details

Author
thirdstrandstudio
Downloads
175
Categories
Other

- Chains multiple MCP tools together in sequence
- Passes results from one tool to another using CHAIN_RESULT placeholder
- Automatically discovers tools from configured MCP servers
- Minimal token usage compared to individual tool calls
- Provides three MCP tools: mcp_chain, chainable_tools, and discover_tools

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp_tool_chainer
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npm (npm install -g @thirdstrandstudio/mcp-tool-chainer) or build from source. Add it as the last MCP server in your claude_desktop_config.json or mcp.json using npx -y @thirdstrandstudio/mcp-tool-chainer (or the built path). Then invoke the mcp_chain tool with a mcpPath array of tool calls, using CHAIN_RESULT to pass intermediate results.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp_tool_chainer": {
            "mcp_tool_chainer": {
                "command": "npx",
                "args": [
                    "-y",
                    "@thirdstrandstudio/mcp-tool-chainer",
                    "`claude_desktop_config.json` or `mcp.json`"
                ],
                "env": []
            }
        }
    }
}

McpServers

{
    "mcp_tool_chainer": {
        "command": "npx",
        "args": [
            "-y",
            "@thirdstrandstudio/mcp-tool-chainer",
            "`claude_desktop_config.json` or `mcp.json`"
        ],
        "env": []
    }
}

MCP Tool Chainer

Visit Third Strand Studio

An MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool execution with result passing.
Designed to solve https://github.com/modelcontextprotocol/specification/issues/215

image

Features

- Chain multiple MCP tools together in sequence
- Pass results from one tool as input to another tool using CHAIN_RESULT placeholder
- Automatic tool discovery from configured MCP servers
- Minimal token usage compared to individual tool calls

Tools

This server implements the following MCP tools:

1. mcp_chain - Chain together multiple MCP servers
2. chainable_tools - Discover tools from all MCP servers so the mcp_chain tool can be used
3. discover_tools - Rediscover tools from all MCP servers

Installation

Prerequisites

Node.js (v16 or later)
npm or yarn

Installing from npm

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.