Back to Browse

402 In A Box MCP Server

Developer ToolsLow Risk9.9MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Stateless Lahiri Shodashvarga, City Hora Muhurta, and metered Niti synthesis via 402-in-a-Box.

About

Stateless Lahiri Shodashvarga, City Hora Muhurta, and metered Niti synthesis via 402-in-a-Box.

Remote endpoints: streamable-http: https://mcp.vashishta.srigenmedia.com/mcp

Security Report

9.9
Low Risk9.9Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. Trust signals: trusted author (6/6 approved). 2 finding(s) downgraded by scanner intelligence.

Endpoint verified · Open access · 2 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Bearer API key from https://vashishta.srigenmedia.com/402Required

Environment variable: SRIGEN_402_TOKEN

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

402-in-a-Box — HTTP 402 Metering & Compute Packs for MCP

mcptry 402-in-a-Box (Vashishta Metered MCP) MCP server

Turn any Model Context Protocol (2026-07-28) server into a pay-per-call metered API using HTTP 402 Payment Required, atomic reserve-commit-rollback metering, and compliant fiat compute packs (Razorpay INR 18% GST & PayPal USD 0% Export LUT).

  • Live MCP Endpoint: https://mcp.vashishta.srigenmedia.com/mcp
  • Agent Discovery Card: https://mcp.vashishta.srigenmedia.com/.well-known/agent.json
  • Developer Portal & 25-Unit Free Sandbox: https://vashishta.srigenmedia.com/developers/402
  • Kavach KYA Spend-Hold Firewall: https://kavach.srigenmedia.com

3-Step Quickstart

1. Install the Clean-Room SDK

# TypeScript / Cloudflare Workers
npm install @srigenmedia/mcp-402

# Python / FastAPI / MCP
pip install srigen-mcp-402

2. Connect an MCP Client (mcp_config.json)

{
  "mcpServers": {
    "vashishta-402": {
      "type": "streamable-http",
      "url": "https://mcp.vashishta.srigenmedia.com/mcp",
      "headers": {
        "Authorization": "Bearer ${MCP_402_API_KEY}"
      }
    }
  }
}

3. Run the 60-Second Terminal Demo

$env:MCP_402_API_KEY = "<your-sandbox-key-from-portal>"
.\scripts\demo-402-flow.ps1

Architecture: 402-in-a-Box + Kavach KYA

flowchart LR
  Agent["AI Agent / MCP Client"] -->|"1. POST /mcp (No Key)"| Edge["402-in-a-Box Edge Meter"]
  Edge -->|"HTTP 402 + PAYMENT-REQUIRED"| Agent
  Agent -->|"2. Top-up Pack (Razorpay INR / PayPal USD)"| Portal["Developer Portal (/developers/402)"]
  Portal -->|"Mint SRG-COMPUTE-UNIT-V1"| Ledger["Durable Object Credit Meter + D1 Audit"]
  Agent -->|"3. POST /mcp + Bearer Key + Idempotency-Key"| Edge
  Edge -->|"Policy & 2FA Spend-Hold Check (Zero Custody)"| Kavach["Kavach KYA Firewall (kavach.srigenmedia.com)"]
  Kavach -->|"ALLOW / HOLD_2FA"| Edge
  Edge -->|"Reserve -> Execute -> Commit + PAYMENT-RESPONSE"| Agent

Compliance & Zero-Custody Posture

  • Closed-Loop SaaS Compute Units: SRG-COMPUTE-UNIT-V1 billed under SAC 998315 (non-withdrawable, non-transferable compute credits).
  • Taxation & Invoicing: Razorpay 18% GST (INR) and PayPal Orders v2 0% Export LUT (USD) with sequential GST/LUT tax receipts.
  • Indian Crypto Firewall: x402 on-chain facilitator verification is disabled by default (X402_CRYPTO_ENABLED = false) on Indian deployments (opt-in only for non-Indian self-hosters).
  • Kavach KYA (₹0 Custody): Stores only authorization policy state, user_intent_hash, cart_mandate_hash, and verified bank/gateway RRN/UTR proofs — holding ₹0 customer funds.

Reviews

No reviews yet

Be the first to review this server!