Development
Local setup
Commands for the local docs server, Midnight stack, demo API, and full live playground.
Documentation only
npm run dev:webOpen http://localhost:4545/docs.
This mode is self-contained. The playground uses recorded receipts and does not attempt to connect to a local API unless NEXT_PUBLIC_ZKMCP_API_URL is configured.
Midnight only
npm run setup:midnightThis starts Docker services, compiles the Compact contract, and deploys it to the local devnet.
Real MCP CLI demo
npm run demo:gatewayDocumentation + live proof playground
npm run demo:uiThis first sets up Midnight, then starts the demo API and docs app together with the browser API URL configured.
Stop Midnight
npm run stop:midnight