Skip to main content
Glama

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.json
  • Claude デスクトップ アプリ: ~/Library/Application Support/Claude/claude_desktop_config.json

構成

サーバーは環境変数を通じて構成する必要があります:

必要な環境変数

次のいずれかの方法で監視するディレクトリを指定する必要があります。

  • 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": [] }

特徴

  • リアルタイムのファイル監視とインデックス作成
  • ベクトル埋め込みを用いたセマンティック検索
  • 複数のファイル形式のサポート
  • 設定可能なチャンクサイズとオーバーラップ
  • ファイルのバックグラウンド処理
  • ファイルの変更と削除の自動処理

リポジトリ

GitHubリポジトリ

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

ディレクトリのリストを監視し、ディレクトリ内のすべてのマークダウン、HTML、テキスト ファイルをベクター ストアに自動的にインデックス付けしてコンテキストを強化する機能を備えた、非常にシンプルなベクター ストアです。

  1. インストールと使用方法
    1. 構成
      1. 必要な環境変数
      2. オプションの環境変数
    2. MCPツール
      1. 検索
      2. get\_stats
    3. 特徴
      1. リポジトリ

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          This server provides an interface for performing basic file system operations such as navigation, reading, writing, and file analysis, allowing users to manage directories and files efficiently.
          Last updated -
          3
          Python
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server providing vector database capabilities through Chroma, enabling semantic document search, metadata filtering, and document management with persistent storage.
          Last updated -
          17
          Python
          MIT License
          • Apple
          • Linux
        • A
          security
          F
          license
          A
          quality
          A TypeScript-based server that visualizes project directory structures in Markdown format, automatically documenting file contents with syntax highlighting and supporting customizable exclusion patterns.
          Last updated -
          1
          3
          2
          TypeScript
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A server that allows users to manage documents and perform Claude-powered searches using Needle through the Claude Desktop application.
          Last updated -
          7
          39
          Python
          MIT License
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/lishenxydlgzs/simple-files-vectorstore'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server