Simple Files Vector Store Server
@lishenxydlgzs/シンプルファイルベクターストア
ファイル全体にわたるセマンティック検索機能を提供するモデルコンテキストプロトコル(MCP)サーバーです。このサーバーは指定されたディレクトリを監視し、ファイル内容のベクトル埋め込みを作成することで、ドキュメント全体にわたるセマンティック検索を可能にします。
インストールと使用方法
MCP 設定ファイルに以下を追加します:
{
"mcpServers": {
"files-vectorstore": {
"command": "npx",
"args": [
"-y",
"@lishenxydlgzs/simple-files-vectorstore"
],
"env": {
"WATCH_DIRECTORIES": "/path/to/your/directories"
},
"disabled": false,
"autoApprove": []
}
}
}MCP 設定ファイルの場所:
VSCode Cline 拡張機能:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonClaude デスクトップ アプリ:
~/Library/Application Support/Claude/claude_desktop_config.json
Related MCP server: MCP Document Indexer
構成
サーバーは環境変数を通じて構成する必要があります:
必要な環境変数
次のいずれかの方法で監視するディレクトリを指定する必要があります。
WATCH_DIRECTORIES: 監視するディレクトリのコンマ区切りリストWATCH_CONFIG_FILE:watchList配列を含むJSON構成ファイルへのパス
WATCH_DIRECTORIES の使用例:
{
"mcpServers": {
"files-vectorstore": {
"command": "npx",
"args": [
"-y",
"@lishenxydlgzs/simple-files-vectorstore"
],
"env": {
"WATCH_DIRECTORIES": "/path/to/dir1,/path/to/dir2"
},
"disabled": false,
"autoApprove": []
}
}
}WATCH_CONFIG_FILE の使用例:
{
"mcpServers": {
"files-vectorstore": {
"command": "npx",
"args": [
"-y",
"@lishenxydlgzs/simple-files-vectorstore"
],
"env": {
"WATCH_CONFIG_FILE": "/path/to/watch-config.json"
},
"disabled": false,
"autoApprove": []
}
}
}ウォッチ構成ファイルの構造は次のようになります。
{
"watchList": [
"/path/to/dir1",
"/path/to/dir2",
"/path/to/specific/file.txt"
]
}オプションの環境変数
CHUNK_SIZE: 処理するテキストチャンクのサイズ(デフォルト: 1000)CHUNK_OVERLAP: チャンク間のオーバーラップ(デフォルト: 200)IGNORE_FILE: パターンに基づいてファイル/ディレクトリを除外するための .gitignore スタイルのファイルへのパス
すべてのオプションパラメータを含む例:
{
"mcpServers": {
"files-vectorstore": {
"command": "npx",
"args": [
"-y",
"@lishenxydlgzs/simple-files-vectorstore"
],
"env": {
"WATCH_DIRECTORIES": "/path/to/dir1,/path/to/dir2",
"CHUNK_SIZE": "2000",
"CHUNK_OVERLAP": "500",
"IGNORE_FILE": "/path/to/.gitignore"
},
"disabled": false,
"autoApprove": []
}
}
}MCPツール
このサーバーは、次の MCP ツールを提供します。
1. 検索
インデックス化されたファイル全体でセマンティック検索を実行します。
パラメータ:
query(必須): 検索クエリ文字列limit(オプション): 返される結果の最大数 (デフォルト: 5、最大: 20)
応答例:
[
{
"content": "matched text content",
"source": "/path/to/file",
"fileType": "markdown",
"score": 0.85
}
]2. get_stats
インデックス化されたファイルに関する統計を取得します。
パラメータ: なし
応答例:
{
"totalDocuments": 42,
"watchedDirectories": ["/path/to/docs"],
"processingFiles": []
}特徴
リアルタイムのファイル監視とインデックス作成
ベクトル埋め込みを用いたセマンティック検索
複数のファイル形式のサポート
設定可能なチャンクサイズとオーバーラップ
ファイルのバックグラウンド処理
ファイルの変更と削除の自動処理
リポジトリ
This server cannot be deployed
Maintenance
Related MCP Connectors
Ingest, manage, and retrieve documents for RAG-powered AI applications
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
Securely search and manage workspace context files for AI agents and teams.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides advanced document search and processing capabilities through vector stores, including PDF processing, semantic search, web search integration, and file operations. Enables users to create searchable document collections and retrieve relevant information using natural language queries.MIT
- AlicenseNot gradedqualityDmaintenanceEnables real-time indexing and semantic search of local documents (PDF, Word, text, Markdown, RTF) using vector embeddings and local LLMs. Monitors folders for changes and provides natural language search capabilities through Claude Desktop integration.21MIT
- AlicenseNot gradedqualityCmaintenanceProvides local vector database functionality using FAISS for document ingestion, semantic search, and Retrieval-Augmented Generation (RAG) applications with persistent storage and customizable embedding models.33MIT
- FlicenseBqualityDmaintenanceProvides intelligent retrieval capabilities for local files by scanning directories, generating vector indexes, and enabling semantic search through RAG (Retrieval Augmented Generation) with incremental indexing support.2-