Endara 中继 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
Endara 中继 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Endara 中继 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/endara-ai/endara-relay
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"endara---": {
"command": "npx",
"args": ["-y", "endara-relay"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Endara 中继 执行以下任务... Claude: [自动调用 Endara 中继 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"endara___": {
"command": "npx",
"args": ["-y", "endara-relay"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
One endpoint for all your MCP servers. endara.ai
Aggregate local and cloud MCP servers behind a single endpoint. Add servers, manage OAuth, connect any AI client — all from one place.
Works with Claude Desktop, ChatGPT, Cursor, Windsurf, VS Code, Zed, Continue, and any MCP-compatible client.
---
```bash
git clone https://github.com/endara-ai/endara-relay.git
cd endara-relay
cargo build --release
The binary will be at target/release/endara-relay.
mkdir -p ~/.endara
cat > ~/.endara/config.toml << 'EOF'
[relay]
machine_name = "my-laptop"
[[endpoints]]
name = "filesystem"
transport = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/Users/me/projects"]
[[endpoints]]
name = "github"
transport = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-github"]
env = { GITHUB_TOKEN = "$GITHUB_TOKEN" }
EOF
The config file is TOML. Here's a complete reference:
```toml [relay] machine_name = "my-laptop" # Required — identifies this machine local_js_execution = true # Optional — enable JS execution mode (default: false) toon_output = true # Optional — convert JSON tool responses to TOON (default: true)
Environment variables in env maps are resolved at startup:
| Syntax | Behavior |
|---|---|
$VAR | Replaced with the value of VAR from the process environment |
$$VAR | Literal string $VAR (escape with double $) |
plain | Kept as-is |
Relay watches your config file for changes using the notify crate. When you save the file, Relay automatically:
No restart required.
[[endpoints]] name = "github" # Required — unique name, used as tool prefix transport = "stdio" # Required — "stdio", "sse", or "http" command = "npx" # Required for stdio — command to run args = ["-y", "@modelcontextprotocol/server-github"] # Optional — command arguments env = { GITHUB_TOKEN = "$GITHUB_TOKEN" } # Optional — environment variables
[[endpoints]] name = "remote-server" transport = "sse" url = "http://localhost:3001/sse" # Required for sse/http — server URL
[[endpoints]] name = "http-server" transport = "http" url = "http://localhost:4000/mcp" # Required for sse/http — server URL
Relay exposes a management REST API for monitoring and control. The API is reachable only through an OS-local Unix-domain socket (Linux/macOS) or Named Pipe (Windows) created per-user with 0600 permissions; it is not bound to TCP.
| Platform | Path |
|---|---|
| Linux | $XDG_RUNTIME_DIR/endara-relay/api.sock (fallback: <data-dir>/api.sock) |
| macOS | $TMPDIR/endara-relay-<uid>/api.sock |
| Windows | \\.\pipe\endara-relay-<session-id> |
| Method | Endpoint | Description |
|---|---|---|
GET | /api/status | Relay status, uptime, endpoint/health counts |
GET | /api/endpoints | List all endpoints with health and transport info |
GET | /api/endpoints/:name/tools | List tools for a specific endpoint |
GET | /api/endpoints/:name/logs | View stderr logs for a STDIO endpoint |
POST | /api/endpoints/:name/restart | Restart a specific endpoint |
POST | /api/endpoints/:name/refresh | Re-fetch the tool catalog for an endpoint |
GET | /api/config | View current config (env values redacted) |
POST | /api/config/reload | Trigger a config reload |
Example (Linux/macOS):
curl --unix-socket "$XDG_RUNTIME_DIR/endara-relay/api.sock" http://localhost/api/status
---
cargo test --all-targets ```
---
Endara Relay 是一个强大的 MCP 聚合网关,旨在为您的所有 MCP 服务器提供统一的访问端点。通过 Endara Relay,您可以将本地运行的服务器与云端 MCP 服务器整合在一起,实现集中化管理。无论是添加新服务器、管理 OAuth 认证,还是连接各种 AI Client,都可以在一个统一的入口处轻松完成,极大地简化了 AI Agent 与工具集之间的交互流程。
Endara Relay 提供了一站式的 MCP 管理体验。它支持将多种类型的 MCP 服务器进行聚合,通过单一端点对外暴露服务。其核心功能包括对本地和远程服务器的统一调度、便捷的 OAuth 身份验证管理,以及对各类 AI Client 的广泛兼容性,帮助开发者构建更强大的 AI 工具生态系统。
在开始使用 Endara Relay 之前,请确保您的开发环境已安装 Rust 编译工具链(需为 stable 版本,且支持 2021 edition)。该项目支持 macOS、Linux 以及 Windows 等主流操作系统,请根据您的系统环境提前配置好 Rust 运行环境。
您可以通过源码编译的方式进行安装。首先,使用 git 克隆 Endara Relay 的官方仓库:`git clone https://github.com/endara-ai/endara-relay.git`。进入项目目录后,执行 `cargo build --release` 命令进行构建。构建完成后,编译生成的二进制文件将位于 `target/release/endara-relay` 路径下,您可以直接运行该文件。
快速上手指南:首先,您需要在本地创建配置文件目录 `~/.endara`,并编写 `config.toml` 文件。在配置文件中,您可以定义不同的 endpoints,包括通过 stdio 模式运行的本地命令(如 npx 启动的 filesystem 服务)或远程服务。配置完成后,启动 Endara Relay 即可通过统一的接口调用这些集成的 MCP 工具。
Endara Relay 使用 TOML 格式进行配置。配置文件中 `[relay]` 部分用于定义机器名称 `machine_name` 等全局参数;`[[endpoints]]` 部分用于定义具体的 MCP 服务。您可以根据需要配置不同的 `transport` 模式,包括 `stdio`(用于启动本地子进程)、`sse`(连接 Server-Sent Events 服务)或 `http`(通过 JSON-RPC over HTTP 连接)。此外,还支持通过 `env` 参数传递环境变量(如 GITHUB_TOKEN)。
Endara Relay 支持多种通信协议以适配不同的 MCP 服务:1. STDIO 模式:通过指定 `command` 和 `args` 启动子进程,适用于本地工具;2. SSE 模式:通过 `url` 连接到远程的 Server-Sent Events MCP 服务器;3. HTTP 模式:通过 JSON-RPC 协议与远程 HTTP 服务器进行交互。开发者可以根据服务端类型灵活选择合适的传输方式。
项目内置了完善的测试工作流。开发者可以通过执行 `cargo test --all-targets` 命令来运行所有的单元测试与集成测试,确保 Endara Relay 在不同模块和集成场景下的稳定性与可靠性。
高质量的MCP工具,值得使用
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,Endara 中继 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | endara-relay |
| 原始描述 | 开源MCP工具:Endara Relay — MCP server aggregator. Connects multiple MCP servers behind a sin。⭐8 · Rust |
| Topics | mcprustserver |
| GitHub | https://github.com/endara-ai/endara-relay |
| License | Apache-2.0 |
| 语言 | Rust |
收录时间:2026-05-30 · 更新时间:2026-05-31 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端