sift-gateway
by lourencomaciel·★ 29·综合分 46
Sift 是一个 MCP 和 CLI 工具的可靠性网关,存储数据工件并返回架构稳定的 JSON 输出。
概述
Sift 充当 AI 代理与上游 MCP 服务器或 CLI 命令之间的中间层。它解决了工具输出的关键痛点,包括大上下文消耗、不一致的 API 响应、分页问题和敏感数据暴露。通过将完整有效负载存储为 SQLite 工件并返回紧凑引用或内联数据,Sift 根据基准测试将准确性从 33% 提高到 99%,同时将输入令牌减少 95.4%。该解决方案支持 MCP 客户端和 CLI 工作流程,具有统一的工件契约。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当使用产生大量输出的 MCP 工具、处理敏感数据或需要分页完成时,选择 Sift,尤其是在需要保持数据可靠性的同时最小化上下文使用时。
什么时候不要选它
如果您需要低延迟的工具响应、没有分页问题的简单 API 交互,或者喜欢直接的工具访问而不需要额外的抽象层,请避免使用 Sift。
此 server 暴露的工具
从 README 抽取出 4 个工具artifactQuery stored tool artifacts with Python code
gateway.inspect_toolGet full documentation for a tool from the upstream server
runExecute upstream tool/command and capture JSON output
next_pageContinue pagination from the previous artifact
说明:Tools were inferred from the MCP gateway functionality described in the README, particularly the sections on how Sift works with MCP tools and artifact querying. The exact MCP tool names aren't explicitly listed in the provided README excer
可对比工具
安装
pipx install sift-gateway
sift-gateway init --from claude对于 Claude Desktop,添加到 config.json:
{
"mcpServers": {
"sift": {
"command": "sift-gateway",
"args": ["serve"],
"env": {
"PYTHONPATH": "/path/to/sift"
}
}
}
}Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by loumaciel · 2026-03-05
sift-gateway 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。