{
	"serverInfo": {
		"name": "Seneschal Data API",
		"version": "0.1.0",
		"vendor": "Seneschal",
		"homepage": "https://seneschal.space"
	},
	"authentication": {
		"required": false
	},
	"transport": {
		"type": "streamable-http",
		"url": "https://mcp.seneschal.space/"
	},
	"tools": [
		{
			"name": "seneschal_health",
			"description": "Service liveness plus row counts and data-source mtimes."
		},
		{
			"name": "seneschal_list_at_risk_borrowers",
			"description": "Borrowers across Aave/Morpho/Spark below max_hf, sorted ascending."
		},
		{
			"name": "seneschal_list_borrowers",
			"description": "Generic discovery surface with HF + debt range filters, sort, offset."
		},
		{
			"name": "seneschal_recent_liquidations",
			"description": "Recent on-chain liquidation events."
		},
		{
			"name": "seneschal_get_borrower",
			"description": "Latest snapshot for one borrower across protocols."
		},
		{
			"name": "seneschal_get_borrower_history",
			"description": "Time-series HF traces for one borrower."
		},
		{
			"name": "seneschal_builder_leaderboard",
			"description": "Ground-truth Ethereum builder market share."
		},
		{
			"name": "seneschal_stats_overview",
			"description": "Aggregate snapshot powering the public stats dashboard."
		},
		{
			"name": "seneschal_flashloan_providers",
			"description": "Curated catalogue of mainnet flash-loan providers including FlashBank."
		},
		{
			"name": "seneschal_agent_directory",
			"description": "Gopher-over-HTTPS ecosystem discovery index + live mirror of the official MCP registry. Drill-down by section; gopher or json. Free."
		},
		{
			"name": "seneschal_paywall_info",
			"description": "Free metadata describing the x402 paywall (network, recipient, per-call price) for premium endpoints."
		},
		{
			"name": "seneschal_premium_opportunities",
			"description": "Top at-risk borrowers ranked by expected value, annotated with realised market intel. Paid via x402 at the REST surface."
		},
		{
			"name": "seneschal_premium_builder_stats",
			"description": "Per-builder bid distribution and hourly slot histogram for searcher bundle pricing. Paid via x402 at the REST surface."
		},
		{
			"name": "seneschal_counter_mev",
			"description": "Counter-MEV / approval-risk intelligence: malicious approval-harvesting spenders, honeypot/bait tokens, dangling approvals — risk-scored. summary/detail/address-lookup. Detail paid via x402 at the REST surface."
		},
		{
			"name": "seneschal_puzzle_risk",
			"description": "Puzzle / bounty contract risk: classifies puzzle/CTF/bounty contracts as locked_no_payout (funds can never leave — e.g. TeikhosBounty), frontrun_bait (pays the solver → submit privately), owner_only_payout, claimable, indeterminate or unfunded, from verified-source + bytecode analysis. summary/detail/address-lookup. Detail paid via x402 at the REST surface."
		},
		{
			"name": "seneschal_private_relay",
			"description": "Private transaction relay: submit a locally-signed raw tx privately (Flashbots + Titan + our rbuilder, never the public mempool) so a sensitive tx — bounty/CTF claim, approval revoke, first-touch — can't be front-run. info + inspect (decode/preview) are free here; the paid relay is POST /v1/premium/private-relay via x402."
		},
		{
			"name": "seneschal_q",
			"description": "Penny Oracle dispatcher — atomic single-fact endpoints across DeFi (liquidatable, at-risk-count, top-builder, builder-share, builder-bid, recent-liquidations, cheapest-flashloan, data-freshness) and privacy chains (xmr/height, xmr/mempool, xmr/fee, xmr/last-block, zec/height, zec/mempool, zec/last-block, zec/pools — value pools + Ironwood migration %). All priced at $0.001/call at the REST surface."
		},
		{
			"name": "seneschal_private_watch_info",
			"description": "Free metadata for the view-key payment-watch service: pricing meter, supported chains, NFPT upstream health, security notes."
		},
		{
			"name": "seneschal_private_watch_create",
			"description": "Subscribe an XMR/ZEC address (with view key) to webhook-delivered payment monitoring. Prepaid credit meter ($0.02/day + $0.005/call). $0.10 creation via x402 at the REST surface."
		},
		{
			"name": "seneschal_private_watch_create_crypto",
			"description": "All-coin onboarding: POST /v1/private/watch-crypto creates AND funds a watch paying in XMR/ZEC — no USDC, no EVM wallet, no x402. Watch activates immediately on grace credit; quoted credit lands when the coin payment confirms."
		},
		{
			"name": "seneschal_private_watch_topup",
			"description": "Returns the URL + body the agent should POST to (with an x402 payment) to top up an existing watch. Three tiers: $0.10, $1, $5."
		},
		{
			"name": "seneschal_private_watch_topup_crypto",
			"description": "Returns the FREE endpoint to fund a watch by paying in Monero/Zcash: POST /v1/private/topup-crypto issues a quote (address + exact amount + memo + locked rate); poll status until settled. No x402 — you pay in coin."
		},
		{
			"name": "seneschal_checkout_invoice_create",
			"description": "Non-custodial merchant checkout: create an exact-amount XMR/ZEC invoice paying YOUR OWN watched wallet. Returns pay page URL + wallet URI; invoice_paid webhook on confirmation. Flat ~$0.02 settlement fee off the watch meter — never a percentage."
		},
		{
			"name": "seneschal_checkout_invoice_status",
			"description": "Public, free invoice status: pending -> confirming -> paid | underpaid | expired. The invoiceId is the capability — buyer agents can poll their own payment."
		},
		{
			"name": "seneschal_private_watch_historical",
			"description": "Returns the URL + body for a one-off paid scan (POST /v1/private/historical at $0.50) returning spendable + spent notes for a view key. View key NEVER persists."
		},
		{
			"name": "seneschal_private_watch_derive_viewkey",
			"description": "FREE, rate-limited Zcash UFVK derivation from a BIP-39 mnemonic via NFPT's orchard-scanner CLI. Loud security warning about phrase transit."
		}
	],
	"resources": [],
	"prompts": []
}