time vs mcp-sdk-client-ssejs
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | mcp-sdk-client-ssejs by mybigday | |
|---|---|---|
| Stars | ★ 85,748 | ★ 0 |
| 30天用量 | — | — |
| 综合分 | 77 | 30 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具AI / LLM 工具其它 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 8 个月前 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-sdk-client-ssejs · 概述
使用 SSE.js 实现的 React Native 兼容 MCP 客户端传输,支持与 llama.rn 集成。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-sdk-client-ssejs · 使用场景
- 构建需要与 MCP 服务器集成的 React Native 应用
- 在移动应用中使用 llama.rn 实现 AI 驱动的功能
- 为特定环境创建自定义的 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"]
}
}
}mcp-sdk-client-ssejs · 安装
npm install @modelcontextprotocol/sdk
npm install mcp-sdk-client-ssejs对于 React Native,你可能需要配置 metro 配置文件:
module.exports = {
presets: [/* ... */],
plugins: [
[
'module-resolver',
{
alias: {
'@modelcontextprotocol/sdk': '@modelcontextprotocol/sdk/dist/esm',
},
},
],
],
}如果 React Native 中缺少 CustomEvent,请添加此 polyfill:
import NativeCustomEvent from 'react-native/Libraries/Events/CustomEvent'
window.CustomEvent = class CustomEvent extends NativeCustomEvent {
constructor(type, eventInitDict = {}) {
super(type, eventInitDict)
}
}