mcp-agent vs time
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-agent by Haohao-end | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 85 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 47 | 77 |
| 官方 | — | ✓ |
| 分类 | AI / LLM 工具开发者工具知识库 / RAG | 效率工具开发者工具沟通协作 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 3 个月前 | 本月 |
mcp-agent · 概述
模块化Python MCP框架,集成LLM工具、天气数据和高级RAG功能。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-agent · 使用场景
- 构建可通过LLM访问实时天气信息的智能代理
- 创建具有高级RAG功能的知识检索文档智能系统
- 开发具有标准化MCP工具集成的模块化AI应用
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-agent · 安装
安装
- **先决条件**
- Python 3.10+ - 虚拟环境(推荐)
- **环境设置**
在根目录创建.env文件,包含: ``env API_KEY=your_llm_api_key BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 MODEL=qwen-plus EMBED_MODEL=sentence-transformers/all-MiniLM-L6-v2 ``
- **依赖项**
``bash pip install mcp langchain langchain-community langchain-openai chromadb httpx python-dotenv openai ``
Claude Desktop 集成
添加到claude_desktop_config.json:
{
"mcpServers": {
"mcp-agent": {
"command": "python",
"args": ["/path/to/mcp-agent/client.py"]
}
}
}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"]
}
}
}