Qdrant MCP Server

by hadv

371 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server implementation for RAG

Details

Author
hadv
Downloads
371
Categories
Database, Knowledge Base

- Supports both Qdrant and Chroma vector databases
- Uses Qdrant's built-in FastEmbed for embedding generation
- Domain knowledge storage and retrieval via API
- Documentation file storage with metadata (PDF and TXT)
- Configurable database selection via environment variables
- Cursor and Claude Desktop integration support

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Qdrant MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies, create a .env file with your database type, URL, API key, and collection name, then build and start the server with npm start. Use the API endpoints /api/store and /api/query for domain knowledge, or run npm run store-doc <file-path> to store documentation files.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "qdrant mcp server": {
            "vito-mcp": {
                "command": "node",
                "args": [
                    "dist/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "vito-mcp": {
        "command": "node",
        "args": [
            "dist/index.js"
        ]
    }
}

Qdrant MCP Server

A server implementation that supports both Qdrant and Chroma vector databases for storing and retrieving domain knowledge.

Features

- Support for both Qdrant and Chroma vector databases
- Configurable database selection via environment variables
- Uses Qdrant's built-in FastEmbed for efficient embedding generation
- Domain knowledge storage and retrieval
- Documentation file storage with metadata
- Support for PDF and TXT file formats

Prerequisites

- Node.js 20.x or later (LTS recommended)
- npm 10.x or later
- Qdrant or Chroma vector database

Installation

1. Clone the repository:

git clone <repository-url>
cd qdrant-mcp-server

2. Install dependencies:

npm install

3. Create a .env file in the root directory based on the .env.example template:

cp .env.example .env

4. Update the .env file with your own settings:

DATABASE_TYPE=qdrant
QDRANT_URL=https://your-qdrant-instance.example.com:6333
QDRANT_API_KEY=your_api_key
COLLECTION_NAME=your_collection_name

5. Build the project:

npm run build

AI IDE Integration

Cursor AI IDE

Create the script run-cursor-mcp.sh in the project root:

```bash
#!/bin/zsh
cd /path/to/your/project
source ~/.zshrc
nvm use --lts

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.