Skip to content

Releases: Sunalamye/MCPKit

v0.2.1

Choose a tag to compare

@Sunalamye Sunalamye released this 07 Dec 09:59

Changes

  • fix: Add @MainActor and Sendable to MCPContext protocol
  • fix: Add @MainActor to MCPTool.init(context:)

Fixes "Sending value of non-Sendable type 'any MCPContext' risks causing data races" warning.

v0.2.0

Choose a tag to compare

@Sunalamye Sunalamye released this 07 Dec 09:55

Changes

  • fix: Add @MainActor to MCPTool.execute() method

Bug Fixes

Fixed Swift 6 actor isolation crash by ensuring tool execution runs on MainActor.

v0.1.0 - Initial Release

Choose a tag to compare

@Sunalamye Sunalamye released this 07 Dec 06:18

MCPKit v0.1.0

Swift 實現的 Model Context Protocol (MCP) 框架。

特點

  • 🔧 Protocol-First 設計 - 使用 Swift Protocol 定義工具介面
  • 📦 模組化架構 - Core、Transport 層分離
  • 🚀 Async/Await 支援 - 完整的 Swift Concurrency 支援
  • 🔌 可擴展 - 易於添加自定義工具和傳輸層
  • 🧪 可測試 - 完整的單元測試支援

安裝

dependencies: [
    .package(url: "https://github.com/Sunalamye/MCPKit.git", from: "0.1.0")
]

更新內容

  • 初始發布
  • 完整的 MCPTool 協議實現
  • HTTP 傳輸層支援
  • 內建工具集
  • Claude Code Skills 支援