1. Conduid
  2. AI
  3. Zig MCP SDK
MCP server · AI

Zig MCP SDK

MCP server SDK for Zig. Comptime tool schemas from plain structs, stdio and Streamable HTTP transports.

20Low

Scored just now · breakdown

About Zig MCP SDK

Zig MCP SDK is an MCP server published by PaytonWebber in the AI category: mCP server SDK for Zig. Comptime tool schemas from plain structs, stdio and Streamable HTTP transports. No package is published for it, so it installs from a source checkout.

The latest release is v0.5.0 (10 Jun 2026): Adds mcp.StatefulToolPack(State, defs) for tool packs whose handlers share mutable state (a daemon client, a database handle). It follows v0.4.0 (10 Jun 2026), and the 5 most recent releases go back to v0.1.0 (10 Jun 2026). Its topics include sdk, zig and zig-package.

Install

From source
git clone https://github.com/PaytonWebber/zig-mcp-sdk

Security checks

6 checks have not been run yet.

Releases

v0.5.0v0.5.0 · 10 Jun 2026Adds `mcp.StatefulToolPack(State, defs)` for tool packs whose handlers share mutable state (a daemon client, a database handle). The generated struct holds `state: *State` and passes it as the handlers' first parameter: fn record(self:…
v0.4.0v0.4.0 · 10 Jun 2026Highlights `mcp.ToolPack`: one declaration per tool. fn hello(allocator: Allocator, args: HelloArgs) !types.CallToolResult { const msg = try std.fmt.allocPrint(allocator, "Hello, {s}!", .{args.name}); return…
v0.3.0v0.3.0 · 10 Jun 2026Closes the three remaining Streamable HTTP gaps from v0.2.0. Highlights POST response streaming: `callTool` may take a per-call `Context` (`fn(*Handler, Allocator, Context, CallToolParams)`, detected at compile time). Over HTTP,…
v0.2.0v0.2.0 · 10 Jun 2026Highlights Concurrent HTTP transport: multiple live sessions (refcounted session map, `max_sessions` cap), connections handled in parallel, per-session protocol version negotiation. Server-sent events: `GET` with `Accept:…
v0.1.0v0.1.0 · 10 Jun 2026First tagged release of zig-mcp-sdk, a Model Context Protocol SDK for Zig 0.16.0. Highlights Comptime tool schemas: `types.schemaForStruct` generates MCP JSON Schema from a plain Zig struct at compile time; `types.parseArgs` parses…
Questions

About Zig MCP SDK

How do I install Zig MCP SDK?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Zig MCP SDK safe to use with an AI agent?

Its trust score is 20 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Zig MCP SDK still maintained?

Yes — the latest release is v0.5.0 (10 Jun 2026), and the last commit was 5 months ago. The repository has 0 stars.