ZeroMCP v0.1.0 is here. v0.2.0 coming soon.
Swift

1,311 lines.
Zero SPM dependencies.

zeromcp vs swift-sdk — side by side.

Dependencies
0 ZeroMCP
vs.
8 Official SDK
Throughput
1,730 req/s
vs.
74 req/s
Memory
96 MB
vs.
39 MB

This is a hello world

Server instantiation, schema dictionaries, tool registration, and transport setup. 10 lines before your tool does anything.

swift-sdk 10 lines
let server = MCPServer(
    name: "test", version: "1.0.0")
server.registerTool("hello",
    description: "Say hello",
    inputSchema: [
        "name": .string
    ]) { args in
    .text("Hello, \(args["name"] as! String)!")
}
try await server.runStdio()

This is the whole server

No schema dictionaries. No MCPServer constructor ceremony.
Register a closure and serve.

ZeroMCP 8 lines
let server = Server()
server.tool("hello",
    description: "Say hello",
    input: Input()
        .required("name", "string")
) { args, ctx in
    "Hello, \(args["name"] as! String)!"
}
try await server.serve()

HTTP Performance — Head to Head

Same hello tool. Same methodology. 5-minute sustained load in Docker. Vapor for ZeroMCP, stdio proxy for the official SDK.

req/s CPU Memory Ratio
ZeroMCP (Vapor) 1,730 0.21% 96 MB 23x
Official SDK 74 1.76% 39 MB

The official Swift SDK manages 74 req/s at 1.76% CPU. ZeroMCP on Vapor delivers 1,730 at 0.21% CPU.

ZeroMCP HTTP Frameworks

ZeroMCP embedded natively in Swift frameworks. No proxy. No subprocess. 5-minute sustained load.

req/s CPU Memory
Vapor 1,730 0.21% 96 MB

What's different

  • SandboxEnforced. Not advisory.
  • CredentialsPer-directory. Not ProcessInfo.environment.
  • ProcessesOne. Not N.
  • Hot reloadBuilt-in. Not restart.
  • ComposabilityConnect remote MCP servers. Official SDK can't.
  • TransportStreamable HTTP by default. Stdio too.

When to use the official SDK

ZeroMCP makes trade-offs. Here's what you give up.

Resources and prompts

ZeroMCP implements tools only. If you need MCP resources, prompts, or sampling, use the official SDK.

Swift concurrency types

ZeroMCP uses a simplified registration API. If you prefer full Swift concurrency integration with typed parameters, use the official SDK.

Spec parity

The official SDK tracks every spec change immediately. ZeroMCP prioritizes stability over spec completeness.

Enterprise support

The official SDK is maintained by the MCP specification team at Anthropic. ZeroMCP is maintained by the antidrift team (Reloop Labs, LLC).

Register a function. It's an MCP tool.