micl2e2/mcpc

View on GitHub ↗

Cross-platform C SDK for Model Context Protocol (MCP), in modern🚀 C23.

30 ★6 forksCUpdated 1y ago

What you need to know

A lightweight C client library and tooling for interacting with MCP servers over stdio and HTTP.

Install

Build from source (cmake) or use the provided binaries.

Usage

  • Embed MCP client functionality in C programs or use CLI to talk to servers.

Key features

  • C client library
  • STDIO and HTTP support
  • CLI tool
  • Lightweight implementation

Best for

Developers integrating MCP into C-based projects.

Caveats

  • C library; not for high-level scripting.
Platforms: Linux · MacOS · Windows

Reviewed 2026-08-11

Topics

ai-agentai-workflowc23function-callingmcpmcp-c-librarymcp-c-sdkmcp-sdkmcp-servermodel-context-protocolmodern-ctool-calling
Stars
30★
Forks
6
Language
C
License
MIT
Created
2025-05-16
Last push
2025-06-24