MCP Catalogs
首页

swift-context-protocol vs time

并排对比,帮你在这两个 MCP server 之间做选择。

swift-context-protocol
by 1amageek
time
by modelcontextprotocol
Stars★ 11★ 85,748
30天用量
综合分3377
官方
分类
开发者工具AI / LLM 工具其它
效率工具开发者工具沟通协作
实现语言SwiftTypeScript
最近提交15 个月前本月

swift-context-protocol · 概述

Swift实现的MCP服务器,使用分布式actor为AI上下文提供类型安全的工具、资源和提示。

time · 概述

功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。

swift-context-protocol · 使用场景

  • 在Swift生态中创建分布式AI工具
  • 为AI应用构建类型安全的MCP服务器
  • 使用Swift actor实现资源管理系统

time · 使用场景

  • 协助安排跨时区的国际会议
  • 为基于位置的查询提供实时时间信息
  • 为旅行计划和行程安排提供时间转换

swift-context-protocol · 安装

要安装swift-context-protocol,请将其添加到您的Package.swift依赖项中:

dependencies: [
    .package(url: "https://github.com/1amageek/swift-context-protocol.git", from: "1.0.0")
]

然后将其添加到您的目标依赖项中:

targets: [
    .executableTarget(
        name: "YourApp",
        dependencies: [
            "swift-context-protocol"
        ]
    )
]

对于Claude Desktop集成,通常会将服务器添加到您的configuration.json中,但这个Swift服务器可能需要额外的Swift环境设置。

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"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。