{
  "serverInfo": {
    "name": "BoiMix MCP Server",
    "title": "BoiMix Model Context Protocol Server",
    "version": "1.0.0"
  },
  "description": "Model Context Protocol (MCP) server for BoiMix \u2014 Bangladesh's premier book exchange, community library borrowing, and circular book marketplace. Search catalog titles, inspect copy conditions, check neighborhood library shelf loans, and find book exchange listings.",
  "url": "https://api.boimix.com/mcp",
  "endpoint": "https://api.boimix.com/mcp",
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://api.boimix.com/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "search_books",
      "description": "Search and filter books by title, author, category, curriculum, and district across Bangladesh.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search keyword, book title, or ISBN"
          },
          "category": {
            "type": "string",
            "description": "Category slug, genre, or curriculum code"
          },
          "district": {
            "type": "string",
            "description": "Bangladesh district name (e.g. Dhaka, Chittagong, Sylhet)"
          },
          "max_price": {
            "type": "number",
            "description": "Maximum price in BDT"
          }
        }
      }
    },
    {
      "name": "check_book_availability",
      "description": "Check real-time copy availability, condition grade (Like New, Good, Acceptable), and pricing for a book.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Book slug or unique identifier"
          }
        },
        "required": ["slug"]
      }
    },
    {
      "name": "find_book_exchanges",
      "description": "Discover active reader book exchange proposals and matching listings across Bangladesh.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "wanted_title": {
            "type": "string",
            "description": "Title user wants to read"
          },
          "offered_title": {
            "type": "string",
            "description": "Title user offers in exchange"
          },
          "district": {
            "type": "string",
            "description": "Location or district filter"
          }
        }
      }
    },
    {
      "name": "locate_community_shelves",
      "description": "Locate neighborhood community library shelves, shelf availability, and verify membership borrowing credits.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "district": {
            "type": "string",
            "description": "District or neighborhood in Bangladesh"
          }
        }
      }
    },
    {
      "name": "track_order_status",
      "description": "Check doorstep courier shipping progress and status for active book orders.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "order_number": {
            "type": "string",
            "description": "BoiMix order identifier (e.g. BM-12345)"
          }
        },
        "required": ["order_number"]
      }
    }
  ]
}
