time vs astro-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | astro-mcp by morinokami | |
|---|---|---|
| Stars | ★ 85,748 | ★ 58 |
| 30天用量 | — | — |
| 综合分 | 77 | 43 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具AI / LLM 工具网页抓取 |
| 实现语言 | TypeScript | Astro |
| 最近提交 | 本月 | 1 个月前 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
astro-mcp · 概述
为 Astro 项目提供项目信息、运行时数据、文档搜索和集成数据的 MCP 服务器。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
astro-mcp · 使用场景
- 通过提供运行时配置和路由信息,协助开发者调试 Astro 应用程序
- 使 AI 助手能够根据官方 Astro 文档提供最新的指导
- 通过编程方式访问集成详情和服务器状态,自动化开发工作流程
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"]
}
}
}astro-mcp · 安装
npx astro add astro-mcp手动安装:
npm install astro-mcp然后添加到您的 Astro 配置:
import { defineConfig } from "astro/config";
import mcp from "astro-mcp";
export default defineConfig({
integrations: [mcp()],
});MCP 服务器将在 http://localhost:4321/__mcp/sse 上可用。为您的编辑器创建一个空的配置文件:
- VSCode:
.vscode/mcp.json - Cursor:
.cursor/mcp.json - Windsurf:
~/.codeium/windsurf/mcp_config.json - Claude Code:
.mcp.json