Inspiration

Financial assistants need source-aware answers. A single venue response is insufficient evidence for a market-wide price, and a point-in-time snapshot cannot support a market-regime forecast. VELQIRIS demonstrates a fail-closed approach for an Alexa+ interaction concept.

What It Does

  1. Model Context Protocol tools: Exposes get_market_truth_consensus and verify_risk_regime through an MCP 2025-11-25 JSON-RPC endpoint.
  2. Indicative multi-venue snapshot: Queries Coinbase USD plus Binance and OKX USDT spot indications, requires at least two successful venues, calculates the median, and reports dispersion in basis points. The result is an indicative USD/USDT snapshot, not a tradeable quote.
  3. Fail-closed regime response: Returns REGIME_VERIFICATION_REFUSED, regime: null, and confidence: 0 because a single snapshot cannot establish a market regime.
  4. Browser-based Alexa+ interaction simulation: The public web client displays text-formatted interactions and executes initialize, notifications/initialized, tools/list, and tools/call against the deployed endpoint. It is not connected to a consumer Alexa account and does not claim Amazon certification.

How We Built It

  • Local transport: http_mcp_server.js provides a stateful Streamable HTTP implementation with session validation and Origin checks.
  • Serverless transport: netlify/functions/amazon-mcp.js provides a stateless Netlify endpoint without Mcp-Session-Id.
  • Validation: Requests validate protocol headers, Origin, tool names, and required symbols before external venue calls. Notifications return HTTP 202 with an empty body.
  • Consensus engine: Reports a median, source count, spread in basis points, per-venue values, and one observation timestamp for the completed request. It does not implement per-venue timestamps, staleness rejection, cryptographic attestations, or order execution.

Testing & Verification

  • Deterministic suite: 23 local unit, negative, and integration tests pass with controlled venue responses (npm test).
  • Internal verification: The project-owned verifier completes 40 internal assertions (npm run verify:mcp); this is not an Amazon certification tool.
  • Optional live smoke test: npm run test:live queries currently available public venue endpoints and fails closed when fewer than two respond.
  • Open source: The submission repository is public under the MIT License.

Built With

Share this project:

Updates

Submission history