{
  "$schema": "https://raw.githubusercontent.com/modelcontextprotocol/specification/main/schema/server-card.json",
  "name": "kemenag-oki-mcp-server",
  "version": "1.0.0",
  "title": "Kantor Kementerian Agama Kabupaten Ogan Komering Ilir MCP Server",
  "description": "Model Context Protocol (MCP) server providing structured tools and resources to interact with public religious services, prayer times, news, PTSP tracking, and KUA directories in Ogan Komering Ilir Regency.",
  "homepage": "https://kemenagoki.id",
  "endpoint": "https://kemenagoki.id/api/mcp",
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "search_kemenag_oki",
      "description": "Mencari berita resmi, layanan keagamaan, izin operasional, atau artikel pada portal Kemenag OKI",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Kata kunci pencarian (misal: 'zakat', 'nikah', 'haji', 'beasiswa madrasah')"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "get_prayer_times",
      "description": "Mendapatkan jadwal waktu sholat harian atau bulanan resmi untuk wilayah Kabupaten Ogan Komering Ilir",
      "inputSchema": {
        "type": "object",
        "properties": {
          "year": {
            "type": "number",
            "description": "Tahun masehi (contoh: 2026)"
          },
          "month": {
            "type": "number",
            "description": "Bulan (1-12)"
          }
        }
      }
    },
    {
      "name": "get_kua_directory",
      "description": "Mendapatkan daftar dan kontak 18 Kantor Urusan Agama (KUA) Kecamatan di Kabupaten OKI",
      "inputSchema": {
        "type": "object",
        "properties": {
          "kecamatan": {
            "type": "string",
            "description": "Nama kecamatan opsional (contoh: 'Kayuagung', 'Lempuing', 'Mesuji')"
          }
        }
      }
    },
    {
      "name": "track_ptsp_document",
      "description": "Melacak status permohonan layanan PTSP Kemenag OKI menggunakan kode token pendaftaran",
      "inputSchema": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "Kode token permohonan PTSP (contoh: 'PTSP-2026-XXXX')"
          }
        },
        "required": ["token"]
      }
    }
  ],
  "resources": [
    {
      "uri": "kemenag://llms.txt",
      "name": "LLMs Summary",
      "mimeType": "text/plain",
      "description": "Curated machine-readable overview of Kemenag OKI services"
    },
    {
      "uri": "kemenag://news/feed",
      "name": "Latest News Feed",
      "mimeType": "application/json",
      "description": "JSON feed of latest official news releases"
    }
  ]
}
