npm bridgeguard-mcpstdioMITupdated 10d ago
Post-quantum asset protection protocol for Ethereum using NIST-standardized cryptography
What can you do with bridgeguard mcp?
Quantum Shield
Post-quantum asset protection protocol for Ethereum using NIST-standardized cryptography
What is Quantum Shield?
Quantum Shield protects smart contract assets against quantum computing threats using NIST FIPS 204 (ML-DSA/Dilithium) and FIPS 205 (SLH-DSA/SPHINCS+) dual post-quantum signatures, combined with a decentralized Prover Pool, VRF-based selection, and time-locked custody.
Key Features
- Dual PQC Signatures β ML-DSA-65 + SLH-DSA for defense-in-depth
- Prover Pool β Decentralized verification with stake-weighted selection via VRF
- Time-Locked Custody β 24h normal unlock, 7-day emergency path with bond
- Observer Network β Independent challenge system with quadratic slashing
- On-Chain Governance β veQS token voting, security council, insurance fund
- 11 Sub-Applications β Consumer, Prover, Observer, Explorer, Enterprise, Governance, Admin
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Frontend (Next.js 15) 11 apps, 136 routes, ja/en i18n β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Backend API (Rust/Axum) REST API, SIWE auth, Auto-Claim β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββ€
β L1: Sepolia β L3: Arbitrum Sepolia β
β β’ Vault β β’ CoreLayer β’ Governor β
β β’ ProverRegistryβ β’ veQS β’ RewardRouter β
β β’ SPHINCS+ Vfy β β’ QSToken β’ InsuranceFund β
ββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββ
9 Core Sequences
| # | Flow | Path |
|---|---|---|
| 1 | Consumer Lock | Frontend β API β DB β L1 Vault |
| 2 | Normal Unlock | 24h timelock β Prover verification β L1 claim |
| 3 | Emergency Unlock | Bond deposit β 7-day lock β Emergency path |
| 4 | Prover Registration | Stake β VRF selection β Proof generation |
| 5 | Observer Challenge | Monitor β Challenge β VRF arbitration |
| 6 | Slashing | Quadratic penalty β L1 ProverRegistry |
| 7 | Governance | veQS voting β Proposal execution on L3 |
| 8 | Emergency Pause | Security council β L1 pause |
| 9 | Token Hub | Stake QS β veQS β Rewards |
Tech Stack
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, TypeScript, Tailwind CSS, Wagmi, RainbowKit |
| Backend | Rust, Axum, PostgreSQL, Redis, RabbitMQ |
| Contracts | Solidity 0.8.24 (Foundry), deployed to Sepolia + Arbitrum Sepolia |
| Cryptography | NIST FIPS 204 (ML-DSA-65), FIPS 205 (SLH-DSA), SHA3-256 |
| SDK | WASM (Rust β wasm-pack), npm-publishable |
| Testing | Playwright (E2E), Vitest, cargo test, Foundry forge test |
Deployed Contracts
L1: Ethereum Sepolia
| Contract | Address |
|---|---|
| Vault | 0x07012aeF87C6E423c32F2f8eaF81762f63337260 |
| ProverRegistry | 0x08e1fc1A0d614bc132B48950760c7A291cCB8946 |
| SPHINCS+ Verifier | 0xD090b5A627d9bd6D96a8b5f6F504ebCa79980103 |
L3: Arbitrum Sepolia (12 contracts)
| Contract | Address |
|---|---|
| CoreLayer | 0xb04F4DFe093dC80420117EDC8300f5EB6F6EDBf0 |
| veQS | 0xE72dFa97C9E452dC0b8E6aa026c910D21B20fCAE |
| Governor | 0xe93b8129DC3dBD48E5d78C5A4C156DD1BFa8D65B |
| QSToken | 0xBD66beBE19E664dF143da54808d746192e4f2ee2 |
All L3 contracts verified on Sourcify.
Quick Start
Prerequisites
- Docker & Docker Compose
- Rust 1.75+ with cargo
- Node.js 20+ with pnpm
- Foundry (forge, anvil)
Development Setup
# 1. Start infrastructure
docker compose up -d postgres redis rabbitmq l3-node minio minio-init
# 2. Run database migrations
cd src/api/api
DATABASE_URL="postgresql://quantum:quantum_dev@localhost:5432/quantum_shield" sqlx migrate run
# 3. Start backend API (port 8080)
cargo run --bin api-server
# 4. Start frontend (port 3000)
cd src/frontend/web
pnpm install
pnpm dev
Verify
curl http://localhost:8080/v1/health
# {"status":"healthy"}
Project Structure
quantum-shield/
βββ src/
β βββ api/api/ # Rust/Axum backend
β β βββ src/routes/ # API route handlers
β β βββ src/services/ # Business logic
β β βββ migrations/ # PostgreSQL migrations (17 files)
β β βββ config/ # YAML configuration
β βββ frontend/web/ # Next.js 15 frontend
β β βββ src/app/ # App Router pages (11 apps)
β β βββ src/components/ # 300+ React components
β β βββ src/hooks/ # React Query hooks per app
β β βββ locales/ # ja/en translations
β βββ l1/contracts/ # L1 Solidity contracts (Foundry)
β βββ l3/ # L3 governance contracts
β βββ frontend/sdk/wasm/ # WASM SDK (Dilithium + SPHINCS+)
βββ docs/
β βββ core/SEQUENCES.md # 9 core sequence specifications
β βββ ACTUAL_STATE.md # Current implementation state
β βββ pitch/ # Pitch deck, grant applications
βββ docker-compose.yml # Development infrastructure
βββ .github/workflows/ # CI/CD pipelines
Testing
# Backend
cd src/api/api && cargo test
# Frontend E2E
cd src/frontend/web && npx playwright test
# Smart Contracts
cd src/l1/contracts && forge test
Test Coverage: 137 E2E tests passing, 107 integration tests, 0 failures.
Security
- Cryptography: NIST FIPS 204 ML-DSA-65 + FIPS 205 SLH-DSA (post-quantum)
- Hashing: SHA3-256 (no keccak256 in application layer)
- Authentication: SIWE (Sign-In with Ethereum) + JWT
- Time Locks: 24h normal, 7-day emergency with bond collateral
- Slashing: Quadratic penalty for malicious provers
Audit Status
- Internal code review
- External audit (planned)
License
This project is licensed under the MIT License. See LICENSE for details.
Built for a post-quantum future.
Install
Add bridgeguard mcp to your client. Pick the one you use.
claude mcp add bridgeguard-mcp -- npx -y bridgeguard-mcpcodex mcp add bridgeguard-mcp -- npx -y bridgeguard-mcpamp mcp add bridgeguard-mcp -- npx -y bridgeguard-mcp{
"mcpServers": {
"bridgeguard-mcp": {
"command": "npx",
"args": [
"-y",
"bridgeguard-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"bridgeguard-mcp": {
"command": "npx",
"args": [
"-y",
"bridgeguard-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"bridgeguard-mcp","command":"npx","args":["-y","bridgeguard-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"bridgeguard-mcp": {
"command": "npx",
"args": [
"-y",
"bridgeguard-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"bridgeguard-mcp": {
"command": "npx",
"args": [
"-y",
"bridgeguard-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"bridgeguard-mcp": {
"command": "npx",
"args": [
"-y",
"bridgeguard-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"bridgeguard-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"bridgeguard-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"bridgeguard-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"bridgeguard-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y bridgeguard-mcpRun `goose configure`, choose **Add Extension β Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance19/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 3 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.0Latest | Mar 27, 2026 |