cmz-mcp
v1.0.0-staging.1ConnectMasjid 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.
| Parameter | Type | Description |
|---|---|---|
authToken | string | Optional JWT Bearer token override for authentication |
endDate | string | End date (e.g. 'today', 'tomorrow', '2026-08-25'). Evaluated in the Masjid's timezone. |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account. |
startDate | string | Start 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.
| Parameter | Type | Description |
|---|---|---|
authToken | string | Optional JWT Bearer token override for authentication |
date | string | Date (e.g. 'today', 'tomorrow', '2026-08-25') if updating a single day |
days | array | Array of multiple daily schedules if performing a batch update |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account. |
prayerMethod | string | Calculation method if updating a single day |
prayerType | string | Prayer type (e.g. 'DAILY') if updating a single day |
timings | array | List of prayer timings if updating a single day |
delete_prayer_timings
Delete prayer timings for a masjid within a specified date range.
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date of range to delete (e.g. 'tomorrow', '2026-08-31') in Masjid timezone (exclusive) |
startDate * | string | Start date of range to delete (e.g. 'today', '2026-08-01') in Masjid timezone (inclusive) |
authToken | string | Optional JWT Bearer token override for authentication |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | MongoDB 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.
| Parameter | Type | Description |
|---|---|---|
authToken | string | Optional JWT Bearer token override for authentication |
date | string | Date (e.g. 'today', 'tomorrow', '2026-08-25'). Evaluated in entity timezone. |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
highLatitudeRule | string | Rule for high latitudes |
latitude | number | Latitude of the location. If omitted, uses your Masjid's geographic coordinates. |
longitude | number | Longitude of the location. If omitted, uses your Masjid's geographic coordinates. |
madhab | string | Asr calculation madhab ('shafi' or 'hanafi') |
masjidId | string | Optional MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account. |
timezone | string | Timezone 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.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute or relative path to a local timetable file (PDF, PNG, JPG, CSV, Excel, DOCX) |
authToken | string | Optional JWT Bearer token override for authentication |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
force | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
authToken | string | Optional JWT Bearer token override for authentication |
endDate | string | End date (e.g. 'tomorrow', '2026-08-31') evaluated in Masjid's timezone. |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account. |
startDate | string | Start 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Special prayer name (e.g. 'Jummah', 'Taraweeh', 'Eid al-Fitr', 'Eid al-Adha') |
timings * | array | List of prayer shifts for this special prayer occasion |
authToken | string | Optional JWT Bearer token override for authentication |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | MongoDB 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).
| Parameter | Type | Description |
|---|---|---|
id * | string | MongoDB ObjectId of the SpecialTimes document to update |
name * | string | Special prayer name (e.g. 'Jummah', 'Taraweeh', 'Eid al-Fitr') |
timings * | array | Updated list of prayer shifts for this special prayer occasion |
authToken | string | Optional JWT Bearer token override for authentication |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | MongoDB 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | MongoDB ObjectId of the SpecialTimes document to delete |
authToken | string | Optional JWT Bearer token override for authentication |
entityType | string | Entity type for subscription verification (defaults to 'MASJID') |
masjidId | string | Optional MongoDB ObjectId of the Masjid. If omitted, automatically resolves from your authenticated account. |