{
  "$schema": "https://modelcontextprotocol.io/schema/manifest.json",
  "name": "kamera-ichi",
  "title": "Kamera-ichi Taiwan Photography Marketplace",
  "description": "Taiwan's C2C used camera, lens, and photography equipment marketplace MCP Server. Provides real-time search, price trend analytics, brand data, and listing specifications.",
  "version": "1.0.0",
  "homepage": "https://kamera-ichi.com",
  "transport": {
    "type": "streamable-http",
    "url": "https://kamera-ichi.com/api/mcp"
  },
  "tools": [
    {
      "name": "search_listings",
      "description": "Search active used camera, lens, and photography equipment listings in Taiwan on Kamera-ichi.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "q": { "type": "string", "description": "Search keywords (e.g. Sony A74, Canon RF 24-70, Nikon Z6)" },
          "category": {
            "type": "string",
            "enum": ["camera", "lens", "accessory", "film", "drone", "lighting"],
            "description": "Category filter"
          },
          "brand": { "type": "string", "description": "Brand name filter (e.g. Sony, Canon, Nikon, Fujifilm, Leica)" },
          "listing_type": { "type": "string", "enum": ["sell", "seek"], "description": "sell: items for sale, seek: wanted items" },
          "condition": {
            "type": "string",
            "enum": ["new", "like_new", "excellent", "good", "used", "broken"],
            "description": "Condition rating"
          },
          "location": { "type": "string", "description": "Taiwan county/city (e.g. 台北市, 新北市, 台中市, 高雄市)" },
          "price_min": { "type": "number", "description": "Minimum price in TWD (NT$)" },
          "price_max": { "type": "number", "description": "Maximum price in TWD (NT$)" },
          "sort": { "type": "string", "enum": ["newest", "price_asc", "price_desc"], "description": "Sort order" },
          "limit": { "type": "number", "description": "Maximum results to return (default 20, max 50)" }
        }
      }
    },
    {
      "name": "get_listing",
      "description": "Get complete specifications, price, condition, images, and seller profile for a specific listing ID.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "listing_id": { "type": "string", "description": "Listing UUID" }
        },
        "required": ["listing_id"]
      }
    },
    {
      "name": "get_trends",
      "description": "Get historical average prices, price range, and condition breakdown for a specific camera or lens model in Taiwan.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "brand": { "type": "string", "description": "Brand name (e.g. Sony, Fujifilm, Canon)" },
          "model": { "type": "string", "description": "Model name (e.g. A74, X-T5, EOS R6)" }
        },
        "required": ["brand", "model"]
      }
    },
    {
      "name": "get_trending_models",
      "description": "List top trending models by recent listing volume and price benchmarks in Taiwan.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "days": { "type": "number", "description": "Lookback window in days (default 365)" },
          "limit": { "type": "number", "description": "Max results to return (default 20)" },
          "category": { "type": "string", "description": "Optional category filter" }
        }
      }
    },
    {
      "name": "get_brands",
      "description": "Get list of supported camera/lens brands for a given category.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "enum": ["camera", "lens", "accessory", "film", "drone", "lighting"],
            "description": "Category name"
          }
        },
        "required": ["category"]
      }
    }
  ]
}
