Show HN: Director – 本地优先、开源的 MCP 网关
8 分•作者: bwm•7 个月前
大家好,我们是 Director 的 Barnaby 和 Tom(网址:<https://director.run>)。Director 是一个完全开源、本地优先的 MCP 网关,让你能在 30 秒内将 Claude、Cursor 或 VSCode 连接到任何 MCP 服务器。
演示:<https://www.youtube.com/watch?v=Fj4mGLp-aSk>
网站:<https://director.run>
代码库:<https://github.com/director-run/director>
MCP 是一项很有前景的技术,但仍处于早期阶段,存在许多(众所周知的)问题:
* 配置:设置复杂,需要为每个新的客户端 <> 服务器连接编写 JSON。
* 可观测性:无法轻松检查(和修改)客户端和服务器之间的流量。
* 安全性:MCP 经常容易受到远程代码执行攻击和提示注入攻击。
* 上下文窗口管理:很容易在上下文窗口中加载过多的工具,导致 LLM 混淆。
我们希望通过构建 Director 来解决这些问题。我们从简单的本地体验开始,但很快就会添加 OAuth 等功能,让你可以在云端(或安全容器中)运行它。
期待听到你的任何反馈或想法!
查看原文
Hey HN. we’re Barnaby and Tom from Director (<a href="https://director.run" rel="nofollow">https://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://www.youtube.com/watch?v=Fj4mGLp-aSk" rel="nofollow">https://www.youtube.com/watch?v=Fj4mGLp-aSk</a><p>Website: <a href="https://director.run" rel="nofollow">https://director.run</a><p>Repository: <a href="https://github.com/director-run/director">https://github.com/director-run/director</a><p>MCP is a promising technology, but it's still early and there are lot's of (well known) problems:<p>- Configuration: Hard to setup, requiring writing JSON for each new client <> 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's very easy to load too many tools into the context window at which point the LLM can get confused.<p>We're looking to solve these problems by building director. We'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!