mcp-qdrant-server-with-qdrant-db
If you are the rightful owner of mcp-qdrant-server-with-qdrant-db and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project integrates Qdrant vector database with an MCP server to store and retrieve code snippets.
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 UI: http://localhost:6333/dashboard
- MCP Server: http://localhost:8000
- cursor λ± ai ide μ μ€μ μ, μλ json νμμΌλ‘ μΆκ° κ°λ₯
"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
λλ ν 리λ₯Ό μ£ΌκΈ°μ μΌλ‘ λ°±μ νμΈμ. - νλ‘λμ νκ²½μμλ μ μ ν 보μ μ€μ μ μΆκ°νμΈμ.