Back to directory

SwiftMCP

A Swift implementation of the Model Context Protocol over JSON-RPC, supporting stdio, HTTP with Server-Sent Events, and local TCP+Bonjour discovery.

SwiftMCP

SwiftMCP implements the Model Context Protocol for JSON-RPC 2.0 across multiple transports: standard input/output for command-line use, HTTP with Server-Sent Events for web applications, and TCP with Bonjour for local network discovery. It exposes tools with an MCPTool macro, resources with MCPResource, and prompts with MCPPrompt, alongside progress notifications, structured logging, and completion suggestions for parameters.

On the client side it supports dynamic filesystem roots and sampling, letting a client request small previews of its own files. Optional feature areas, such as the server transports and OpenAPI/AI-plugin manifest support, are exposed as separate Swift package traits, so a client-only consumer can drop the server-only dependencies such as swift-nio and build on Windows.

It is added as a Swift Package Manager dependency and is licensed under BSD-2-Clause.

More in MCP servers

See all 734
  • Light Cloud

    light-cloud.com

    A hosting platform that deploys a static site, a container, or a managed Postgres database straight from a GitHub, GitLab, or Bitbucket push, with a preview URL for every branch and an MCP server for deploying from Claude Code.

  • ForensicDbg

    forensicdbg.com

    A post-mortem debugger for native Windows x86 and x64 crashes, with an MCP interface so AI tools can consume crash-dump analysis directly.

  • Karada.ai

    karada.ai

    A CI/CD platform that auto-compiles existing APIs into Go MCP servers, attaches composable middleware, and exposes them through one gateway usable from Cursor, Claude Code, and Windsurf.