Enables native API integration for iOS and macOS applications through a JSON-RPC interface and provides an OpenAI-compatible function calling bridge.
SwiftMCP is a Swift Package that facilitates the integration of native iOS and macOS APIs into applications through a JSON-RPC 2.0 compliant interface. It includes open-source function definitions for Apple's native APIs, such as HealthKit, allowing developers to easily expose these functionalities to other systems or services. Furthermore, the package provides an OpenAI function calling bridge, enabling seamless interaction with OpenAI models and leveraging their capabilities within native applications. It also supports MLX models running locally on-device, expanding its utility for AI-driven applications.