MCP Catalogs
首页

time vs mongodb-mcp-server

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

time
by modelcontextprotocol
mongodb-mcp-server
by mongodb-js
Stars★ 85,748★ 1,023
30天用量
综合分7755
官方
分类
效率工具开发者工具沟通协作
数据库开发者工具云存储
实现语言TypeScriptTypeScript
最近提交本月本月

time · 概述

功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。

mongodb-mcp-server · 概述

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

time · 使用场景

  • 协助安排跨时区的国际会议
  • 为基于位置的查询提供实时时间信息
  • 为旅行计划和行程安排提供时间转换

mongodb-mcp-server · 使用场景

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

time · 安装

安装选项

**使用 uv(推荐):**

uvx mcp-server-time

**使用 PIP:**

pip install mcp-server-time
python -m mcp_server_time

**为 Claude Desktop 配置:**

{
  "mcpServers": {
    "time": {
      "command": "uvx",
      "args": ["mcp-server-time"]
    }
  }
}

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