
lupuletic/onyx-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Onyx AIナレッジベースとシームレスな統合を実現するモデルコンテキストプロトコル(MCP)サーバー.
概要
Onyx AIナレッジベースとシームレスな統合を実現するモデルコンテキストプロトコル(MCP)サーバー。 この MCP サーバーは、MCP 互換のクライアントを Onyx のナレッジベースに接続し、ドキュメントから関連したコンテキストを検索および取得できます。 MCP クライアントと Onyx API 間でブリッジを提供し、強力なセマンティック検索とチャット機能を実現します。 - : Onyx ドキュメントセットを LLM の関連フィルタリングでセマンティック検索 - : より優れたコンテキストのためのマッチングチャンクの前後にチャンクを取得します。 - : チャンクの代わりにドキュメント全体を取得するオプション - : 包括的な回答のための LLM + RAG と Onyx の強力なチャット API を使用する - : より関連する結果のための特定のドキュメントセットをターゲット Onyx MCP Server を Claude Desktop にインストールするには、Smithery 経由で自動的にインストールします。 - Node.js (v16 以上) - API アクセスのOnyxインスタンス - Onyx APIトークン ~/Library/Application Support/Claude/claude desktop config に追加します.
概要(AI 翻訳)
Onyx AIナレッジベースとのシームレスな統合のためのモデルコンテキストプロトコル(MCP)サーバー。
この MCP サーバーは、MCP 互換のクライアントを Onyx のナレッジベースに接続し、ドキュメントから関連したコンテキストを検索および取得できます。 MCP クライアントと Onyx API 間でブリッジを提供し、強力なセマンティック検索とチャット機能を実現します。
##特徴
-Enhanced Search:LLM関連フィルタリングによるOnyx文書セットのSemantic検索 -Context Window Retrieval: 一致するチャンクを上回って下回ってより良いコンテキストを得る
- 完全な文書Retrieval:チャンクの代わりに文書全体を取得するオプション
- チャットインテグレーション:包括的な回答のために、LLM + RAGでOnyxの強力なチャットAPIを使用する
- 構成可能な文書セットのフィルタリング: より関連性の高い結果のための特定の文書セットをターゲット
インストール
##Smitheryでインストールする
Onyx MCP Server を Claude Desktop にインストールするには、Smithery 経由で自動的にインストールします。
前提条件
- Node.js(v16以上)
- APIアクセスでOnyxインスタンス
- Onyx APIトークン
セットアップ
-
リポジトリのクローン化:
-
依存関係を取付けて下さい:
-
サーバの構築:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Onyx MCP Server
A Model Context Protocol (MCP) server for seamless integration with Onyx AI knowledge bases.
This MCP server connects any MCP-compatible client to your Onyx knowledge base, allowing you to search and retrieve relevant context from your documents. It provides a bridge between MCP clients and the Onyx API, enabling powerful semantic search and chat capabilities.
Features
- Enhanced Search: Semantic search across your Onyx document sets with LLM relevance filtering
- Context Window Retrieval: Retrieve chunks above and below the matching chunk for better context
- Full Document Retrieval: Option to retrieve entire documents instead of just chunks
- Chat Integration: Use Onyx’s powerful chat API with LLM + RAG for comprehensive answers
- Configurable Document Set Filtering: Target specific document sets for more relevant results
Installation
Installing via Smithery
To install Onyx MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @lupuletic/onyx-mcp-server --client claude
Prerequisites
- Node.js (v16 or higher)
- An Onyx instance with API access
- An Onyx API token
Setup
-
Clone the repository:
git clone https://github.com/lupuletic/onyx-mcp-server.git cd onyx-mcp-server -
Install dependencies:
npm install -
Build the server:
npm run build -
Configure your Onyx API Token:
export ONYX_API_TOKEN="your-api-token-here" export ONYX_API_URL="http://localhost:8080/api" # Adjust as needed -
Start the server:
npm start
Configuring MCP Clients
For Claude Desktop App
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"onyx-search": {
"command": "node",
"args": ["/path/to/onyx-mcp-server/build/index.js"],
"env": {
"ONYX_API_TOKEN": "your-api-token-here",
"ONYX_API_URL": "http://localhost:8080/api"
},
インストール
npx -y @smithery/cli install @lupuletic/onyx-mcp-server --client claude設定
{
"mcpServers": {
"onyx-search": {
"command": "node",
"args": ["/path/to/onyx-mcp-server/build/index.js"],
"env": {
"ONYX_API_TOKEN": "your-api-token-here",
"ONYX_API_URL": "http://localhost:8080/api"
},
"disabled": false,
"alwaysAllow": []
}
}
}