支援平台
目前支援以下平台的二進位部署:Linux AMD64
適用於 x86_64 架構 Linux 系統
Linux ARM64
適用於 ARM64 架構 Linux 系統
部署步驟
1
建立目錄並下載設定檔
2
調整 macOS PID 檔案路徑
macOS 下
/var/run/mcp-gateway.pid 可能無法寫入,因此須調整儲存路徑。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用二進位檔部署 MCP 閘道
建立目錄並下載設定檔
mkdir -p unla/{configs,data}
cd unla/
curl -sL https://raw.githubusercontent.com/amoylab/unla/refs/heads/main/configs/apiserver.yaml -o configs/apiserver.yaml
curl -sL https://raw.githubusercontent.com/amoylab/unla/refs/heads/main/configs/mcp-gateway.yaml -o configs/mcp-gateway.yaml
curl -sL https://raw.githubusercontent.com/amoylab/unla/refs/heads/main/.env.example -o .env
調整 macOS PID 檔案路徑
/var/run/mcp-gateway.pid 可能無法寫入,因此須調整儲存路徑。sed -i 's|/var/run/mcp-gateway.pid|./data/mcp-gateway.pid|g' .env