Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoExpress server port4002
BB_PATHNoBarretenberg CLI pathbb
NODE_ENVNoNode environmentdevelopment
TEE_MODENoTEE mode: disabled / nitrodisabled
REDIS_URLYesRedis connection string
NARGO_PATHNoNargo CLI pathnargo
ENCLAVE_CIDNoNitro Enclave CID (required when TEE_MODE=nitro)
A2A_BASE_URLYesPublic-facing service URL (for Agent Card)
BASE_RPC_URLYesBase chain RPC endpoint
CIRCUITS_DIRNoCircuit artifacts directory/app/circuits
ENCLAVE_PORTNoNitro Enclave port5000
PAYMENT_MODEYesPayment mode: disabled / testnet / mainnet
AGENT_VERSIONNoAgent version string1.0.0
CHAIN_RPC_URLYesRPC for proof verification
GEMINI_API_KEYNoGemini API key for chat
OPENAI_API_KEYNoOpenAI API key for chat
PAYMENT_PAY_TONoOperator wallet (required when payment enabled)
TEE_ATTESTATIONNoEnable attestation verificationfalse
CIRCUITS_REPO_URLNoCircuit artifacts download URL
PROVER_PRIVATE_KEYYesAgent wallet private key (64 hex chars, no 0x)
PAYMENT_PROOF_PRICENoPrice per proof (USD)$0.10
EAS_GRAPHQL_ENDPOINTYesEAS GraphQL endpoint for attestation queries
ERC8004_IDENTITY_ADDRESSNoERC-8004 Identity contract
ERC8004_REPUTATION_ADDRESSNoERC-8004 Reputation contract
PHOENIX_COLLECTOR_ENDPOINTNoPhoenix OTLP endpoint for tracing

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_action_approvalA

Read the status of a human wallet approval created by this MCP client. This operation never starts a proof or payment.

generate_proofA

All-in-one ZK proof generation. Handles: prepare inputs, request challenge, and submit proof in a single call. Use this when you want the simplest path to a proof. For fine-grained control over each step, use prepare_inputs, request_challenge, and submit_proof individually.

CIRCUITS:

  • "coinbase_kyc": Proves the user passed Coinbase KYC verification, optionally binding the wallet's signature to ONE EIP-712 action (as giwa_attestation). Without action it signs the request signal hash.

  • "coinbase_country": Proves the user's country of residence is (or is not) in a given list, optionally binding the wallet's signature to ONE EIP-712 action (as coinbase_kyc). Requires country_list and is_included.

  • "oidc_domain": Proves the user authenticated via OIDC and their email belongs to a specific domain. Requires jwt and scope.

  • "human_passport": Proves the wallet holds an unexpired Human Passport score at or above min_score, without revealing the wallet or the exact score; optionally binds ONE EIP-712 action (as coinbase_kyc). Requires min_score and chain (the chain id the person recorded the score on).

  • "giwa_attestation": GIWA attestation, optionally binding the wallet's signature to ONE EIP-712 action. Without action it signs the request signal hash. With one, the proof carries that action's hash, so a contract can check WHICH instruction was authorised -- not merely that somebody eligible signed something. Uses a GIWA-attested wallet; verified on GIWA Sepolia (chain 91342).

WITH ACTION: Returns awaiting_approval with an approval URL for the HUMAN to review and sign in their wallet. Keep the request parameters unchanged, query get_action_approval, then repeat with approval_id when approved. ATTESTATION_KEY cannot authorize an action on the human's behalf. Ordinary proofs without action retain automatic signing.

SIGNAL HASH: without an action the wallet signs signal_hash = keccak256(scope ++ circuitId ++ request_id). It contains no wallet address. Pass request_id when the verifier issued one; otherwise a fresh one is minted and returned as requestId.

NULLIFIER: wallet circuits require oprf_domain (the service the proof is for). The nullifier is one per wallet per (oprf_domain, scope), computed with the OPRF network before the wallet signs; a service whose environment has no OPRF network refuses before anything is signed or paid.

RETURNS: awaiting_approval or the full ProofResult with proof bytes, public inputs, timing information, and the requestId, scope and oprfDomain the proof answers. Use verify_proof separately to verify on-chain.

get_supported_circuitsA

List all ZK circuits supported by ZKProofport, including verifier addresses and authorized signers. No parameters required. Call this first to discover available circuits before starting proof generation.

request_challengeA

Step 2 of the step-by-step flow: Request a challenge from the server. Pass inputs: {} to discover the live payment offers, nonce and optional TEE key without transmitting private witness inputs. You MUST pass the returned "nonce" to submit_proof — without it the server just issues another challenge. MCP submit_proof does not sign payments or encrypt inputs; use generate_proof or the SDK for paid/encrypted orchestration.

prepare_inputsA

Step 1 of the step-by-step flow. WITH ACTION: human wallet approval is required; returns awaiting_approval until resumed with approval_id. Approved action witnesses stay in private local storage; pass the returned prepared_inputs_id to submit_proof. The action hash is public: an action whose proof is shown off-chain should not contain the wallet's address. WITHOUT ACTION: the credential key signs signal_hash = keccak256(scope ++ circuitId ++ request_id), no wallet address; the first result block is the inputs for submit_proof, the second names request_id and scope for the verifier. Handle private witness inputs only in trusted local code, never expose them to the dApp, model or logs. Call this BEFORE request_challenge. For oidc_domain provide jwt and scope.

submit_proofA

Step 3 of the step-by-step flow: Submit prepared inputs to generate the ZK proof. The TEE server runs the Noir circuit and returns the UltraHonk proof. This step may take 30-90 seconds. The TEE server builds Prover.toml from these inputs.

You MUST pass the nonce returned by request_challenge. POST /api/v1/prove answers every request that arrives without that nonce with a fresh 402 challenge, so a submission that omits it can never produce a proof.

verify_proofA

Step 4 (optional): Verify a ZK proof on-chain against ZKProofport's own pinned verifier contract for the circuit and chain. Pass the full generate_proof result object directly. The result's verifierAddress is only compared with the pinned one: a different address is refused, never called. Issuer anchors are checked too (OIDC provider key against Google/Microsoft's published keys; Coinbase/GIWA signer-list root). Returns { valid: true } if the proof is valid, otherwise { valid: false, error }.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
config

TDQS

A4.2/5.0

Scored across 7 tools

Disambiguation4/5

generate_proof deliberately overlaps with the prepare_inputs → request_challenge → submit_proof trio, but the description explicitly frames it as the convenience path versus fine-grained control, and each step tool has a distinct stated role and ordering. get_action_approval, verify_proof, and get_supported_circuits are clearly separate concerns, leaving only the intentional all-in-one/stepwise duality as potential confusion.

Naming Consistency5/5

All seven tools follow a clean snake_case verb_noun pattern: generate_proof, prepare_inputs, request_challenge, submit_proof, verify_proof, get_action_approval, get_supported_circuits. Verbs (generate/prepare/request/submit/verify/get) match the actual operations with no mixed conventions.

Tool Count5/5

Seven tools is well-scoped for a ZK proof server: discovery, an all-in-one path, a three-step manual flow, verification, and approval polling. Each tool maps to a real, non-redundant operation within that workflow.

Completeness4/5

The surface covers the full proof lifecycle from circuit discovery through generation and on-chain verification, including human-in-the-loop approval status. Minor gaps: no way to cancel or revoke a pending approval, no proof/status listing, and payment/encryption orchestration is explicitly deferred to the SDK, leaving MCP users unable to complete paid flows unaided.

Maintenance

ActivityNo data
ResponsivenessLimited data