Mcp_tool_chainer

by thirdstrandstudio

1.2k downloads Not rated yet

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…

Explore

- 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

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

Node.js (v16 or later)
npm or yarn


npm install -g @thirdstrandstudio/mcp-tool-chainer

bash

npm install

ENSURE IT IS THE LAST MCP TO RUN OTHERWISE IT WILL HAVE TO RUN DISCOVERY AGAIN

Add the following to your claude_desktop_config.json or mcp.json:

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

Replace /path/to/mcp-tool-chainer with the actual path to your repository.

image

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

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": []
    }
}

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.