Skip to content

Releases

SwiftMCPAppHost 0.1.0

Choose a tag to compare

@zhaziragaripolla zhaziragaripolla released this 10 Nov 18:58

First release. SwiftMCPAppHost shows MCP Apps in native iOS apps: it renders the HTML interface an MCP tool returns in a sandboxed WKWebView and connects it to your app over the MCP Apps protocol (SEP-1865, stable 2026-01-26).

.package(url: "https://github.com/zhaziragaripolla/SwiftMCPAppHost.git", from: "0.1.0"),

What's included

  • MCPAppWebHost, with MCPAppView for SwiftUI and MCPAppHostView for UIKit.
  • The full protocol: handshake, tool input and results, tool calls, resource reads, links, messages, model context, display modes, size changes, logging and teardown.
  • A delegate where only callTool is required; everything else is refused by default.
  • A sandbox that denies by default: CSP from the app's declared domains, network rules blocking everything else, no stored data, no navigation, no new windows, no camera or microphone.
  • Zero dependencies. Swift 6, tested under Thread Sanitizer.

Verified with an app built on the official @modelcontextprotocol/ext-apps SDK 2.0.4: every request type and teardown work unchanged.

Also in the repo: the design write-up (RFC-001), a tic-tac-toe example, llms.txt and llms-full.txt, DocC articles, and a Claude Code plugin with a skill.

This is a 0.x release: the API may still change before 1.0.