展示HN:Director – 本地优先,开源的MCP网关

8作者: bwm大约 20 小时前原帖
大家好,我们是来自 Director 的 Barnaby 和 Tom(<a href="https://director.run" rel="nofollow">https://director.run</a>)。我们开发了一个完全开源的本地优先的 MCP 网关,可以在 30 秒内将 Claude、Cursor 或 VSCode 连接到任何 MCP 服务器。 <p>演示:<a href="https://www.youtube.com/watch?v=Fj4mGLp-aSk" rel="nofollow">https://www.youtube.com/watch?v=Fj4mGLp-aSk</a></p> <p>网站:<a href="https://director.run" rel="nofollow">https://director.run</a></p> <p>代码库:<a href="https://github.com/director-run/director">https://github.com/director-run/director</a></p> MCP 是一种前景广阔的技术,但目前仍处于早期阶段,存在许多(众所周知的)问题: <p>- 配置:设置困难,需要为每个新的客户端与服务器连接编写 JSON。</p> <p>- 可观察性:没有简单的方法来检查(和修改)客户端与服务器之间的流量。</p> <p>- 安全性:MCP 往往容易受到远程代码执行攻击和提示注入攻击。</p> <p>- 上下文窗口管理:很容易在上下文窗口中加载过多工具,这会导致 LLM 感到困惑。</p> 我们希望通过构建 Director 来解决这些问题。我们从一个简单的本地体验开始,但计划很快添加像 oAuth 这样的功能,以便让您能够在云端(或安全容器中)运行它。 <p>期待听到您们的反馈或想法!</p>
查看原文
Hey HN. we’re Barnaby and Tom from Director (<a href="https:&#x2F;&#x2F;director.run" rel="nofollow">https:&#x2F;&#x2F;director.run</a>). A fully open source, local first MCP gateway that allows you to connect Claude, Cursor or VSCode to any MCP server in 30 seconds.<p>Demo: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Fj4mGLp-aSk" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Fj4mGLp-aSk</a><p>Website: <a href="https:&#x2F;&#x2F;director.run" rel="nofollow">https:&#x2F;&#x2F;director.run</a><p>Repository: <a href="https:&#x2F;&#x2F;github.com&#x2F;director-run&#x2F;director">https:&#x2F;&#x2F;github.com&#x2F;director-run&#x2F;director</a><p>MCP is a promising technology, but it&#x27;s still early and there are lot&#x27;s of (well known) problems:<p>- Configuration: Hard to setup, requiring writing JSON for each new client &lt;&gt; server connection.<p>- Observability: No easy way to inspect (and modify) traffic flowing between clients and servers.<p>- Security: MCP is often vulnerable to remote code execution attacks and prompt injection attacks.<p>- Context Window Management: It&#x27;s very easy to load too many tools into the context window at which point the LLM can get confused.<p>We&#x27;re looking to solve these problems by building director. We&#x27;re starting with a simple local experience, but intend to add features like oAuth very soon that will allow you to run this in the cloud (or in a secure container).<p>Looking forward to hearing any feedback or ideas you have!