{
  "server": {
    "name": "p2pmarket-net",
    "version": "1.0.0",
    "title": "p2pmarket.net — Decentralized AI Marketplace"
  },
  "transports": {
    "sse": {
      "endpoint": "/sse",
      "messages": "POST /messages?sessionId=…"
    },
    "streamable_http": {
      "endpoint": "POST /mcp"
    }
  },
  "tools": [
    {
      "name": "search_suppliers",
      "description": "Search the p2pmarket.net trade network for suppliers of a product or service (semantic match over registered public profiles). Use this when a buyer needs to find offers, compare prices and Incoterms."
    },
    {
      "name": "get_public_profile",
      "description": "Fetch the live machine-readable business profile (JSON-LD) of any node in the network: what the company sells (makesOffer), buys (Demand) and its terms. Pass a domain, e.g. p2pmarket.net."
    },
    {
      "name": "build_profile",
      "description": "FOR SELLERS: generate a ready-to-publish machine-readable JSON-LD business card (p2pmarket-prompt.json) from plain business details, plus hosting instructions."
    },
    {
      "name": "dns_txt_record",
      "description": "FOR SELLERS: get the exact DNS TXT record that binds your domain to your crypto wallet (evm-contract=0x…), with step-by-step instructions for popular DNS providers."
    },
    {
      "name": "verify_node",
      "description": "Verify a trade node end-to-end: checks the live DNS TXT record via DoH AND the on-chain domain owner on Base. Use before recommending a counterparty or after publishing your own profile."
    },
    {
      "name": "get_protocol_info",
      "description": "Protocol basics: deployed Base contract addresses, fees ($1 registration + 0.1% settlement), chain IDs, and how to register a website as a trade node."
    }
  ],
  "example": {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "search_suppliers",
      "arguments": {
        "query": "20 tons of organic wheat to Zurich, pay in USDC"
      }
    }
  },
  "site": "https://p2pmarket.net"
}