modelcontextprotocol/swift-sdk
The official Swift SDK for Model Context Protocol servers and clients.
Overview
modelcontextprotocol/swift-sdk is a Swift MCP server. The official Swift SDK for Model Context Protocol servers and clients. Topics: mcp, swift.
Ranked #268 out of 25632 indexed tools.
In the top 2% of all indexed tools.
Has 1,300 GitHub stars.
Has 18 contributors.
Actively maintained with commits in the last week.
Ecosystem
Swift NOASSERTION
mcpswift
Signal Breakdown
Stars 1,300
Freshness 2d ago
Issue Health 47%
Contributors 18
Dependents 0
Forks 170
Description Good
License NOASSERTION
How to Improve
Description low impact
License low impact
Issue Health high impact
Matched Queries
From the README
# MCP Swift SDK Official Swift SDK for the [Model Context Protocol][mcp] (MCP). ## Overview The Model Context Protocol (MCP) defines a standardized way for applications to communicate with AI and ML models. This Swift SDK implements both client and server components according to the [2025-11-25][mcp-spec-2025-11-25] (latest) version of the MCP specification. ## Table of contents - [Requirements](#requirements) - [Installation](#installation) - [Client Usage](#client-usage) - [Basic Client Setup](#basic-client-setup) - [Transport Options for Clients](#transport-options-for-clients) - [Tools](#tools) - [Resources](#resources) - [Prompts](#prompts) - [Completions](#completions) - [Sampling](#sampling) - [Elicitation](#elicitation) - [Roots](#roots) - [Logging](#logging) - [Error Handling](#error-handling) - [Cancellation](#cancellation) - [Progress Tracking](#progress-tracking) - [Advanced Client Features](#advanced-client-features) - [Server Usage](#serveRead full README on GitHub →
Are you the maintainer? Claim this listing