muhammad-fiaz/mcp.zig

View on GitHub ↗

A Model Context Protocol (MCP) library for the Zig ecosystem.

39 ★8 forksZigUpdated 3mo ago

What you need to know

A Model Context Protocol (MCP) SDK and implementation written in Zig. Provides server-side tool, resource, and prompt registration with a stdio transport for building MCP servers in Zig.

Usage

  • Use the library in a Zig project to register tools/resources/prompts and serve them over stdio.

Key features

  • MCP SDK/implementation in Zig
  • Tool, resource, and prompt registration
  • stdio transport

Best for

Building MCP servers in Zig

Caveats

  • It is an SDK/toolkit for building MCP servers, not a ready-made MCP server
Platforms: Linux · Windows · macOS
Documentation ↗

Reviewed 2026-08-11

Topics

mcpmcp-zigmodel-context-protocolmodelcontextprotocolzigzig-langzig-mcpzig-model-context-protocolzig-packageziglangziglibrary
Stars
39★
Forks
8
Language
Zig
License
MIT
Created
2025-12-12
Last push
2026-05-27