MCP Catalogs
首页

sift-gateway

by lourencomaciel·29·综合分 46

Sift 是一个 MCP 和 CLI 工具的可靠性网关,存储数据工件并返回架构稳定的 JSON 输出。

developer-toolsai-llmops-infra
4
Forks
1
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

Sift 充当 AI 代理与上游 MCP 服务器或 CLI 命令之间的中间层。它解决了工具输出的关键痛点,包括大上下文消耗、不一致的 API 响应、分页问题和敏感数据暴露。通过将完整有效负载存储为 SQLite 工件并返回紧凑引用或内联数据,Sift 根据基准测试将准确性从 33% 提高到 99%,同时将输入令牌减少 95.4%。该解决方案支持 MCP 客户端和 CLI 工作流程,具有统一的工件契约。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:处理 MCP 工作流中的大型分页 API 响应
:从工具输出中删除敏感数据
:确保不同 MCP 服务器响应间的一致架构
:使用 Python 代码查询存储的工件进行复杂分析
:提高准确性同时减少上下文令牌使用

什么时候选它

当使用产生大量输出的 MCP 工具、处理敏感数据或需要分页完成时,选择 Sift,尤其是在需要保持数据可靠性的同时最小化上下文使用时。

什么时候不要选它

如果您需要低延迟的工具响应、没有分页问题的简单 API 交互,或者喜欢直接的工具访问而不需要额外的抽象层,请避免使用 Sift。

此 server 暴露的工具

从 README 抽取出 4 个工具
  • artifact

    Query stored tool artifacts with Python code

  • gateway.inspect_tool

    Get full documentation for a tool from the upstream server

  • run

    Execute upstream tool/command and capture JSON output

  • next_page

    Continue 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

可对比工具

mcp-server-listartifact-servershell-mcpcontext-writer

安装

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 讨论

开发者社区最近的相关讨论。

sift-gateway 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。