Qdrant MCP Server
Acerca de este servidor
El servidor oficial de Qdrant MCP. Permite a los agentes de IA operar directamente la base de datos vectorial Qdrant: crear y buscar colecciones, insertar datos vectoriales y realizar búsqueda semántica — sin necesidad de peticiones API manuales.
Instalación
npx -y @qdrant/mcp-server-qdrantGuía oficial de instalación del README (en inglés)
Using uvx
When using uvx no specific installation is needed to directly run *mcp-server-qdrant*.
QDRANT_URL="http://localhost:6333" \
COLLECTION_NAME="my-collection" \
EMBEDDING_MODEL="sentence-transformers/all-MiniLM-L6-v2" \
uvx mcp-server-qdrantTransport Protocols
The server supports different transport protocols that can be specified using the --transport flag:
QDRANT_URL="http://localhost:6333" \
COLLECTION_NAME="my-collection" \
uvx mcp-server-qdrant --transport sseSupported transport protocols:
stdio(default): Standard input/output transport, might only be used by local MCP clientssse: Server-Sent Events transport, perfect for remote clientsstreamable-http: Streamable HTTP transport, perfect for remote clients, more recent than SSE
The default transport is stdio if not specified.
When SSE transport is used, the server will listen on the specified port and wait for incoming connections. The default
port is 8000, however it can be changed using the FASTMCP_SERVER_PORT environment variable.
QDRANT_URL="http://localhost:6333" \
COLLECTION_NAME="my-collection" \
FASTMCP_SERVER_PORT=1234 \
uvx mcp-server-qdrant --transport sseUsing Docker
A Dockerfile is available for building and running the MCP server:
# Build the container
docker build -t mcp-server-qdrant .
# Run the container
docker run -p 8000:8000 \
-e FASTMCP_SERVER_HOST="0.0.0.0" \
-e QDRANT_URL="http://your-qdrant-server:6333" \
-e QDRANT_API_KEY="your-api-key" \
-e COLLECTION_NAME="your-collection" \
mcp-server-qdrant> [!TIP]
> Please note that we set FASTMCP_SERVER_HOST="0.0.0.0" to make the server listen on all network interfaces. This is
> necessary when running the server in a Docker container.
Installing via Smithery
To install Qdrant MCP Server for Claude Desktop automatically via Smithery:
npx @smithery/cli install mcp-server-qdrant --client claudeManual configuration of Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your
claude_desktop_config.json:
{
"qdrant": {
"command": "uvx",
"args": ["mcp-server-qdrant"],
"env": {
"QDRANT_URL": "https://xyz-example.eu-central.aws.cloud.qdrant.io:6333",
"QDRANT_API_KEY": "your_api_key",
"COLLECTION_NAME": "your-collection-name",
"EMBEDDING_MODEL": "sentence-transformers/all-MiniLM-L6-v2"
}
}
}For local Qdrant mode:
{
"qdrant": {
"command": "uvx",
"args": ["mcp-server-qdrant"],
"env": {
"QDRANT_LOCAL_PATH": "/path/to/qdrant/database",
"COLLECTION_NAME": "your-collection-name",
"EMBEDDING_MODEL": "sentence-transformers/all-MiniLM-L6-v2"
}
}
}This MCP server will automatically create a collection with the specified name if it doesn't exist.
By default, the server will use the sentence-transformers/all-MiniLM-L6-v2 embedding model to encode memories.
For the time being, only FastEmbed models are supported.
Preguntas frecuentes
¿Qué puede hacer Qdrant MCP?
Permite a los agentes de IA operar directamente la base de datos vectorial Qdrant: crear y gestionar colecciones, insertar y actualizar datos vectoriales, realizar búsqueda de similitud semántica, y gestionar índices y filtros. Ideal para construir aplicaciones RAG (Generación Aumentada por Recuperación), búsqueda semántica y sistemas de recomendación.
¿Qdrant MCP necesita una instancia de Qdrant?
Sí, necesita una instancia de Qdrant en ejecución (ya sea despliegue local con Docker o Qdrant Cloud). El servidor MCP se conecta a través de la API cliente de Qdrant y requiere la URL de la instancia y la clave API (si aplica) configuradas.
¿Qdrant MCP es gratuito?
El servidor MCP en sí es de código abierto y gratuito (Apache 2.0). Qdrant ofrece una versión de código abierto (autoalojada, gratuita) y Qdrant Cloud (nivel gratuito disponible, facturación basada en uso más allá).