time vs pctx
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | pctx by portofcontext | |
|---|---|---|
| Stars | ★ 85,748 | ★ 252 |
| 30天用量 | — | — |
| 综合分 | 77 | 49 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | AI / LLM 工具开发者工具安全 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 本月 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
pctx · 概述
pctx 是一个基于 Rust 的框架,通过代码模式将 AI 代理连接到工具和 MCP 服务器,实现安全、高效的工作流。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
pctx · 使用场景
- 通过代码模式构建具有更少令牌消耗的 AI 代理
- 在单个界面后聚合多个 MCP 服务器
- 在隔离环境中安全执行 LLM 生成的代码
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"]
}
}
}pctx · 安装
# Homebrew
brew install portofcontext/tap/pctx
# cURL
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/portofcontext/pctx/main/install.sh | sh
# npm
npm i -g @portofcontext/pctx对于 Claude Desktop:
{
"mcpServers": {
"pctx": {
"command": "pctx",
"args": ["mcp", "start", "--stdio"]
}
}
}