qdrant-mcp
qdrant-mcp
MCP-Server für die Dokumentenaufnahme und semantische Suche in Qdrant.
Übersicht
qdrant-mcp bietet Werkzeuge für folgende Aufgaben:
Einlesen lokaler Dokumente in eine Qdrant-Collection
Generieren von Embeddings mit OpenAI
Ausführen von Vektorsuchen mit optionalen Metadatenfiltern
Related MCP server: mcp-server-qdrant
Funktionen
ingest_documentskonvertiert Dateien wie
docx,pptxundpdfmittels MarkItDown in Markdownunterteilt Inhalte in Chunks unter Verwendung von
chunk_sizeundoverlap_ratiobettet Chunks mit OpenAI Embeddings ein (standardmäßig
text-embedding-3-small)speichert Chunk-Text und Metadaten in Qdrant
search_documentsbettet Abfragetext mit derselben Embeddings-API ein
ruft die besten
kTreffer aus Qdrant abunterstützt das Filtern nach
categoryundpath
Anforderungen
Python 3.11+
uvQdrant (zum Beispiel
http://localhost:6333)OPENAI_API_KEY
Einrichtung
uv syncAusführung innerhalb der Codex CLI
[mcp_servers.qdrant-mcp]
command = "uv"
args = ["run", "qdrant-mcp"]
cwd = "/sandbox/qdrant-mcp"
env = {
OPENAI_API_KEY = "sk-...",
QDRANT_URL = "http://127.0.0.1:6333",
QDRANT_API_KEY = "QDRANT_API_KEY",
QDRANT_COLLECTION = "codex_collection",
CHUNK_HEADER_MODEL = "gpt-5.4-mini"
}Testen
Setzen Sie OPENAI_API_KEY, QDRANT_URL und QDRANT_API_KEY in .env und führen Sie dann Folgendes aus:
uv run python -m unittest tests/integration/test_qdrant_integration.pyMCP-Werkzeuge
ingest_documents
Parameter:
paths: list[str]category: strchunk_size: int = 1200overlap_ratio: float = 0.15embedding_model: str = "text-embedding-3-small"chunk_header_mode: Literal["enabled", "disabled"] = "enabled"
Rückgabewerte:
collectionembedding_modelingested_filesingested_pointsfailed_files
search_documents
Parameter:
query: strtop_k: int = 5category: str | None = Nonepath: str | None = Noneembedding_model: str = "text-embedding-3-small"
Rückgabewerte:
collectionembedding_modelquerycountresults(score,path,category,chunk_index,text)
delete_documents_by_path
Parameter:
path: strcategory: str | None = None
Rückgabewerte:
collectionpathcategorystatusoperation_id
list_category
Parameter:
limit: int = 100
Rückgabewerte:
collectioncountcategories
list_path
Parameter:
category: strlimit: int = 1000
Rückgabewerte:
collectioncategorycountpaths
Hinweise
Wenn die Ziel-Collection nicht existiert, wird sie bei der ersten Aufnahme automatisch erstellt.
Wenn Payload-Indizes für
categoryundpathnicht existieren, werden sie während der Aufnahme erstellt.Standardmäßig stellt die Aufnahme jedem Chunk einen generierten
Chunk-Header(max. 64 Zeichen) voran, der aus den ersten 4096 Bytes abgeleitet wird.Das Chunk-Header-Modell wird aus
CHUNK_HEADER_MODELgelesen, wennchunk_header_modeaufenabledgesetzt ist (Standard:gpt-5.4-mini).Der Name der Collection wird ausschließlich über
QDRANT_COLLECTIONkonfiguriert (nicht über MCP-Werkzeugparameter).Bei
text-embedding-3-smallbeträgt die Vektorgröße1536.
Lizenz
Siehe LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceLocal-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.39MIT
- Alicense-qualityCmaintenanceMCP server for Qdrant vector database with local BERT embeddings. Enables semantic search and vector storage operations through natural language.MIT
- Alicense-qualityDmaintenanceMCP server that searches documents in Qdrant using embeddings from LMStudio. Takes a text query, converts it to a vector via LMStudio's OpenAI-compatible API, and performs semantic search in Qdrant.13ISC
- Flicense-qualityCmaintenanceMCP server for retrieving answers from local PDFs using RAG with FAISS and OpenAI.
Related MCP Connectors
Remote ChromaDB vector database MCP server with streamable HTTP transport
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/msstnk/qdrant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server