MCP Tool Chainer
An MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool execution with result passing
What is MCP Tool Chainer?
MCP Tool Chainer is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp (model context protocol) server that chains calls to other mcp tools, reducing token usage by allowing sequential tool execution with result passing
An MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool execution with result passing
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP (Model Context Protocol) server that chains calls to
Use Cases
Maintainer
Works with
Installation
NPM
npx -y @thirdstrandstudio/mcp-tool-chainerManual Installation
npx -y @thirdstrandstudio/mcp-tool-chainerConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Tool Chainer
MCP Tool Chainer is an MCP server that enables sequential chaining of calls across multiple MCP tools, passing the output of one tool as the input to the next using a `CHAIN_RESULT` placeholder and JSONPath expressions for precise data extraction. By executing multi-step workflows in a single Claude request instead of many separate tool calls, it significantly reduces token consumption and round-trip overhead in complex AI agent pipelines.
Prerequisites
- Node.js 18 or higher installed
- Other MCP servers already configured whose tools you want to chain
- An MCP-compatible client such as Claude Desktop or Claude Code
- Basic familiarity with JSONPath syntax for inputPath and outputPath parameters
Install via npx or npm
The simplest way to use MCP Tool Chainer is directly via npx. Alternatively, install the npm package globally.
npx -y @thirdstrandstudio/mcp-tool-chainer
# or
npm install -g @thirdstrandstudio/mcp-tool-chainerAdd the server to your MCP client configuration
Add MCP Tool Chainer to your claude_desktop_config.json. Important: the chainer needs to discover tools from other servers, so add it AFTER all other MCP servers in your config.
Discover available tools
On first run, the chainer automatically discovers tools from other configured MCP servers. Use the discover_tools tool to trigger a fresh scan if tools are added later.
List chainable tools
Use the chainable_tools tool in Claude to see all tools available for chaining and their parameter schemas.
Build your first chain
Construct a chain using the mcp_chain tool, specifying each step with toolName, toolArgs (using CHAIN_RESULT as a placeholder where applicable), and optional inputPath/outputPath JSONPath filters.
MCP Tool Chainer Examples
Client configuration
Add this to your claude_desktop_config.json. Place mcp_tool_chainer LAST in the mcpServers object so it can discover tools from all other servers.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
},
"mcp_tool_chainer": {
"command": "npx",
"args": ["-y", "@thirdstrandstudio/mcp-tool-chainer"]
}
}
}Prompts to try
Use these prompts to chain tools together in a single Claude interaction.
- "Use mcp_chain to fetch https://api.github.com/repos/microsoft/vscode/releases/latest and then web_search for the title of the first result"
- "Chain a filesystem read_file on config.json followed by a tool that processes the 'database.url' field from that file"
- "Use chainable_tools to show me all tools I can chain together"
- "Use discover_tools to refresh the available tool list after I added a new MCP server"Troubleshooting MCP Tool Chainer
mcp_chain reports tools not found or chainable_tools returns an empty list
Ensure mcp_tool_chainer is listed LAST in your mcpServers configuration. If other servers are added after the initial startup, call discover_tools to trigger a fresh discovery scan. Restart your MCP client after config changes.
CHAIN_RESULT placeholder is not being substituted with the previous step's output
Verify the toolArgs string contains CHAIN_RESULT as a bare token (not quoted as a string value in JSON). Use outputPath with a JSONPath expression on the previous step to extract the specific field you want to pass forward.
JSONPath inputPath or outputPath expressions return no data
Test your JSONPath expressions using a tool like https://jsonpath.com with sample data from the tool's actual output. Common issues include missing leading $ or using dot notation on arrays where bracket notation is needed (e.g., $.results[0].title).
Frequently Asked Questions about MCP Tool Chainer
What is MCP Tool Chainer?
MCP Tool Chainer is a Model Context Protocol (MCP) server that mcp (model context protocol) server that chains calls to other mcp tools, reducing token usage by allowing sequential tool execution with result passing It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Tool Chainer?
Install via npm with the command: npx -y @thirdstrandstudio/mcp-tool-chainer. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with MCP Tool Chainer?
MCP Tool Chainer works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Tool Chainer free to use?
Yes, MCP Tool Chainer is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
MCP Tool Chainer Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP Tool Chainer? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Tool Chainer in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Tool Chainer?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.