zkzkMCP
SDK & API reference

Overview

Current exported APIs and configuration surfaces in the zkMCP monorepo.

The current codebase has three package boundaries:

PackageResponsibility
@zkmcp/gatewayMCP proxy, request normalization, trusted approval boundary
@zkmcp/midnightCompact/Midnight authorization client and receipt construction
@zkmcp/coretyped errors and privacy-safe local observability

These are workspace-local packages in the hackathon repository. They are documented by package name because the code is already separated that way, but they have not been published to npm.

Use the reference pages for the API that exists today. Higher-level helpers such as definePolicy() or wrapMcpServer() are not implemented yet and are intentionally not documented as real APIs.