把多个 MCP 工具按顺序串联调用并传递结果,以减少 token 消耗。
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add tool-chainer -- npx -y @thirdstrandstudio/mcp-tool-chainer '`claude_desktop_config.json` or `mcp.json`'~/.codex/config.toml
[mcp_servers.tool-chainer]
command = "npx"
args = ["-y", "@thirdstrandstudio/mcp-tool-chainer", "`claude_desktop_config.json` or `mcp.json`"]
# codex mcp add tool-chainer -- npx -y @thirdstrandstudio/mcp-tool-chainer '`claude_desktop_config.json` or `mcp.json`'~/.cursor/mcp.json
{
"mcpServers": {
"tool-chainer": {
"command": "npx",
"args": [
"-y",
"@thirdstrandstudio/mcp-tool-chainer",
"`claude_desktop_config.json` or `mcp.json`"
]
}
}
}.vscode/mcp.json
{
"servers": {
"tool-chainer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@thirdstrandstudio/mcp-tool-chainer",
"`claude_desktop_config.json` or `mcp.json`"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tool-chainer": {
"command": "npx",
"args": [
"-y",
"@thirdstrandstudio/mcp-tool-chainer",
"`claude_desktop_config.json` or `mcp.json`"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tool-chainer": {
"command": "npx",
"args": [
"-y",
"@thirdstrandstudio/mcp-tool-chainer",
"`claude_desktop_config.json` or `mcp.json`"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"tool-chainer": {
"command": "npx",
"args": [
"-y",
"@thirdstrandstudio/mcp-tool-chainer",
"`claude_desktop_config.json` or `mcp.json`"
]
}
}
}