{
  "$schema": "https://spec.modelcontextprotocol.io/schemas/2025-10/server-card.json",
  "serverInfo": {
    "name": "nemaru-hontogurashi",
    "version": "1.0.0",
    "title": "NEMARU ほんとぐらし",
    "description": "一棟貸し古民家宿『NEMARU』の公式情報と予約受付を提供するMCPサーバー(情報提供型)。宿の概要・料金・空室問い合わせ・予約送信に対応。",
    "vendor": "NEMARU",
    "homepage": "https://www.nagaoka-nemaru.com/",
    "contact": "nagaokagh.nemaru@gmail.com"
  },
  "protocolVersion": "2025-10-07",
  "transport": {
    "type": "http",
    "endpoint": "https://www.nagaoka-nemaru.com/api/mcp",
    "description": "HTTP+SSE transport (read-only). POSTで予約受付、GETで情報取得。"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "listChanged": false,
      "subscribe": false
    },
    "prompts": {
      "listChanged": false
    },
    "logging": {}
  },
  "tools": [
    {
      "name": "get_site_info",
      "title": "施設情報を取得",
      "description": "NEMARUの所在地・定員・料金・チェックイン/アウト時刻などの基本情報を返します。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "enum": ["ja", "en", "zh-tw"],
            "default": "ja"
          }
        }
      }
    },
    {
      "name": "check_availability",
      "title": "空室確認",
      "description": "指定された宿泊日の空室状況を返します。実際の予約確定は行いません。",
      "inputSchema": {
        "type": "object",
        "required": ["checkIn", "checkOut"],
        "properties": {
          "checkIn": { "type": "string", "format": "date" },
          "checkOut": { "type": "string", "format": "date" }
        }
      }
    },
    {
      "name": "submit_reservation_request",
      "title": "予約リクエスト送信",
      "description": "NEMARUへ予約リクエストを送信します。即時確定ではなく、宿側から返信メールが届きます。",
      "inputSchema": {
        "type": "object",
        "required": ["checkIn", "checkOut", "adults", "name", "email", "phone"],
        "properties": {
          "checkIn": { "type": "string", "format": "date" },
          "checkOut": { "type": "string", "format": "date" },
          "adults": { "type": "integer", "minimum": 1, "maximum": 7 },
          "children": { "type": "integer", "minimum": 0, "maximum": 7 },
          "plan": { "type": "string", "enum": ["room_only", "with_dinner"] },
          "name": { "type": "string" },
          "email": { "type": "string", "format": "email" },
          "phone": { "type": "string" },
          "message": { "type": "string" }
        }
      }
    }
  ],
  "resources": [
    {
      "uri": "nemaru://llms.txt",
      "name": "NEMARU LLM-readable summary",
      "description": "サイト全体の概要をMarkdownで提供。エージェントはまずこれを読むと効率的。",
      "mimeType": "text/markdown"
    },
    {
      "uri": "nemaru://openapi",
      "name": "OpenAPI Specification",
      "description": "REST API仕様書",
      "mimeType": "application/vnd.oai.openapi+json"
    }
  ],
  "meta": {
    "authentication": "none",
    "rateLimit": "60 requests/hour per IP",
    "documentation": "https://www.nagaoka-nemaru.com/llms.txt"
  }
}
