MCP Catalogs
首页

mongodb-mcp-server vs mcp-server-qdrant

并排对比,帮你在这两个 MCP server 之间做选择。

mongodb-mcp-server
by mongodb-js
mcp-server-qdrant
by qdrant
Stars★ 1,023★ 1,397
30天用量
综合分5555
官方
分类
数据库开发者工具云存储
数据库AI / LLM 工具开发者工具
实现语言TypeScriptPython
最近提交本月1 个月前

mongodb-mcp-server · 概述

MongoDB MCP Server 连接 MongoDB 数据库和 Atlas 集群,提供数据库操作和 Atlas 管理工具。

mcp-server-qdrant · 概述

官方 Qdrant MCP 服务器,用于使用向量嵌入进行语义记忆存储和检索。

mongodb-mcp-server · 使用场景

  • AI 查询和分析 MongoDB 数据库而无需直接数据库访问
  • 通过支持 MCP 的客户端自动化 MongoDB Atlas 集群管理
  • 构建能够访问 MongoDB 数据作为上下文资源的 RAG 应用程序

mcp-server-qdrant · 使用场景

  • 构建具有长期记忆能力的 AI 应用程序
  • 开发环境中的代码搜索和检索
  • 通过基于向量的语义搜索增强 LLM 应用程序

mongodb-mcp-server · 安装

安装

通过 NPM (适用于 Claude Desktop)

{
  "mcpServers": {
    "MongoDB": {
      "command": "npx",
      "args": ["-y", "mongodb-mcp-server@latest", "--readOnly"],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase"
      }
    }
  }
}

通过 Docker

{
  "mcpServers": {
    "MongoDB": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-e",
        "MDB_MCP_READ_ONLY=true",
        "-i",
        "mongodb/mongodb-mcp-server:latest"
      ]
    }
  }
}

mcp-server-qdrant · 安装

安装选项

使用 uvx
QDRANT_URL="http://localhost:6333" \
COLLECTION_NAME="my-collection" \
EMBEDDING_MODEL="sentence-transformers/all-MiniLM-L6-v2" \
uvx mcp-server-qdrant
使用 Docker
docker build -t mcp-server-qdrant .
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
Claude Desktop 配置

添加到 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"
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。