{
  "schema_version": "2025-03-26",
  "name": "insurelink",
  "description": "InsureLink MCP server for AI agents to manage long-term SLA agreements, query reputation, and execute x402-paid actions on Base. Built for agentic wallets and agentic commerce.",
  "url": "https://insurelink.ai",
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://ivnmscuuljqubunqcgkh.supabase.co/functions/v1/mcp-server/mcp"
  },
  "authentication": {
    "type": "x402",
    "description": "Paid actions require an x-payment header with x402 token from Coinbase facilitator",
    "facilitator_url": "https://x402.coinbase.com"
  },
  "tools": [
    {
      "name": "discover_capabilities",
      "description": "Returns the full InsureLink capability manifest including supported actions, tokens, pricing, and framework compatibility. Start here.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_reputation",
      "description": "Returns reputation score, tier (Bronze/Silver/Gold/Platinum), stats, and flags for a given wallet address.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "wallet": {
            "type": "string",
            "description": "Wallet address (0x...)"
          }
        },
        "required": [
          "wallet"
        ]
      }
    },
    {
      "name": "get_leaderboard",
      "description": "Returns the top 25 most reliable agents ranked by reputation score.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_sla_history",
      "description": "Returns the full SLA history for a given wallet address.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "wallet": {
            "type": "string",
            "description": "Wallet address (0x...)"
          }
        },
        "required": [
          "wallet"
        ]
      }
    },
    {
      "name": "get_activity",
      "description": "Returns recent platform transactions.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "number",
            "description": "Max transactions (default 50, max 200)"
          }
        }
      }
    },
    {
      "name": "simulate_action",
      "description": "Free dry-run for any paid action. Validates params, x402 header shape, and simulates the contract call before payment.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "mint_sla",
              "renew_sla",
              "wrap_usdc",
              "micro_reset",
              "early_exit"
            ]
          },
          "params": {
            "type": "object",
            "description": "Paid action parameters"
          }
        },
        "required": [
          "action",
          "params"
        ]
      }
    },
    {
      "name": "simulate_paid_action",
      "description": "Free deterministic pre-flight for any paid action. Returns would_succeed, exact_cost_usd, gas_estimate, blockers, and expected receipt shape.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "mint_sla",
              "renew_sla",
              "wrap_usdc",
              "micro_reset",
              "early_exit"
            ]
          },
          "params": {
            "type": "object",
            "description": "Paid action parameters"
          }
        },
        "required": [
          "action",
          "params"
        ]
      }
    },
    {
      "name": "simulate_paid_action_batch",
      "description": "Free batch pre-flight for ordered paid-action flows. Returns per-step receipts plus totals for exact cost, reputation delta, and gas estimate.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "steps": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "action": {
                  "type": "string",
                  "enum": [
                    "mint_sla",
                    "renew_sla",
                    "wrap_usdc",
                    "micro_reset",
                    "early_exit"
                  ]
                },
                "params": {
                  "type": "object"
                }
              },
              "required": [
                "action",
                "params"
              ]
            }
          }
        },
        "required": [
          "steps"
        ]
      }
    },
    {
      "name": "mint_sla",
      "description": "Creates a new ERC-721 SLA agreement NFT. Requires x402 payment ($0.01) plus agent fee % of bond amount.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "counterparty": {
            "type": "string",
            "description": "Counterparty wallet address"
          },
          "duration": {
            "type": "integer",
            "enum": [
              5,
              7,
              10
            ],
            "description": "Agreement duration in years"
          },
          "bondAmount": {
            "type": "string",
            "description": "Bond amount in iUSDC base units"
          },
          "coverageLevel": {
            "type": "integer",
            "description": "Insurance coverage level (0-3)"
          }
        },
        "required": [
          "counterparty",
          "duration",
          "bondAmount"
        ]
      }
    },
    {
      "name": "renew_sla",
      "description": "Renews an existing SLA agreement. Requires x402 payment ($0.005).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "tokenId": {
            "type": "integer",
            "description": "SLA token ID"
          },
          "duration": {
            "type": "integer",
            "enum": [
              5,
              7,
              10
            ],
            "description": "Renewal duration in years"
          }
        },
        "required": [
          "tokenId"
        ]
      }
    },
    {
      "name": "wrap_usdc",
      "description": "Wraps USDC into iUSDC (InsureLink wrapped token). Requires x402 payment ($0.001).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "Amount of USDC to wrap (in base units)"
          }
        },
        "required": [
          "amount"
        ]
      }
    },
    {
      "name": "micro_reset",
      "description": "Resets the insurance window for an SLA. Requires x402 payment ($0.001).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "tokenId": {
            "type": "integer",
            "description": "SLA token ID"
          }
        },
        "required": [
          "tokenId"
        ]
      }
    },
    {
      "name": "early_exit",
      "description": "Exits an SLA early with applicable protection adjustment. Requires x402 payment ($0.005).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "tokenId": {
            "type": "integer",
            "description": "SLA token ID"
          }
        },
        "required": [
          "tokenId"
        ]
      }
    }
  ],
  "resources": [
    {
      "name": "x402_manifest",
      "description": "x402 payment manifest with pricing and asset info",
      "uri": "insurelink://x402-manifest",
      "mimeType": "application/json"
    },
    {
      "name": "openapi_spec",
      "description": "OpenAPI 3.1 specification for the agent orchestrator API",
      "uri": "insurelink://openapi-spec",
      "mimeType": "text/plain"
    }
  ],
  "supported_tokens": [
    "USDC",
    "USDT",
    "DAI",
    "EURC"
  ],
  "chain": "eip155:8453",
  "contract": "0x2bE3C6ad46408557Abe880804e55Bc37be4C3581",
  "insurelink_trust_extensions": {
    "multi_agent_sla_coordination": true,
    "on_chain_reputation_engine": true,
    "ai_assisted_approval": true,
    "growing_protection_levels": true,
    "cross_framework_interoperability": true
  },
  "tool_count": 13,
  "free_tool_count": 8,
  "paid_tool_count": 5,
  "last_updated": "2026-05-07",
  "tags": [
    "agentic-wallets",
    "agentic-commerce",
    "agentic-payments",
    "x402",
    "mcp",
    "a2a"
  ],
  "categories": [
    "agentic-wallets",
    "agentic-commerce"
  ],
  "agentic_wallet_ready": true,
  "agentic_commerce_ready": true
}