VELQIRIS Market Truth MCP Server
You can use this MCP server to query fail-closed cryptocurrency market truth signals for BTC, ETH, SOL, and ICP.
Get multi-venue spot-price consensus across Coinbase, Binance, and OKX, refusing results if fewer than two independent venues respond.
Request risk-regime verification for an asset, with protection against inventing a regime from a single point-in-time snapshot.
Integrate via MCP tools into agentic AI workflows, using either HTTP/serverless or stdio transports.
Sources Binance spot prices for the multi-venue market truth consensus engine, contributing to fail-closed consensus for BTC, ETH, SOL, and ICP.
Sources Coinbase spot prices for the multi-venue market truth consensus engine, contributing to fail-closed consensus for BTC, ETH, SOL, and ICP.
Sources OKX spot prices for the multi-venue market truth consensus engine, contributing to fail-closed consensus for BTC, ETH, SOL, and ICP.
VELQIRIS Alexa+ & Model Context Protocol (MCP) Market Truth Server
![]()
A market truth consensus engine implementing:
Model Context Protocol (MCP) server (
http_mcp_server.js,mcp_server.js, andnetlify/functions/amazon-mcp.js) with the JSON-RPC 2.0 and Streamable HTTP behaviors exercised by this project's tests (protocol version2025-11-25).Alexa+ Web Simulation & In-Browser MCP Client (
public/index.html) implementing the complete client lifecycle (initialize->notifications/initialized->tools/list->tools/call).
It answers spot-price questions only when at least two independent venues respond and strictly refuses to invent a market regime from a point-in-time snapshot (fail-closed).
Live MCP Endpoint & Local Web Simulation
Live Serverless MCP Endpoint (JSON-RPC
POST):https://velqiris-acquisition.netlify.app/.netlify/functions/amazon-mcpLocal Web Simulation UI:
public/index.html(launch locally vianetlify dev; the older static/alexa-simulation.htmlpreview path on Netlify was retired)VELQIRIS Official Site: https://genesiscode2026.github.io/velqiris/ | Portfolio Overview: https://velqiris-acquisition.netlify.app/
(Note: Explicitly labeled as a developer simulation per hackathon guidelines. Does not claim proprietary Amazon certification or direct production consumer hardware deployment).
Related MCP server: Headless Oracle
Model Context Protocol (MCP) Integration
VELQIRIS implements a standard MCP server for agentic AI architectures (Claude Desktop, MCP clients, Amazon Alexa Agentic workflows):
Protocol Details
Transports:
Local / Container Streamable HTTP: Native Node.js HTTP server (
http_mcp_server.js) with chunked transfer (Transfer-Encoding: chunked), session lifecycle tracking (Mcp-Session-Id), and Origin validation (403 on untrusted origins).Serverless HTTP: Stateless edge endpoint (
netlify/functions/amazon-mcp.js) designed to operate across non-sticky serverless function instances.Standard I/O (stdio): CLI / desktop MCP adapter (
mcp_server.js).
Protocol Version:
2025-11-25(Model Context Protocol specification)Specification: JSON-RPC 2.0 with session tracking and version negotiation
Tools Exposed
get_market_truth_consensus: Fetches multi-venue spot price consensus (Coinbase, Binance, OKX). Fails closed if fewer than 2 independent sources respond.Schema:
{ symbol: "BTC" | "ETH" | "SOL" | "ICP" }
verify_risk_regime: Refuses to label a market regime from a single snapshot. The public serverless response usesstatus: REGIME_VERIFICATION_REFUSEDandrisk_status: INSUFFICIENT_TIME_SERIES_FOR_REGIME_FORECAST.Schema:
{ symbol: "BTC" | "ETH" | "SOL" | "ICP" }
Resources Exposed
velqiris://provenance/policy: Invariants for multi-venue price consensus and fail-closed security rules.velqiris://architecture/summary: Overview of VELQIRIS agentic verification layer.
Verification & Judging Deliverables
Judge Start Here:
JUDGE_START_HERE.md(Quick verification guide)MCP Behavior Report:
AMAZON_MCP_COMPLIANCE_REPORT.md(40/40 project-owned assertions pass)Developer Friction Log & Product Feedback:
FRICTION_LOG.md(submitted for the optional judging bonus of up to 10%)Video Demo Script & Shotlist:
AMAZON_VIDEO_SCRIPT.md|AMAZON_VIDEO_SHOTLIST.mdSmithery Registry Config:
smithery.yaml
Running & Testing Locally
Run all unit and MCP protocol tests (deterministic, offline):
npm testRun internal MCP Protocol Verification Test Suite (40 assertions):
npm run verify:mcp
# or: node scripts/verify_amazon_mcp.jsOptional: Run network-dependent live smoke test against live venues:
npm run test:liveStart the Streamable HTTP server:
node http_mcp_server.js
# Listening on http://0.0.0.0:3333/mcpStart the MCP stdio server:
node mcp_server.jsBuild and run the supplied local container:
docker build -t velqiris-market-truth .
docker run --rm -p 3333:3333 velqiris-market-truth
curl http://127.0.0.1:3333/healthStart local Netlify development server:
netlify devInstallation via Smithery & Claude Desktop
To install this MCP server into Claude Desktop via Smithery:
npx -y smithery mcp add chitara-trading/velqiris-market-truthOr configure manually in your claude_desktop_config.json:
{
"mcpServers": {
"velqiris-market-truth": {
"command": "node",
"args": ["/path/to/velqiris-alexa-market-truth/mcp_server.js"]
}
}
}Open-Source Core
This repository is MIT licensed, including commercial-use rights under the terms of the MIT License.
Hackathon Disclosure
This project implements the Model Context Protocol (MCP) and uses the simulated Alexa+ experience path expressly described in the competition requirements. It is not connected to a proprietary consumer Alexa account and does not claim certification or endorsement by Amazon.
License
MIT. See LICENSE.
Available Tools
2 toolsget_market_truth_consensusB
Fetches multi-venue spot price consensus across independent venues (Coinbase, Binance, OKX). Fails closed if fewer than 2 independent sources respond.
Inputs: symbol (required).
verify_risk_regimeB
Evaluates market risk regime for an asset. Fails closed against inventing market regimes from point-in-time snapshots.
Inputs: symbol (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools target clearly different concerns: one returns cross-venue spot price consensus, the other evaluates a risk regime. There is no plausible scenario where an agent would confuse them, and the failure semantics (fail-closed) are described for each.
Both names use snake_case with a leading verb (get_/verify_) followed by a noun phrase, which is predictable and readable. The only minor deviation is that the verbs differ in style ('get' is retrieval, 'verify' implies validation), but this reflects genuinely different operations rather than inconsistency.
Two tools is thin for a server, though the scope here is deliberately narrow (trustworthy market data primitives). Each tool earns its place, but the surface feels like a partial slice rather than a complete server.
Core operations exist for price consensus and risk regime, but there is no way to discover supported assets or venues, check venue health/freshness, or query historical/stale data. Agents hitting an unsupported asset have no recovery path within the tool set.
Maintenance
Related MCP Connectors
CoinDesk Data (formerly CryptoCompare / CCData) MCP.
Read-only crypto MCP: markets, funding, spreads, DeFi, prediction markets, explorer & RPC.
Read-only educational MCP for CryptoDecentral Sovereign. No auth, trading, custody, or advice.
Real-time crypto prices, OHLCV candles, tickers, market cap & exchange quotes MCP via AgentAPIGate.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceReal-time currency exchange rates and crypto prices via MCP. Convert between 60+ fiat currencies and 30+ cryptocurrencies with multi-source failover. No API keys needed for upstream data.ISC
- AlicenseNot gradedqualityBmaintenanceEd25519-signed market-state receipts for 28 exchanges: is the venue open right now, as a receipt any agent can verify without trusting the operator, fail-closed (unknown is reported as closed). MCP tools: get_market_status, get_market_schedule, list_exchanges, get_payment_options. Free tier 500 calls a day with an instant key; x402 pay-per-call at 0.001 USDC on Base; Builder 99 USDC a monthMIT
- AlicenseAqualityCmaintenanceMCP server providing on-chain price oracle data from Chainlink and Pyth Network, with tools for latest and historical prices, feed discovery, and staleness flags. No API keys required; uses free public RPCs and Hermes API.7MIT
- FlicenseNot gradedqualityDmaintenanceEnables MCP clients to retrieve crypto price quotes, momentum signals, trending coins, and a composite scored market verdict from CoinGecko's free public API.-