{"type":"mcp_server","name":"swift-sdk","description":"This repository provides a Swift SDK for implementing the Model Context Protocol (MCP), enabling developers to build clients and servers that can interact with models and tools. It supports macOS","category":"AI","language":"Swift","stars":1422,"forks":11,"owner":"modelcontextprotocol","github_url":"https://github.com/modelcontextprotocol/swift-sdk","homepage":null,"setup":"## Setup\n\n**Swift Package Manager**\n\nAdd the following to your `Package.swift` file:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/modelcontextprotocol/swift-sdk.git\", from: \"0.5.1\")\n]\n```","tools":"## Available Tools\n\n1.  Basic Client Setup (Initialize and connect to the MCP server.)\n2.  Basic Server Setup (Initialize and start an MCP server with capabilities.)\n3.  Working with Tools (List and call available tools with arguments.)\n4.  Working with Resources (List, read, and subscribe to resource updates.)\n5.  Working with Prompts (List and get prompts with arguments.)","faq":null,"created_at":"2025-02-05T20:50:16+00:00","updated_at":"2025-03-28T17:17:19+00:00","source_url":"https://model-context-protocol.com/servers/swift-sdk-model-context-protocol-mcp","related_articles":[]}