time vs nestjs-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | nestjs-mcp by orbit-codes | |
|---|---|---|
| Stars | ★ 85,748 | ★ 11 |
| 30天用量 | — | — |
| 综合分 | 77 | 42 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具AI / LLM 工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 1 个月前 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
nestjs-mcp · 概述
一个NestJS的MCP集成,使用依赖注入和装饰器构建MCP服务器。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
nestjs-mcp · 使用场景
- 使用NestJS的模块化架构构建MCP服务器
- 将REST API暴露为MCP资源和工具
- 将现有的NestJS应用程序与MCP集成
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"]
}
}
}nestjs-mcp · 安装
npm install @orbit-codes/nestjs-mcp @modelcontextprotocol/sdk zod在您的NestJS应用程序中:
import { Module } from '@nestjs/common';
import { MCPModule } from '@orbit-codes/nestjs-mcp';
@Module({
imports: [
MCPModule.register({
name: 'MyMCPServer',
version: '1.0.0',
sseEndpoint: '/mcp/sse',
messagesEndpoint: '/mcp/messages',
}),
],
})
export class AppModule {}对于Claude Desktop,添加到config.json:
{
"mcpServers": {
"nestjs-mcp": {
"command": "node",
"args": ["path/to/your/app.js"]
}
}
}