经 AI Skill Hub 精选评估,MCP服务器 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/weverkley/qdrant-mcp-server
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp---": {
"command": "npx",
"args": ["-y", "qdrant-mcp-server"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP服务器 执行以下任务... Claude: [自动调用 MCP服务器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp___": {
"command": "npx",
"args": ["-y", "qdrant-mcp-server"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
A high-performance Model Context Protocol (MCP) server written in Go that acts as a real-time Retrieval-Augmented Generation (RAG) agent for your codebases.
This server recursively monitors your local files, auto-indexes changes in real-time using Ollama embeddings, stores them in a remote/local Qdrant vector database, and exposes a semantic vector search tool (qdrant_search) to your AI assistants (like Claude Desktop, Cursor, Windsurf, or Zed).
---
start_line/end_line) for deep semantic code searching. Covers a broad set of grammar variants per language — including arrow functions, interface/type-alias/enum declarations (TypeScript), record/enum types (C#), interface/trait declarations (PHP), and file-scoped namespaces (C# 10+). Previously parsed trees are cached per file so re-indexing on save only re-parses changed AST branches (incremental tree reuse).sync.WaitGroup while preventing Ollama server overload via a configurable buffered semaphore pool (MAX_EMBEDDING_WORKERS).fsnotify) to watch your code workspace recursively. Any write, create, or delete operation immediately reflects in your vector database..gitignore files recursively across the workspace, skipping untracked files and folders (like build artifacts or node modules) instantly during crawling and watch events. Also includes fallback configuration parameters to strictly exclude additional folders or whitelist particular hidden directories./api/embeddings) for localized, high-speed, and secure code representation.stderr so that stdout is strictly reserved for clean JSON-RPC communication.---
If you simply want to install the pre-compiled binary on your client machine (supports Linux, macOS, and Windows/WSL), you can run the following command directly:
curl -fsSL https://raw.githubusercontent.com/weverkley/qdrant-mcp-server/main/install.sh | sh
To install a specific version, pass the VERSION environment variable:
curl -fsSL https://raw.githubusercontent.com/weverkley/qdrant-mcp-server/main/install.sh | VERSION=v1.0.0 sh
[!TIP] Automated PATH Setup: If the installer does not have write permissions to/usr/local/bin, it will fallback to installing in~/.local/binand automatically append the path export to your shell configuration profile (~/.bashrc,~/.zshrc,~/.profile, or~/.bash_profile) so the CLI is immediately available after terminal restart.
---
go build -ldflags="-s -w" -o ~/bin/qdrant-mcp-server main.go
Alternatively, you can build directly to your working directory:bash go build -o qdrant-mcp-server main.go ```
---
To help your AI agent (like Cursor, Windsurf, Cline, or Copilot) understand when and how to use the semantic search capabilities, you can install specialized skills (rules files) directly into your workspace.
Run the compiled server binary with the list-skills and install-skill subcommands:
Install the rules directly in your active project's root folder: ```bash
./qdrant-mcp-server install-skill cursor
./qdrant-mcp-server install-skill cline
./qdrant-mcp-server install-skill copilot
./qdrant-mcp-server install-skill codex
./qdrant-mcp-server install-skill all
You can also specify a custom target path as the last parameter:bash ./qdrant-mcp-server install-skill cursor /absolute/path/to/my-project ```
---
Many developers maintain local documentation, architecture guidelines, team handbooks, or a personal knowledge base inside their repository or workspace using folders like .codex or .obsidian.
By default, the server ignores all hidden directories (those starting with a .) to prevent performance bottlenecks. You can explicitly instruct the server to monitor, index, and query your Codex notes by adding .codex or .obsidian to the INCLUDE_HIDDEN_DIRS environment variable.
Simply append your documentation directory to the INCLUDE_HIDDEN_DIRS variable in your MCP configuration:
"env": {
"WATCH_DIRECTORY": "/home/user/Workspace/my-project",
"INCLUDE_HIDDEN_DIRS": ".codex,.obsidian",
"QDRANT_COLLECTION": "my-project-vectors",
"OLLAMA_HOST": "http://127.0.0.1:11434",
"EMBEDDING_MODEL": "nomic-embed-text"
}
The server relies on the following environment variables for its configuration:
| Variable | Description | Default | Required |
|---|---|---|---|
QDRANT_HOST | IP address or hostname of your Qdrant instance. | 172.20.0.5 | No |
QDRANT_PORT | The port of your Qdrant gRPC endpoint. | 6334 | No |
QDRANT_COLLECTION | The Qdrant collection name to store the codebase vectors. | — | **Yes** |
WATCH_DIRECTORY | The absolute path to the directory you want to watch and index. | — | **Yes** |
OLLAMA_HOST | The base URL of your Ollama endpoint. | — | **Yes** |
EMBEDDING_MODEL | The Ollama embedding model name (e.g., nomic-embed-text, all-minilm). | — | **Yes** |
EXCLUDE_DIRS | Comma-separated directory names to ignore (e.g., node_modules,vendor,dist). | "" | No |
INCLUDE_HIDDEN_DIRS | Comma-separated hidden folder names to explicitly watch (e.g., .github,.cursor). | "" | No |
PARSER_MODE | Parsing mode: code (only AST), doc (only documents), or full (both). | full | No |
MAX_EMBEDDING_WORKERS | Max concurrent worker threads doing Ollama embeddings. | 5 | No |
BATCH_SIZE | Batch size for vector upserts. | 100 | No |
BATCH_TIMEOUT | Batch timeout for vector upserts (e.g. 200ms, 1s). | 200ms | No |
LOG_TO_FILE | Enable logging to .qdrant-mcp-server/qdrant-mcp-server.log physical file. When enabled, concise ingestion progress (X/Y files) is printed to the console instead. | false | No |
SEARCH_MODE | Vector search mode: dense (pure semantic), sparse (precise keyword), or hybrid (dense + sparse combined using Reciprocal Rank Fusion RRF). | dense | No |
EXCLUDE_EXTENSIONS | Comma-separated file extensions to skip during indexing (e.g. .sql,.lock,.sum). | .sql | No |
MAX_FILE_SIZE_BYTES | Maximum file size in bytes to index. Files larger than this are skipped. | 1048576 (1 MB) | No |
---
When running CLI subcommands (like ingest), the server automatically looks up your existing agent environment variables by searching upwards from the current working directory for configuration files: - .mcp.json / mcp.json - .claude/settings.local.json - .codex/config.toml / config.toml
It also checks your user-level Claude settings file: - ~/.claude/settings.json
If it finds one of these configurations, it automatically parses it and loads the configured environment variables (like QDRANT_COLLECTION, WATCH_DIRECTORY, OLLAMA_HOST, and EMBEDDING_MODEL) into the active session. This means you can run manual ingestions inside your project folder with zero manual configuration!
```bash
The qdrant-mcp-server binary itself is a highly functional command-line tool. While it is designed to run automatically as a background process via your AI editor, you can also run manual operations—like bulk codebase ingestion—directly from your shell.
This is especially helpful when indexing extremely large codebases for the first time, as doing it in the background can sometimes feel slow or resource-intensive.
If you want to run the tool standalone, or override specific variables on the fly, you can pass command-line arguments (parameters):
```bash
--collection, -c <name>: Qdrant collection name (QDRANT_COLLECTION)--watch-dir, -w <path>: Directory to watch/index (WATCH_DIRECTORY)--ollama, -o <url>: Ollama API URL (OLLAMA_HOST)--embedding, -e <model>: Ollama embedding model (EMBEDDING_MODEL)--qdrant-host, -qh <host>: Qdrant gRPC host (QDRANT_HOST)--qdrant-port, -qp <port>: Qdrant gRPC port (QDRANT_PORT)--exclude-dirs, -xd <list>: Comma-separated directory names to ignore (EXCLUDE_DIRS)--include-hidden-dirs, -ihd <list>: Comma-separated hidden directories to watch (INCLUDE_HIDDEN_DIRS)--parser-mode, -pm <mode>: Parsing mode: code, doc, or full (PARSER_MODE)--max-workers, -mw <number>: Max concurrent embedding workers (MAX_EMBEDDING_WORKERS)BATCH_SIZE, default: 100)BATCH_TIMEOUT, default: 200ms)LOG_TO_FILE, default: false, saved to .qdrant-mcp-server/qdrant-mcp-server.log)dense, sparse, or hybrid (SEARCH_MODE, default: dense)---
#### [1] Function: ValidateCustomClaims in /home/user/Workspace/my-project/auth/middleware.go (Lines 12-32) (Match Score: 0.92 | Last Synced: 2026-05-23 09:28:10)
func ValidateCustomClaims(tokenString string) (*Claims, error) {
// ...
}
#### [2] Doc Chunk (Page/Section 3) in /home/user/Workspace/my-project/docs/auth-specs.md (Match Score: 0.88 | Last Synced: 2026-05-23 09:28:10)
JWT token claims are validated against the current session lifecycle policy... ````
---
To use this server with your favorite AI agent tool, add it to your client's MCP configuration settings.
Add the following block to your claude_desktop_config.json (typically located at ~/.config/Claude/claude_desktop_config.json on Linux/macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"qdrant-rag": {
"command": "/usr/local/bin/qdrant-mcp-server",
"env": {
"QDRANT_HOST": "172.20.0.5",
"QDRANT_COLLECTION": "my-codebase-collection",
"WATCH_DIRECTORY": "/home/user/Workspace/my-project",
"OLLAMA_HOST": "http://127.0.0.1:11434",
"EMBEDDING_MODEL": "nomic-embed-text",
"EXCLUDE_DIRS": "node_modules,dist,bin,obj,.git",
"INCLUDE_HIDDEN_DIRS": ".github"
}
}
}
}
[!NOTE] - Direct Installer: If you installed using the one-linecurlcommand, the path is/usr/local/bin/qdrant-mcp-server(or/home/<username>/.local/bin/qdrant-mcp-serverif installed as a non-root fallback). - Manual Compilation: If you compiled it manually, specify the path where you saved the binary (e.g.,/home/<username>/bin/qdrant-mcp-serveror the absolute path to your working directory build).
command (or stdio).qdrant-rag./usr/local/bin/qdrant-mcp-server (update this path to match your installation path: /usr/local/bin/qdrant-mcp-server, /home/<username>/.local/bin/qdrant-mcp-server, or /home/<username>/bin/qdrant-mcp-server depending on how you installed or built it).---
amd64, arm64amd64, arm64amd64-ldflags="-X main.Version=<VERSION> -s -w"..tar.gz archives (for Linux/macOS) and .zip archives (for Windows).---
高性能MCP服务器,适合模型服务和部署
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:MCP服务器 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | qdrant-mcp-server |
| 原始描述 | 开源MCP工具:A high-performance Model Context Protocol (MCP) server written in Go that acts a。⭐5 · Go |
| Topics | mcpgo高性能 |
| GitHub | https://github.com/weverkley/qdrant-mcp-server |
| 语言 | Go |
收录时间:2026-05-26 · 更新时间:2026-05-30 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端