hasmcp-ce vs time
并排对比,帮你在这两个 MCP server 之间做选择。
hasmcp-ce by hasmcp | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 27 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 40 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具api-integration运维基建 | 效率工具开发者工具沟通协作 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 4 个月前 | 本月 |
hasmcp-ce · 概述
HasMCP-CE 无需编写代码即可将 API 端点转换为 MCP 服务器。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
hasmcp-ce · 使用场景
- 将现有的 REST API 端点转换为 MCP 服务器,以便与 AI 模型集成
- 为内部 API 创建 MCP 服务器,而无需编写自定义 MCP 实现
- 管理多个作为 MCP 工具的 API 端点,带有认证和代理功能
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
hasmcp-ce · 安装
安装
使用 Docker(推荐)
- 创建目录:
mkdir hasmcp
cd hasmcp
mkdir -p _certs _storage
chmod 0777 _certs _storage- 下载环境文件:
wget https://github.com/hasmcp/hasmcp-ce/blob/main/backend/cmd/server/.env.example -O .env- 使用 Docker 运行:
docker stop hasmcp-ce || true; \
docker rm hasmcp-ce || true; \
docker image prune -f; \
docker pull hasmcp/hasmcp-ce:latest; \
docker run --env-file .env -p 80:80 -p 443:443 --name hasmcp-ce \
-v ./_certs:/_certs \
-v ./_storage:/_storage \
-d --restart always hasmcp/hasmcp-ce:latestClaude Desktop 配置
添加到 Claude Desktop config.json:
{
"mcpServers": {
"hasmcp": {
"command": "docker",
"args": ["run", "--rm", "hasmcp/hasmcp-ce:latest"]
}
}
}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"]
}
}
}