|
cMCP 0.4.1
Model Context Protocol library in pure C11
|
Files | |
| cmcp.h | |
Umbrella header: package + protocol version macros, library- wide error codes, and cmcp_errstr. | |
| cmcp_client.h | |
| Asynchronous MCP client: handshake, list/call/read/subscribe, cancellation, progress, sampling, roots, elicitation. | |
| cmcp_http_parser.h | |
| Minimal HTTP/1.1 request-line + headers parser. | |
| cmcp_json.h | |
| Hand-rolled JSON value tree, parser, and emitter. | |
| cmcp_schema.h | |
| JSON Schema validator for tool inputs. | |
| cmcp_server.h | |
| Server API: lifecycle, tool/resource/prompt registry, dispatch, notifications. | |
| cmcp_session.h | |
| Multi-server primitive aggregator on top of N cMCP clients. | |
| cmcp_transport.h | |
| Transport vtable + stdio/HTTP constructors. | |
| cmcp_types.h | |
| JSON-RPC 2.0 message shapes, capability structs, dispatch types. | |