Sponsored by Deepsite.site

MCP Server with Qdrant

Created By
ChangJunPark9 months ago
qdrant + mcp-qdrant-server
Content

MCP Server with Qdrant

이 프로젝트는 Qdrant 벡터 데이터베이스와 MCP(Model Control Protocol) 서버를 통합하여 코드 스니펫을 저장하고 검색할 수 있는 시스템입니다.

기능

  • 코드 스니펫 저장 및 관리
  • 자연어 기반 코드 검색
  • 시맨틱 검색을 통한 관련 코드 조회
  • SSE(Server-Sent Events) 전송 방식 지원

시스템 구성

  • Qdrant: 벡터 데이터베이스 서버 (포트: 6333, 6334)
  • MCP Server: 코드 스니펫 관리 서버 (포트: 8000)
  • 임베딩 모델: (default)sentence-transformers/all-MiniLM-L6-v2

MCP Tools

QDRANT MCP 서버는 다음과 같은 도구들을 제공합니다:

1. qdrant-store

  • 기능: Qdrant 데이터베이스에 정보를 저장
  • 입력:
    • information (string): 저장할 정보
    • metadata (JSON): 선택적 메타데이터
  • 반환: 저장 확인 메시지

2. qdrant-find

  • 기능: Qdrant 데이터베이스에서 관련 정보를 검색
  • 입력:
    • query (string): 검색에 사용할 쿼리
  • 반환: Qdrant 데이터베이스에 저장된 정보를 개별 메시지로 반환

시작하기

필수 조건

  • Docker
  • Docker Compose

설치 및 실행

1. 저장소 클론

git clone <repository-url>
cd <repository-name>

2. 서비스 시작

docker-compose up -d

3. 서비스 상태 확인

docker-compose ps

서비스 접근

    "qdrant": {
      "url": "http://localhost:8000/sse"
    },

환경 변수

Qdrant

  • RUST_LOG: 로깅 레벨 (기본값: info)

MCP Server

  • QDRANT_URL: Qdrant 서버 주소
  • COLLECTION_NAME: 컬렉션 이름
  • EMBEDDING_MODEL: 임베딩 모델
  • TOOL_STORE_DESCRIPTION: 저장 도구 설명
  • TOOL_FIND_DESCRIPTION: 검색 도구 설명

데이터 저장

데이터는 ./qdrant_storage 디렉토리에 영구적으로 저장됩니다.

서비스 관리

로그 확인

docker-compose logs -f

서비스 중지

docker-compose down

주의사항

  • 데이터 백업을 위해 qdrant_storage 디렉토리를 주기적으로 백업하세요.
  • 프로덕션 환경에서는 적절한 보안 설정을 추가하세요.
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
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.
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"
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
Playwright McpPlaywright MCP server
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
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.
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
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.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Amap Maps高德地图官方 MCP Server