mcp-framework vs time
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-framework by koki7o | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 22 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 42 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具浏览器自动化 | 效率工具开发者工具沟通协作 |
| 实现语言 | Rust | TypeScript |
| 最近提交 | 5 个月前 | 本月 |
mcp-framework · 概述
Rust 框架,用于构建支持原生 MCP、多 LLM 集成和网络检查器的 AI 代理。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-framework · 使用场景
- 构建能够搜索和分析信息的研究助手
- 创建能够读取代码库和编写代码的编程助手
- 开发用于网页抓取和表单填写的浏览器自动化代理
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-framework · 安装
安装
# 需要 Rust 1.70+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/koki7o/mcp-framework
cd mcp-framework
cp .env.example .env
# 编辑 .env 文件并添加 API 密钥
# 运行示例
cargo run --example server_with_tools
cargo run --example anthropic_agent_demo_with_tools
cargo run --example openai_agent_demo_with_toolsClaude Desktop 集成
添加到 Claude 的 config.json 文件中:
{
"mcpServers": {
"mcp-framework": {
"command": "cargo",
"args": ["run", "--example", "server_with_tools"],
"env": {
"ANTHROPIC_API_KEY": "your-api-key"
}
}
}
}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"]
}
}
}