Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

zkpmcp

MCP.Pizza Chef: colygon

zkpmcp is an MCP server that facilitates zero-knowledge proofs using the circom framework. It provides tools for building cryptographic circuits, performing trusted setups, generating proofs, and verifying them securely. This server enables privacy-preserving workflows such as age verification without revealing sensitive data, integrating seamlessly into MCP environments for enhanced cryptographic capabilities.

Use This MCP server To

Generate zero-knowledge proofs for privacy-preserving verification Verify cryptographic proofs within MCP workflows Build and deploy custom zk-SNARK circuits using circom Perform trusted setup ceremonies for zero-knowledge circuits Enable age verification without disclosing birth dates Integrate zero-knowledge proof verification into AI workflows Securely prove data possession without revealing the data Automate cryptographic proof generation in decentralized apps

README

zkMCP

A Model Context Protocol (MCP) server for zero-knowledge proofs using circom. This repository provides tools for building circuits, performing trusted setup, generating proofs, and verifying proofs.

Repository Structure

  • server/: The MCP server implementation
  • examples/: Example use cases for zero-knowledge proofs
    • age-verification/: An example that demonstrates how to verify a person's age without revealing their birth date

Installation

Server Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/zkMCP.git
    cd zkMCP/server
  2. Install dependencies:

    npm install
  3. Build the server:

    npm run build
  4. Add the server to your MCP settings configuration file:

    {
      "mcpServers": {
        "zkproof": {
          "command": "node",
          "args": ["/path/to/zkMCP/server/build/index.js"],
          "env": {
            "ZKINTRO_DIR": "/path/to/circom/projects"
          },
          "disabled": false,
          "autoApprove": []
        }
      }
    }

Prerequisites

  • Node.js (v14 or later)
  • circom (v2.0.0 or later)
  • snarkjs

Usage

Once the server is installed and configured, you can use it to:

  1. Build circuits from Circom files
  2. Perform trusted setup for circuits
  3. Generate proofs for circuits
  4. Verify proofs

See the server README for detailed usage instructions.

Examples

Age Verification

The age verification example demonstrates how to use zero-knowledge proofs to verify that a person is above a certain age without revealing their actual birth date.

See the age verification README for more details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

zkpmcp FAQ

How do I install the zkpmcp server?
Clone the repository, install dependencies with npm, build the server, and configure it in your MCP settings.
What cryptographic framework does zkpmcp use?
zkpmcp uses circom for building zero-knowledge proof circuits.
Can zkpmcp verify proofs generated externally?
Yes, zkpmcp can verify proofs generated by compatible circom circuits.
Is zkpmcp suitable for privacy-preserving identity verification?
Yes, it supports use cases like age verification without revealing personal data.
What environment variables are needed to run zkpmcp?
You need to set ZKINTRO_DIR pointing to your circom project directory.
Can zkpmcp integrate with multiple LLM providers?
Yes, it can be used alongside models from OpenAI, Claude, and Gemini within MCP workflows.
Does zkpmcp support trusted setup ceremonies?
Yes, it includes tools to perform trusted setup for zero-knowledge circuits.
How do I extend zkpmcp with custom circuits?
Add your circom circuit files to the project and rebuild the server to include them.