mcpField
Q
qdrant-mcp-local

qdrant-mcp-local

Local
github.com/hirokita117Databases1Updated 81w ago

About qdrant-mcp-local

qdrant-mcp-local is a Docker Compose setup for running Qdrant and MCP-server-qdrant locally. It is intended for users who want a local vector database and its MCP server, with Qdrant data persisted in a local directory.

Key features

  1. 01Docker Compose setup
  2. 02Runs Qdrant and MCP-server-qdrant
  3. 03Persistent data in ./data
  4. 04Configurable environment variables
  5. 05Debug script and container logs

Use cases

  1. 01Start a local Qdrant-backed MCP environment
  2. 02Keep vector database data across container stops
  3. 03Change service ports to avoid conflicts

MCP support

Runs MCP-server-qdrant alongside Qdrant and exposes an MCP SSE endpoint at http://localhost:8000/sse for compatible clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"qdrant-mcp-local": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"compose"
]
}
}
}
Run commanddocker run -i --rm compose

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocicompose

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

qdrant-mcp-local

ローカル環境でQdrantとMCP-server-qdrantを簡単に立ち上げるためのDocker Compose設定です。

概要

このリポジトリは以下のコンポーネントを含んでいます:

  1. Qdrant - ベクトル検索エンジン
  2. MCP-server-qdrant - Model Context Protocol (MCP)サーバー。Qdrantベクトルデータベースとの連携をサポートします。

セットアップ方法

前提条件
  • Docker
  • Docker Compose V2 (現在のDockerには通常組み込まれています)
使用方法
  1. リポジトリをクローンします:
git clone https://github.com/hirokita117/qdrant-mcp-local.git
cd qdrant-mcp-local
  1. データ保存用のディレクトリを作成します:
mkdir -p data
  1. Docker Composeを使って環境を起動します(初回はビルドに少し時間がかかります):
docker compose up -d

これにより以下のサービスが起動します:

  1. 環境を停止するには:
docker compose down

Qdrantのデータは./dataディレクトリに保存されるため、コンテナを停止しても情報は保持されます。

設定のカスタマイズ

.envファイルを編集することで、環境変数を変更できます。

トラブルシューティング

コンテナが起動しない場合
  1. デバッグスクリプトを実行:
chmod +x debug.sh
./debug.sh

このスクリプトにより、環境の詳細情報とエラーの詳細が表示されます。

  1. 手動でログを確認:
docker compose logs mcp-server
  1. コンテナ再構築:

環境を完全に再構築するには:

docker compose down
docker compose build --no-cache
docker compose up -d
  1. 一般的な問題と解決策:
  • ポート競合: 6333または8000ポートが既に使用されている場合は、.envファイルで別のポートを指定してください。
  • ディスク容量: Docker用のディスク容量が不足していないか確認してください。
  • Dockerデーモン: Dockerデーモンが正常に動作しているか確認してください。

詳細なトラブルシューティングについては、docs/USAGE.mdを参照してください。

使用例

MCPサーバーのエンドポイント
  • MCP SSEエンドポイント: http://localhost:8000/sse
Claude Desktopでの設定例

Claude Desktopで使用する場合、claude_desktop_config.jsonに以下を追加します:

{
  "mcpServers": {
    "qdrant": {
      "command": "curl",
      "args": ["-N", "http://localhost:8000/sse"],
      "transport": "sse"
    }
  }
}
Cursorでの設定例

Cursorで使用する場合、MCPサーバー設定で以下のURLを指定します:

http://localhost:8000/sse

ライセンス

このプロジェクトは元のQdrantとMCP-server-qdrantのライセンスに準拠します。

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.