io.github.skewing1/insurelink
Official32 toolsInsureLink
AI agent-to-agent SLA agreements on Base with insurance, reputation, and x402 payments.
Agent-to-agent SLA agreements with insurance and reputation on blockchain.
Captured live from the server via tools/list.
discover_capabilities
Returns the full InsureLink capability manifest including supported actions, tokens, pricing, protection schedule, and framework compatibility.
No parameters.
get_reputation
Returns reputation score, tier, stats, and flags for a wallet address.
Parameters (1)
- walletstringrequired
Wallet address (0x...)
get_leaderboard
Returns the top 25 most reliable agents ranked by reputation score.
No parameters.
get_sla_history
Returns the full SLA history for a wallet address.
Parameters (1)
- walletstringrequired
Wallet address (0x...)
get_activity
Returns recent platform transactions.
Parameters (1)
- limitnumber
Max transactions (default 50, max 200)
get_attestation
Returns a signed, portable reputation credential (EIP-191 personal_sign) for an agent wallet. Includes score, tier, SLA summary, breach rate, signer address, and 30-day expiry. Issued only to wallets with at least one SLA on InsureLink (Bronze+). Free.
Parameters (1)
- walletstringrequired
Wallet address (0x...)
verify_attestation
Verifies an InsureLink reputation attestation for a wallet. Re-derives the signed payload server-side, recovers the EIP-191 signer, and returns { valid, signer, recovered, expires_at, checks }. Free.
Parameters (1)
- walletstringrequired
Wallet address (0x...)
get_attestation_freshness
Probes how fresh a wallet's reputation snapshot and persisted attestation are. Free preview returns thresholds and the paid endpoint URL; the actual freshness response (snapshot_age_seconds, attestation_age_seconds, expires_in_seconds, is_stale, stale_reasons[], next_action) requires x402 payment ($0.001) to GET /agent-orchestrator/attestation/{wallet}/freshness. Use this before paying for a fresh attestation mint ($0.005) — if is_stale=false you can skip the mint.
Parameters (1)
- walletstringrequired
Wallet address (0x...) to probe for freshness.
subscribe_attestation_freshness
Subscribes a webhook URL to receive signed POST alerts whenever a watched wallet's persisted attestation is about to expire (attestation.expiring_soon, fires once when within attestation_expiry_warning_days of expires_at) or has expired (attestation.expired, fires once when expires_at crosses). Backed by the same paid drift subscription ($0.01) so the same callback also receives reputation.drift events unless threshold_tier_change=false and threshold_score is set high. 30-day paid window. Each POST includes X-InsureLink-Event header and the schema 'insurelink/attestation-event/v1'. Requires x402 payment ($0.01). Returns payment instructions.
Parameters (7)
- walletstringrequired
Wallet address whose attestation freshness to monitor.
- callback_urlstringrequired
HTTPS endpoint that will receive POST attestation-expiry alerts.
- attestation_expiry_warning_daysinteger
How many days before expires_at to fire attestation.expiring_soon. Default 7. Set 0 to disable early warning and only fire on attestation.expired.
- threshold_scoreinteger
Reputation drift threshold reused on the same subscription. Default 5. Set 100 to mute drift events and only receive attestation events.
- threshold_tier_changeboolean
If true (default), tier flips also fire reputation.drift events on this subscription.
- duration_daysinteger
Length of the paid monitoring window in days. Default 30.
- max_notificationsinteger
Cap on POST alerts before subscription auto-exhausts. Default 100.
unsubscribe_attestation_freshness
Cancels a previously created attestation-freshness webhook subscription (also cancels the bundled reputation.drift channel on the same subscription). Free. Provide the subscription id returned by subscribe_attestation_freshness / POST /reputation-drift-subscribe. Remaining paid window is forfeited; no refund. Returns { ok, id, cancelled_at } on success.
Parameters (1)
- idstringrequired
Subscription id returned from subscribe_attestation_freshness or the paid /reputation-drift-subscribe response.
list_attestation_freshness_subscriptions
Lists all reputation-drift / attestation-freshness webhook subscriptions for a wallet. Returns id, callback_url, status (active/cancelled/exhausted/expired), notifications_sent vs max_notifications, last_attestation_event (none/expiring_soon/expired) with timestamp, attestation_expiry_warning_days, last_score/tier, last_checked_at, expires_at. Free. Use to audit what's being monitored and how many alerts have already fired before paying for another subscription.
Parameters (2)
- walletstringrequired
Watched wallet address (0x...) to list subscriptions for.
- only_activeboolean
If true, return only status='active' subscriptions. Default false (returns all).
network_lookup
Discovers bonded agent-network providers (clean-IP proxy egress, private mempool relay) listed on InsureLink. Returns provider wallets, x402 payment URLs, prices, and Smart Wallet / EOA compatibility hints. Free preview via this tool; full directory requires x402 payment ($0.001) at the paid endpoint.
Parameters (1)
- templatestring
Optional template slug filter (e.g. proxy-egress-provider, private-mempool-relay)
voice_intent
Parses a natural-language command (e.g. 'renew my SLA #42 for 5 years', 'check reputation for 0x…', 'pay 1.50 USDC to 0x…') into a structured InsureLink action plan with endpoint, params, payment requirements, and confidence. Free preview returns the supported grammar; full classification requires x402 payment ($0.001) at the paid endpoint.
Parameters (1)
- utterancestring
Optional sample utterance to echo in the preview response.
check_agent_insurance
Checks whether an AI agent / wallet has active insurance coverage on InsureLink, including tier, caps, expiry, and covered events. Free. Standard HTTPS + JSON via the agent-assurance REST module.
Parameters (1)
- agent_idstringrequired
Agent / wallet address (0x...)
get_agent_risk_score
Returns a 0..100 risk score plus LOW/MODERATE/ELEVATED/HIGH risk band for an AI agent / wallet, with the underlying signals (coverage status, daily spend, denied claim ratio). Free.
Parameters (1)
- agent_idstringrequired
Agent / wallet address (0x...)
verify_transaction_safety
Pre-transaction safety check for an autonomous AI agent transaction. Returns verified, risk_level, coverage_available, transaction_limits, additional_verification_required, and a transaction_recommendation: APPROVED | APPROVED_WITH_ESCROW | REQUIRE_ADDITIONAL_VERIFICATION | BLOCKED_HIGH_RISK | BLOCKED_LIMIT_EXCEEDED.
Parameters (4)
- agent_idstringrequired
Agent / wallet about to transact
- amount_usdcnumberrequired
Transaction amount in USDC
- actionstring
Logical action key (e.g. x402_call, a2a_transfer)
- counterpartystring
Optional counterparty 0x address
get_agent_claim_history
Returns recent insurance claim history for an AI agent / wallet on InsureLink, including filed, approved, partial, and denied claims. Free.
Parameters (2)
- agent_idstringrequired
Agent / wallet address (0x...)
- limitinteger
Max claims to return. Default 25.
mint_sla
Creates a new ERC-721 SLA agreement NFT. Requires x402 payment ($0.01). Returns payment instructions.
Parameters (4)
- counterpartystringrequired
Counterparty wallet address
- durationnumberrequired
Duration in years (5, 7, or 10)
- bondAmountstringrequired
Bond amount in iUSDC base units
- coverageLevelnumber
Insurance coverage level (0-3)
renew_sla
Renews an existing SLA agreement. Requires x402 payment ($0.005). Returns payment instructions.
Parameters (2)
- tokenIdnumberrequired
SLA token ID
- durationnumber
Renewal duration (5, 7, or 10 years)
wrap_usdc
Wraps USDC into iUSDC. Requires x402 payment ($0.001). Returns payment instructions.
Parameters (1)
- amountstringrequired
Amount of USDC to wrap (base units)
micro_reset
Resets the insurance window for an SLA. Requires x402 payment ($0.001). Returns payment instructions.
Parameters (1)
- tokenIdnumberrequired
SLA token ID
early_exit
Exits an SLA early with protection adjustment. Requires x402 payment ($0.005). Returns payment instructions.
Parameters (1)
- tokenIdnumberrequired
SLA token ID
claim_breach_credit
Verifies the on-chain SLA agreement state for tokenId and, if active and the caller is a party, calls microResetInsurance to mitigate the breach. Use after a drift or expiry alert. Requires x402 payment ($0.005). Returns payment instructions.
Parameters (2)
- tokenIdnumberrequired
SLA token ID to verify and mitigate
- reasonstring
Optional human-readable breach reason for audit
mitigation_receipt
Verifies a claim_breach_credit transaction by tx hash and returns a canonical mitigation receipt suitable for insurer/registry attestations. Reads from existing on-chain settlement records — no new state. Requires x402 payment ($0.001). Returns payment instructions.
Parameters (1)
- txHashstringrequired
Transaction hash of the breach-mitigation call
verify_reputation_snapshot
Compares a wallet's latest stored reputation_history snapshot against a fresh live cross-chain reputation computation. Returns { snapshot, live, match, drift, signature, signer } so counterparty agents can confirm an advertised score isn't stale before transacting. Signed EIP-191 by the InsureLink platform key. Requires x402 payment ($0.001). Returns payment instructions.
Parameters (1)
- walletstringrequired
Wallet address whose snapshot to verify against live reputation
attest_reputation
Recomputes the live cross-chain reputation for a wallet, persists a fresh EIP-191 signed attestation in attestation_records (replacing any prior pin), and returns { attestation, canonical_payload, signature, signer } as a portable proof an agent can present to insurers, registries, or counterparty agents. Use when you need an on-the-record, timestamp-fresh credential rather than the cached free attestation. Requires x402 payment ($0.005). Returns payment instructions.
Parameters (1)
- walletstringrequired
Wallet address to attest. Must have at least one SLA on InsureLink.
subscribe_reputation_drift_alerts
Subscribes a webhook URL to receive signed POST notifications whenever a watched wallet's reputation snapshot drifts beyond the configured threshold (score delta and/or tier change). 30-day paid window per subscription. The reputation-drift-monitor cron evaluates active subscriptions and POSTs { event:'reputation.drift', wallet, previous, current, drift, observed_at, subscription_id } to callback_url. Use to be notified the moment a counterparty's reputation degrades — replaces polling /cross-chain-reputation. Requires x402 payment ($0.01). Returns payment instructions.
Parameters (6)
- walletstringrequired
Wallet address to monitor for reputation drift.
- callback_urlstringrequired
HTTPS endpoint that will receive POST drift alerts.
- threshold_scoreinteger
Minimum |score_delta| that triggers a POST. Default 5.
- threshold_tier_changeboolean
If true (default), any tier flip (Bronze↔Silver↔Gold↔Platinum) fires regardless of score_delta.
- duration_daysinteger
Length of the paid monitoring window in days. Default 30.
- max_notificationsinteger
Cap on POST alerts before subscription auto-exhausts. Default 100.
simulate_action
Free dry-run for any paid action (mint_sla, renew_sla, wrap_usdc, micro_reset, early_exit). Validates params, x402 header shape, and simulates the contract call against Base. Never broadcasts. Returns { simulated: true, would_succeed, revertReason? } or a precise error. Use this before calling any paid tool.
Parameters (2)
- actionstringrequired
Paid action name (kebab-case)
- paramsobjectrequired
Same params you would send to the paid tool
simulate_paid_action
FREE dry-run for any paid action. Returns a deterministic shape: { would_succeed, exact_cost_usd (LIVE from /agent-pricing-oracle), gas_estimate, contract_call, reputation_delta, expected_receipt_schema, validation_errors[], pricing: { source, expected_value_usd, roi_ratio, recommended_priority, coupon? } }. Never broadcasts, never charges. Use BEFORE any paid tool to avoid wasted x402 settlements. Supported actions: wrap, mint-sla, renew, micro-reset, early-exit.
Parameters (2)
- actionstringrequired
Paid action name (kebab-case)
- paramsobjectrequired
Same params you would send to the paid tool. Required keys vary by action — see expected_receipt_schema. Tip: include `wallet`, `bond_amount`, `duration_years`, `amount_usdc` so /agent-pricing-oracle can return wallet-specific discounts and ROI.
simulate_paid_action_batch
FREE batch dry-run. Accepts an ordered list of {action, params} steps and returns { results[], totals: { exact_cost_usd, reputation_delta, gas_estimate }, any_would_fail, expected_receipts[] }. Never broadcasts, never charges. Use to plan and price multi-step flows (e.g. wrap → mint-sla → renew) before executing.
Parameters (2)
- stepsarrayrequired
Ordered list of paid actions to simulate (max 20).
- stop_on_first_failureboolean
If true, stop simulating after the first step whose would_succeed=false. Default false: simulate all steps.
pay_then_call
Wrap any paid HTTP endpoint in the x402 pay-then-call loop and return the downstream response plus an EIP-191 signed receipt proving InsureLink mediated the call. The signed context envelope contains: { request: {url, method, body_sha256}, payment: {asset, amount, network, settlement_id}, response: {status, sha256, content_type, length}, observed_at, mediator: 'insurelink' } and a signature recoverable to InsureLink's deployer key. Two modes: (a) caller_supplies_payment — pass `x_payment_header` (base64) so the upstream call is settled by your wallet; (b) `mode='quote_only'` — return only the 402 quote without paying. Pass `idempotency_key` to safely retry: identical requests return the cached signed receipt without settling a second payment, and conflicting payloads under the same key are rejected. Use this to give an LLM verifiable provenance for any paid agent call (banking, market data, gov endpoints).
Parameters (10)
- urlstringrequired
Target paid endpoint.
- methodstring
HTTP method. Default GET.
- headersobject
Extra request headers (Content-Type, Authorization, etc.).
- bodystring
Raw request body. JSON-encode before passing.
- x_payment_headerstring
Base64-encoded X-PAYMENT header (caller pre-builds settlement payload). Required unless mode='quote_only'.
- max_amount_usdcnumber
Refuse to settle if the 402 quote exceeds this USDC amount. Default 10.
- modestring
`quote_only` returns the 402 quote without settling. Default `pay_and_call`.
- agent_walletstring
Calling agent wallet (logged in the signed receipt for downstream attribution).
- purposestring
Free-form audit string included in the signed receipt.
- idempotency_keystring
Client-supplied idempotency key. If provided, repeated calls with the same key return the cached response and never settle a second payment. A subsequent call with the same key but a different request payload is rejected with `idempotency_key_conflict`. Keys are retained for 24h.
insurelink_charge
Lovable-friendly entry point: same x402 quote → pay → call loop as `pay_then_call`, plus vertical-aware pricing. Pass `vertical` (logistics, legal, oracles, banking, fintech, healthcare, insurance, government, defense, …) and the upstream x402 server re-prices each accepts[] entry by tier (standard 1× / regulated 1.5× / sovereign 2.5× / defense 3×). Pass `attestation: "pio:<id>"` (or fedramp:/soc2:) for a 20% compliance discount on regulated+ tiers. The signed receipt envelope is tagged `source: "lovable"` and includes a `vertical: { claimed_slug, attestation, quoted: { tier, multiplier, attested, ... } }` block recording the tier the upstream actually quoted — that is the audit trail for tier billing. Returns { paid, upstream_status, response, signed_context: { envelope, envelope_json, envelope_sha256, signature, signer, scheme: 'EIP-191' } }. Pass `idempotency_key` to safely retry without double-settling.
Parameters (12)
- urlstringrequired
Target paid endpoint.
- methodstring
HTTP method. Default GET.
- headersobject
Extra request headers (Content-Type, Authorization, etc.).
- bodystring
Raw request body. JSON-encode before passing.
- x_payment_headerstring
Base64-encoded X-PAYMENT header (caller pre-builds settlement payload). Required unless mode='quote_only'.
- max_amount_usdcnumber
Refuse to settle if the 402 quote exceeds this USDC amount. Default 10.
- modestring
`quote_only` returns the 402 quote without settling. Default `pay_and_call`.
- agent_walletstring
Calling agent wallet (logged in the signed receipt for downstream attribution).
- purposestring
Free-form audit string included in the signed receipt.
- idempotency_keystring
Client-supplied idempotency key. If provided, repeated calls with the same key return the cached response and never settle a second payment. A subsequent call with the same key but a different request payload is rejected with `idempotency_key_conflict`. Keys are retained for 24h.
- verticalstring
Industry/sector slug. Drives the per-vertical pricing tier in accepts[] (standard 1× / regulated 1.5× / sovereign 2.5× / defense 3×). Forwarded to upstream as `vertical` body field and `x-vertical` header.
- attestationstring
Third-party compliance attestation in the form `pio:<id>` / `fedramp:<id>` / `soc2:<id>`. Grants a 20% discount on regulated/sovereign/defense tiers. Forwarded as `attestation` body field and `x-attestation` header. Recorded in the signed envelope so verifiers can audit the claimed compliance.
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"insurelink": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ivnmscuuljqubunqcgkh.supabase.co/functions/v1/mcp-server/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.