Back to Home
DePasqualeOrg icon

mcp-swift-sdk

Verified Safe

by DePasqualeOrg

Overview

Implement and integrate Model Context Protocol (MCP) servers and clients in Swift, enabling AI agents and applications to discover and interact with tools, resources, and conversational prompts over HTTP.

Installation

Run Command
cd Examples/VaporIntegration && swift run

Security Notes

The `HTTPServerTransport` implements DNS rebinding protection, which is crucial for local server deployments. Input validation via JSON Schema is applied to tool parameters using Swift macros. However, a complete OAuth implementation is not yet provided within the SDK itself, implying reliance on the integrating web framework's middleware for authentication. The 'Experimental' task features are explicitly noted as potentially unvetted. Overall, the project demonstrates good security awareness for common web server risks.

Similar Servers

Stats

Interest Score42
Security Score8
Cost ClassMedium
Avg Tokens750
Stars6
Forks0
Last Update2026-01-18

Tags

SwiftAIModel Context ProtocolSDKServerClientToolsResourcesPromptsJSON-RPCHTTPWeb FrameworksAPIMicroservices