
MCPStack
by MCP-Pipeline·★ 16·综合分 39
MCPStack 是一个类似 scikit-learn 的管道编排器,用于 MCP 工具,可在 LLM 环境中安全地组合和链接 MCP 工具。
概述
MCPStack 允许开发者将多个 MCP 工具堆叠成管道,类似于 scikit-learn 在机器学习管道中的工作方式。这种方法通过限制 LLM 仅访问管道中指定的工具,提供了强大的功能和安全性。该项目支持 CLI 和编程工作流,工具通过入口点自动注册,并提供全面的配置选项。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当你需要将多个MCP工具编排成安全、可复现的LLM交互流水线,特别是如果你熟悉scikit-learn的API风格时,选择MCPStack。
什么时候不要选它
如果你只需要单个MCP工具,更喜欢传统的MCP服务器方法,或者寻求广泛的社区支持,则不应选择MCPStack,因为该项目仍相对较新。
此 server 暴露的工具
从 README 抽取出 12 个工具list-toolsList all validated MCP tools available in your environment
list-presetsList all available pipeline presets
pipelineCreate and manage MCP tool pipelines
configureConfigure MCP tools before adding to pipelines
buildBuild a pipeline for execution in LLM environments
searchSearch for MCP tools or presets by prompt query
runExecute a built pipeline with FastMCP
with_toolAdd an MCP tool to a pipeline programmatically
with_presetUse a pre-configured pipeline in Python
with_configConfigure the entire MCPStack instance
with_toolsAdd multiple MCP tools to a pipeline at once
saveSave a built pipeline to a file
说明:Tools extracted from CLI workflow descriptions in the README. Exact tool signatures not provided in the documentation.
可对比工具
安装
安装
使用 UV(推荐):
uv add mcpstack使用 pip:
pip install mcpstackPre-commit 钩子
通过 UV:
uv run pre-commit install通过 pip:
pre-commit installClaude Desktop 配置
要在 Claude Desktop 中使用 MCPStack,请将以下内容添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"mcpstack": {
"command": "uv",
"args": ["run", "mcpstack", "run"]
}
}
}FAQ
- MCPStack 是什么?
- MCPStack 是一个类似 scikit-learn 的管道编排器,用于 MCP 工具,允许您将多个 MCP 工具链接在一起,并将其暴露给 Claude Desktop 等 LLM 环境。
- MCPStack 如何增强安全性?
- MCPStack 通过只允许您明确包含希望 LLM 访问的工具来增强安全性,将其功能限制在管道中指定的那些工具。
MCPStack 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。