Onyx MCP 服务器
一个用于无缝集成 Onyx AI 知识库的模型上下文协议 (MCP) 服务器。
快速入门
-
克隆仓库: git clone https://github.com/lupuletic/onyx-mcp-server.git cd onyx-mcp-server
-
安装依赖: npm install
-
构建服务器: npm run build
-
配置环境变量: export ONYX_API_TOKEN="your-api-token-here" export ONYX_API_URL="http://localhost:8080/api"
-
启动服务器: npm start
配置客户端
在支持的客户端中,添加以下配置:
- 命令:node
- 参数:/path/to/onyx-mcp-server/build/index.js
- 环境变量:ONYX_API_TOKEN 和 ONYX_API_URL