Skip to content

【文章投稿】 在 Docker 沙箱中运行 MCP Server #6727

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Open
ccbikai opened this issue Apr 23, 2025 · 1 comment
Open

【文章投稿】 在 Docker 沙箱中运行 MCP Server #6727

ccbikai opened this issue Apr 23, 2025 · 1 comment
Labels

Comments

@ccbikai
Copy link

ccbikai commented Apr 23, 2025

直接在本地运行 npx 和 uvx 命令,有很大的供应链攻击风险。

利用 Docker 天然隔离的特性运行 MCP Server 可以大大减少任意文件读取风险,同时也可以扩展移动端 Chat 客户端的 MCP 调用能力。

https://miantiao.me/posts/guide-to-running-mcp-server-in-a-sandbox/

@Stanley-baby
Copy link

Stanley-baby commented Apr 23, 2025 via email

@ruanyf ruanyf added the weekly label Apr 24, 2025
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants