开源MCP工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/Opendray/opendray
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp--": {
"command": "npx",
"args": ["-y", "opendray"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具 执行以下任务... Claude: [自动调用 开源MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp__": {
"command": "npx",
"args": ["-y", "opendray"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <a href="https://opendray.dev"><img src="docs/assets/logo.png" alt="opendray" width="180"></a> </p>
<p align="center"> <strong>Self-hosted gateway for Claude Code · Codex · Gemini · shell — with one shared local-first memory layer across them.</strong> <br/> <sub>Run sessions on your own infra. Drive from web, mobile, or chat. Open REST + WebSocket API for integrations.</sub> </p>
<p align="center"> <strong><a href="https://opendray.dev">🌐 opendray.dev</a></strong> </p>
<p align="center"> <a href="https://opendray.dev"><img alt="Website" src="https://img.shields.io/badge/website-opendray.dev-F43F5E"></a> <a href="https://github.com/Opendray/opendray/releases/latest"><img alt="Latest release" src="https://img.shields.io/github/v/release/Opendray/opendray?label=release&color=4f46e5"></a> <a href="LICENSE"><img alt="License Apache 2.0" src="https://img.shields.io/github/license/Opendray/opendray?color=blue"></a> <a href="https://github.com/Opendray/opendray/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/Opendray/opendray/ci.yml?branch=main&label=CI"></a> <a href="https://github.com/Opendray/opendray/discussions"><img alt="Discussions" src="https://img.shields.io/github/discussions/Opendray/opendray?color=ec4899"></a> <br/> <img alt="Go" src="https://img.shields.io/badge/Go-1.25%2B-00ADD8?logo=go&logoColor=white"> <img alt="React" src="https://img.shields.io/badge/React-19-61DAFB?logo=react&logoColor=black"> <img alt="Flutter" src="https://img.shields.io/badge/Flutter-mobile-02569B?logo=flutter&logoColor=white"> <img alt="Postgres" src="https://img.shields.io/badge/PostgreSQL-15%2F16%2F17-336791?logo=postgresql&logoColor=white"> </p>
<p align="center"> 🌐 <strong>English</strong> · <a href="README.zh.md">简体中文</a> · <a href="README.fa.md">فارسی</a> · <a href="README.es.md">Español</a> · <a href="README.pt-BR.md">Português</a> · <a href="README.ja.md">日本語</a> · <a href="README.ko.md">한국어</a> · <a href="README.fr.md">Français</a> · <a href="README.de.md">Deutsch</a> · <a href="README.ru.md">Русский</a> </p>
---
Linux / macOS / WSL2
curl -fsSL https://raw.githubusercontent.com/Opendray/opendray/main/scripts/install.sh | bash
Windows — sets up WSL2 first, then runs the Linux installer inside it. details →
irm https://raw.githubusercontent.com/Opendray/opendray/main/scripts/install-windows.ps1 | iex
Walks through Postgres setup, AI-CLI install, admin credentials, and service registration — landing a running gateway in ~5–10 minutes. See scripts/README.md for what the wizard does, the file layout it creates, options, and troubleshooting.
Want the manual walkthrough? Read docs/getting-started.md — a 15-minute end-to-end guide that mirrors what the wizard does so you can verify each step yourself.
Default — stops the gateway and removes the binary, but keeps your config.toml, data directory (bcrypt keyfile, sessions, notes, vault), logs, and the PostgreSQL database so a re-install resumes where you left off:
curl -fsSL https://raw.githubusercontent.com/Opendray/opendray/main/scripts/uninstall.sh | bash
Full purge — also drops the PG database + role, deletes config / data / logs, removes the service user. Includes a post-delete verification step that bails loudly if anything survived:
curl -fsSL https://raw.githubusercontent.com/Opendray/opendray/main/scripts/uninstall.sh | OPENDRAY_PURGE=1 bash
Every supported path includes session spawn, AI-CLI access, encrypted backups, and the full integration API. opendray is a host-resident gateway — it spawns AI CLIs via PTYs and shares process state (~/.claude, ssh-agent, project files) with them. That model is incompatible with the container isolation that production Docker would impose, so Docker is not a supported deployment path for v2.x.
| Path | Best for | Jump to |
|---|---|---|
| 📦 **Pre-built binary** | "Just run it" — Linux / macOS, any supervisor | [Releases page](https://github.com/Opendray/opendray/releases) → see [Production deploy](#production-deploy) |
| 🐧 **systemd unit** | Bare-metal / VM / LXC Linux box | [Production deploy §A](#option-a--systemd-bare-metal--vm--lxc) |
| 🍎 **macOS LaunchDaemon** | Mac mini / Mac Studio as home server | [Production deploy §C](#option-c--macos-launchd-mac-mini--studio-as-home-server) |
| 🛠 **Build from source** | Dev / contributing / custom builds | [Quickstart](#quickstart-5-minute-dev-path) below |
cd app/web && pnpm install && pnpm build && cd ../..
Four supported deploy paths, pick whichever fits your environment. Each one gives you auto-restart on crash, persistent state, and separation of secrets from config.
sudo install -m 0755 /path/to/opendray /usr/local/bin/opendray
sudo cp deploy/systemd/opendray.service /etc/systemd/system/ sudo systemctl daemon-reload sudo systemctl enable --now opendray
goreleaser release --clean --snapshot ls dist/ # opendray_*_linux_amd64.tar.gz etc.
sudo install -m 0755 ./opendray /usr/local/bin/opendray sudo install -d -m 0755 \ /usr/local/etc/opendray \ /usr/local/var/lib/opendray \ /usr/local/var/log/opendray sudo install -m 0640 config.example.toml /usr/local/etc/opendray/config.toml sudo $EDITOR /usr/local/etc/opendray/config.toml # set [database].url etc.
sudo cp deploy/launchd/com.opendray.opendray.plist /Library/LaunchDaemons/ sudo chown root:wheel /Library/LaunchDaemons/com.opendray.opendray.plist sudo chmod 0644 /Library/LaunchDaemons/com.opendray.opendray.plist sudo launchctl bootstrap system /Library/LaunchDaemons/com.opendray.opendray.plist
For a full walkthrough with prereqs and troubleshooting, see docs/quickstart.md. The condensed dev path:
```bash
cp config.example.toml config.toml $EDITOR config.toml # set [database].url, [admin].password
The recommended Linux deploy path. Ships a hardened unit at deploy/systemd/opendray.service with sandboxing (ProtectSystem=strict, NoNewPrivileges, MemoryDenyWriteExecute, capability scrub), migrate-then-serve boot, and a 20s graceful-stop window.
Get a binary first. Either grab a pre-built archive from the Releases page (opendray_*_linux_<arch>.tar.gz — unpacks to a single opendray binary), or build from source via the Quickstart above (go build ./cmd/opendray).
```bash
sudo install -D -m 0640 config.example.toml /etc/opendray/config.toml sudo $EDITOR /etc/opendray/config.toml # set [database].url etc. sudo install -D -m 0640 -o root -g opendray /dev/null /etc/opendray/env.d/secrets sudo $EDITOR /etc/opendray/env.d/secrets # OPENDRAY_ADMIN_PASSWORD=…
For LXC without systemd, FreeBSD rc.d, OpenRC, or anything else. Build once, run with whatever supervisor you already use:
```bash
For Apple Silicon Mac mini / Mac Studio running 24/7. Ships a LaunchDaemon at deploy/launchd/com.opendray.opendray.plist that starts at boot before any user login, restarts on crash with a 5s throttle, and logs to /usr/local/var/log/opendray/.
```bash
```bash
export OPENDRAY_BACKUP_KEY="$(openssl rand -base64 32)" export OPENDRAY_BACKUP_ENABLED=1
cd app/web && pnpm dev # http://localhost:5173 go run ./cmd/opendray serve -config ../../config.toml # other terminal
高质量的AI代码生成工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,开源MCP工具 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | opendray |
| 原始描述 | 开源MCP工具:Self-hosted gateway that runs Claude Code · Codex · Gemini · shell sessions on y。⭐7 · Dart |
| Topics | ai-agentsai-codingclaude-codecodex-clidart |
| GitHub | https://github.com/Opendray/opendray |
| License | Apache-2.0 |
| 语言 | Dart |
收录时间:2026-05-31 · 更新时间:2026-06-01 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端