Sponsored by Deepsite.site

qdrant-mcp-local

Created By
hirokita1178 months ago
ローカル環境でQdrantとMCP-server-qdrantを簡単に立ち上げるためのDocker Compose設定
Content

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のライセンスに準拠します。

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
ChatWiseThe second fastest AI chatbot™
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs