cmz-mcp

v1.0.0-staging.1
@cmzapp/cmz-mcp Checked 1 day ago Published 16 days ago

ConnectMasjid MCP Server for AI assistants (Warp, Claude, Cursor)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_prayer_timings

Fetch daily prayer schedules and iqamah timings for a masjid across a date range. Returns formatted 12-hour/24-hour times alongside raw minutes.

ParameterTypeDescription
authTokenstringOptional JWT Bearer token override for authentication
endDatestringEnd date (e.g. 'today', 'tomorrow', '2026-08-25'). Evaluated in the Masjid's timezone.
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringMongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.
startDatestringStart date (e.g. 'today', 'tomorrow', '2026-08-25'). Evaluated in the Masjid's timezone.

update_prayer_timings

Create or update prayer timings for a masjid on specific dates. Accepts readable time strings ('05:30 AM', '18:15') or integer minutes from midnight.

ParameterTypeDescription
authTokenstringOptional JWT Bearer token override for authentication
datestringDate (e.g. 'today', 'tomorrow', '2026-08-25') if updating a single day
daysarrayArray of multiple daily schedules if performing a batch update
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringMongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.
prayerMethodstringCalculation method if updating a single day
prayerTypestringPrayer type (e.g. 'DAILY') if updating a single day
timingsarrayList of prayer timings if updating a single day

delete_prayer_timings

Delete prayer timings for a masjid within a specified date range.

ParameterTypeDescription
endDate *stringEnd date of range to delete (e.g. 'tomorrow', '2026-08-31') in Masjid timezone (exclusive)
startDate *stringStart date of range to delete (e.g. 'today', '2026-08-01') in Masjid timezone (inclusive)
authTokenstringOptional JWT Bearer token override for authentication
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringMongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.

get_calculation_methods

Retrieve prayer times calculated across all supported astronomical calculation methods (ISNA, MWL, Umm al-Qura, Karachi, etc.) for a coordinate and date.

ParameterTypeDescription
authTokenstringOptional JWT Bearer token override for authentication
datestringDate (e.g. 'today', 'tomorrow', '2026-08-25'). Evaluated in entity timezone.
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
highLatitudeRulestringRule for high latitudes
latitudenumberLatitude of the location. If omitted, uses your Masjid's geographic coordinates.
longitudenumberLongitude of the location. If omitted, uses your Masjid's geographic coordinates.
madhabstringAsr calculation madhab ('shafi' or 'hanafi')
masjidIdstringOptional MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.
timezonestringTimezone identifier. If omitted, uses your Masjid's timezone.

extract_timings_from_file

Extract structured prayer schedules from a timetable file (PDF, CSV, Excel, image, DOCX) using cmz-backend's extractor endpoint.

ParameterTypeDescription
filePath *stringAbsolute or relative path to a local timetable file (PDF, PNG, JPG, CSV, Excel, DOCX)
authTokenstringOptional JWT Bearer token override for authentication
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringOptional MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.

cmz_authorize

Launch real-time browser OAuth authentication to connect to ConnectMasjid without manually entering tokens.

ParameterTypeDescription
forcebooleanWhether to force re-authorization even if a token is already stored

cmz_logout

Log out from ConnectMasjid and clear locally stored authentication credentials.

get_special_prayer_timings

Query special prayer timings (Friday Jummah shifts, Taraweeh, Eid) with Khatib names, shift labels, and prayer times.

ParameterTypeDescription
authTokenstringOptional JWT Bearer token override for authentication
endDatestringEnd date (e.g. 'tomorrow', '2026-08-31') evaluated in Masjid's timezone.
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringMongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.
startDatestringStart date (e.g. 'today', '2026-08-01') evaluated in Masjid's timezone.

create_special_prayer_timings

Create a special prayer timing schedule (e.g. multi-shift Friday Jummah, Taraweeh, or Eid) with Azaan and Jamaat times.

ParameterTypeDescription
name *stringSpecial prayer name (e.g. 'Jummah', 'Taraweeh', 'Eid al-Fitr', 'Eid al-Adha')
timings *arrayList of prayer shifts for this special prayer occasion
authTokenstringOptional JWT Bearer token override for authentication
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringMongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.

update_special_prayer_timings

Update an existing special prayer schedule by ID (e.g. update Khatib name, shift times, or labels).

ParameterTypeDescription
id *stringMongoDB ObjectId of the SpecialTimes document to update
name *stringSpecial prayer name (e.g. 'Jummah', 'Taraweeh', 'Eid al-Fitr')
timings *arrayUpdated list of prayer shifts for this special prayer occasion
authTokenstringOptional JWT Bearer token override for authentication
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringMongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.

delete_special_prayer_timings

Delete a special prayer timing document by its MongoDB ObjectId.

ParameterTypeDescription
id *stringMongoDB ObjectId of the SpecialTimes document to delete
authTokenstringOptional JWT Bearer token override for authentication
entityTypestringEntity type for subscription verification (defaults to 'MASJID')
masjidIdstringOptional MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account.