mcp-server-mariadb vs time
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-server-mariadb by abel9851 | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 20 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 34 | 77 |
| 官方 | — | ✓ |
| 分类 | 数据库开发者工具AI / LLM 工具 | 效率工具开发者工具沟通协作 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 14 个月前 | 本月 |
mcp-server-mariadb · 概述
MCP 服务器,提供对 MariaDB 数据库的只读访问,支持查询工具和模式资源。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-server-mariadb · 使用场景
- 允许 AI 助手查询现有数据库进行数据分析与报告
- 通过 MCP 资源探索和记录数据库模式
- 为需要从现有数据库读取数据的 AI 系统创建数据驱动应用程序
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-server-mariadb · 安装
安装
- 安装 MariaDB Connector/C:
``bash brew install mariadb-connector-c echo 'export PATH="/opt/homebrew/opt/mariadb-connector-c/bin:$PATH"' >> ~/.bashrc export MARIADB_CONFIG=$(brew --prefix mariadb-connector-c)/bin/mariadb_config ``
- 安装 MCP 服务器:
``bash uv add mariadb ``
Claude Desktop 配置
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"mcp_server_mariadb": {
"command": "/PATH/TO/uvx",
"args": [
"mcp-server-mariadb",
"--host",
"${DB_HOST}",
"--port",
"${DB_PORT}",
"--user",
"${DB_USER}",
"--password",
"${DB_PASSWORD}",
"--database",
"${DB_NAME}"
]
}
}
}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"]
}
}
}