
suhail-ak-2/mcp-typesense-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIモデルを提供するモデルコンテキストプロトコル(MCP)サーバーの実装で、Typesense検索機能にアクセスできます.
概要
AIモデルを提供するモデルコンテキストプロトコル(MCP)サーバーの実装で、Typesense検索機能にアクセスできます。 このサーバーでは、LLM は、Typesense のコレクションに保存されたデータを発見、検索、分析することができます。 - 種別によるリストとアクセスコレクション URI - 各コレクションには、名前、説明、およびドキュメントのカウントがあります - スキーマアクセス用のJSON mimeタイプ - - 強力なフィルタリングでTypesenseコレクション内のドキュメントを検索 - 入力:クエリテキスト、コレクション名、検索フィールド、フィルタ、ソートオプション、制限 - 関連するスコアで一致する文書を返す - - - コレクションからIDによって特定の文書を取得する - 入力:コレクション名、ドキュメントID - 完全な文書データを返す - - Typesenseコレクションに関する統計情報を取得する - 入力:コレクション名 - コレクションメタデータ、ドキュメントカウント、スキーマ情報を返す - - 収集構造とコンテンツの分析 - 入力:コレクション名 - 出力:スキーマ、データの種類、統計に関する洞察 - - 取得...
概要(AI 翻訳)
お問い合わせ
AIモデルを提供するモデルコンテキストプロトコル(MCP)サーバーの実装で、Typesense検索機能にアクセスできます。 このサーバーでは、LLM は、Typesense のコレクションに保存されたデータを発見、検索、分析することができます。
デモ
##特徴
リソース
- [
typesense://によるリストとアクセスコレクション ログイン - 各コレクションには、名前、説明、および文書のカウントがあります。
- スキーマアクセス用のJSONマイムタイプ
ツール
-
typesense query
-
強力なフィルタリングでTypesenseコレクション内のドキュメントを検索
-
入力: クエリテキスト、コレクション名、検索フィールド、フィルタ、ソートオプション、制限
-
関連するスコアで一致する文書を返す
-
typesense get document
-
コレクションからIDで特定の文書を取得する
-
入力:コレクション名、文書ID
-
完全な文書データを返す
-
typesense collection stats
-
種類豊富なコレクションに関する統計を取得する
-
入力:コレクション名
-
コレクションメタデータ、ドキュメントカウント、およびスキーマ情報を返す
プロンプト
-
analyze collection
-
コレクションの構造と内容の分析
-
入力:コレクション名
-
出力:スキーマ、データ型、統計に関する洞察
-
search suggestions
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Typesense MCP Server
A Model Context Protocol (MCP) server implementation that provides AI models with access to Typesense search capabilities. This server enables LLMs to discover, search, and analyze data stored in Typesense collections.
Demo
Features
Resources
- List and access collections via
typesense://URIs - Each collection has a name, description, and document count
- JSON mime type for schema access
Tools
-
typesense_query
- Search for documents in Typesense collections with powerful filtering
- Input: Query text, collection name, search fields, filters, sort options, limit
- Returns matching documents with relevance scores
-
typesense_get_document
- Retrieve specific documents by ID from collections
- Input: Collection name, document ID
- Returns complete document data
-
typesense_collection_stats
- Get statistics about a Typesense collection
- Input: Collection name
- Returns collection metadata, document count, and schema information
Prompts
-
analyze_collection
- Analyze collection structure and contents
- Input: Collection name
- Output: Insights about schema, data types, and statistics
-
search_suggestions
- Get suggestions for effective search queries for a collection
- Input: Collection name
- Output: Recommended search strategies based on collection schema
Installation
Via npm
# Global installation
npm install -g typesense-mcp-server
# Local installation
npm install typesense-mcp-server
Via mcp-get
npx @michaellatman/mcp-get@latest install typesense-mcp-server
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation for Development
Using Claude Desktop
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"typesense": {
"command": "node",
"args": [
"~/typesense-mcp-server/dist/index.js",
"--host", "your-typesense-host",
"--port", "8108",
"--protocol", "http",
インストール
npx -y typesense-mcp-server --host your-typesense-host --port 8108 --protocol http --api-key your-api-key設定
{
"mcpServers": {
"typesense": {
"command": "node",
"args": [
"~/typesense-mcp-server/dist/index.js",
"--host", "your-typesense-host",
"--port", "8108",
"--protocol", "http",
"--api-key", "your-api-key"
]
},
}
}
