Basic information
About Brilliant Directories MCP Server
Official MCP server for Brilliant Directories, the membership and directory website platform powering 50,000+ sites. Manage members, posts, leads, reviews, pages, redirects, email templates, forms, menus, tags, and more from any AI agent. Ships an OpenAPI 3.1 spec and an interact
Brilliant Directories MCP is a MCP server in the Other category listed in the AddMCP.net directory, published by brilliantdirectories. It exposes 170 tools, including verifyToken, listFormInquiries, getFormInquiry, getUserFields and more. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 19 GitHub stars. Source code is hosted on github.com. Related topics: ai-agents, anthropic, brilliant-directories, brilliantdirectories, claude.
Setup
{
"mcpServers": {
"bd-api": {
"command": "npx",
"args": [
"-y",
"brilliant-directories-mcp",
"--api-key",
"YOUR_BD_API_KEY",
"--url",
"https://your-site.com"
]
}
}
}
{
"mcpServers": {
"bd-api": {
"command": "npx",
"args": [
"-y",
"brilliant-directories-mcp",
"--api-key",
"YOUR_BD_API_KEY",
"--url",
"https://your-site.com"
]
}
}
}
{
"servers": {
"bd-api": {
"command": "npx",
"args": [
"-y",
"brilliant-directories-mcp",
"--api-key",
"YOUR_BD_API_KEY",
"--url",
"https://your-site.com"
]
}
}
}
Brilliant Directories MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"bd-api": {
"command": "npx",
"args": [
"-y",
"brilliant-directories-mcp",
"--api-key",
"YOUR_BD_API_KEY",
"--url",
"https://your-site.com"
]
}
}
}
Brilliant Directories MCP tools
- verifyToken — Verify API key - Verify that your API key is valid and check rate limit status. **Use when:** at the start of any session or batch job, to confirm the API key is valid and the site is reachable BEFORE burning rate limit on real calls. Also useful for surfacing a clear "bad cr...
- listFormInquiries — List Forms Inbox submissions - Paginated Forms Inbox submissions. Read-only. **Use when:** reading contact-form and lead submissions. **Per-row fields:** `inquiry_id`, `inquiry_email`, `inquiry_ip`, `yourname`, `phone`, `inquiry_user_id`, `inquiry_form`, `form_title`, `url_o...
- getFormInquiry — Get a single Forms Inbox submission - One Forms Inbox submission by `inquiry_id`. Read-only. **Use when:** you hold an `inquiry_id` from `listFormInquiries`. **Required:** `inquiry_id` (path). **Returns:** the `listFormInquiries` per-row shape — `inquiry_email`, `yourname...
- getUserFields — Get user field definitions - Returns available fields for user records with labels and required flags. Use this to discover custom fields. **Use when:** building dynamic forms or importers - you need to discover which fields exist on the User record on THIS specific site (cus...
- listUsers — List members/users - Get a paginated list of all members. Supports filtering by any user field and sorting. **Lean-by-default keep-list:** rows return only identity + routing + location core: `user_id`, `first_name`, `last_name`, `email`, `company`, `phone_number`, `subscript...
- getUser — Get a single member/user - Fetch a single user record. Read-only. **Lean-by-default keep-list:** same shape as `listUsers` — identity + routing + location core (`user_id`, `first_name`, `last_name`, `email`, `company`, `phone_number`, `subscription_id`, `profession_id`, `ac...
- createUser — Create a new member/user - Create a member. Writes live data. Welcome email silent by default - set `send_email_notifications=1` to trigger. **Required:** `email`, `password`, `subscription_id`. **Use when:** adding members outside BD signup - CSV imports, scraped listings, ...
- updateUser — Update an existing member/user - Update a member. PATCH semantics - omitted fields untouched; send only what changes. **Required:** `user_id`. **Disambiguation:** apply **Rule: Resource disambiguation** when the user names this member by description (first name only, partial...
- deleteUser — Delete a member/user - Permanently delete a user record by ID. Destructive - cannot be undone via API. **Use when:** the member record truly must be purged (GDPR request, test cleanup, confirmed duplicate). For reversible removal prefer `updateUser` with `active=3` (Canceled)...
- searchUsers — Search members/users - Full-text search across members with category, location, and sorting options. **Lean-by-default keep-list:** same shape as `listUsers` — identity + routing + location core. Restore extras via the same include flags including `include_extras=1` for str...
- loginUser — Validate user credentials - Checks if email/password are valid. Does NOT return profile data - use getUser after. **Use when:** implementing SSO or a custom login flow against BD - you need to verify a member's email+password is valid WITHOUT starting a web session. Does NOT ...
- getUserTransactions — Get member billing transactions (invoices) - Fetch the billing transaction history (invoices) for a specific member. Read-only. Backed by the WHMCS billing integration. **Required:** exactly one of `user_id` (standard — the BD member ID) OR `client_id` (power-user — the W...
- getUserSubscriptions — Get member subscriptions (membership plan history) - Fetch the subscription / membership-plan history for a specific member. Read-only. Backed by the WHMCS billing integration. **Required:** exactly one of `user_id` (standard — the BD member ID) OR `client_id` (power-user �...
- listReviews — List reviews - Paginated enumeration of review records. Read-only. **Lean by default:** `review_description` is truncated to the first 500 chars + `…` when longer. Truncated rows are tagged `review_description_truncated: true`. Pass `include_full_text=1` to restore the full...
- getReview — Get a single review - Fetch a single review record. Read-only. **Lean by default:** `review_description` is truncated to the first 500 chars + `…` when longer (tagged `review_description_truncated: true`). Pass `include_full_text=1` to get the complete body. For a single-re...
- createReview — Create a review - Create a new review record. Writes live data. **Use when:** importing legacy reviews from another platform, adding placeholder reviews for test data, or scripting review submissions from an external integration. Real member-submitted reviews come through the...
- updateReview — Update a review - Update an existing review record by ID. Fields omitted are untouched. Writes live data. **Use when:** moderating - change `review_status` (`0`=Pending -> `2`=Accepted to publish, `3`=Declined to reject, `4`=Waiting for Admin). Also used for admin corrections...
- deleteReview — Delete a review - Permanently delete a review record by ID. Destructive - cannot be undone via API. **Use when:** the review content violates policy and must be purged (spam, abuse, PII). For "hide without removing" use `updateReview` with `review_status=3` (Declined) - prese...
- listClicks — List click records - Paginated enumeration of click records. Read-only. **Use when:** pulling click-tracking analytics for reports - profile views, phone reveals, website clicks, email clicks. Filter by `user_id` to see clicks for one member. **Pagination:** cursor-based (`l...
- getClick — Get a single click record - Fetch a single click record. Read-only. **Use when:** rare - drilling into a specific click record by `click_id`. Most click-analytics work happens via `listClicks` with filters. **Required:** `click_id`. **See also:** `listClicks` (enumerate man...
- createClick — Create a click record - Create a new click record. Writes live data. **Use when:** replicating a click event from an external source (e.g., tracking clicks on a mirrored profile page on another domain). Usually not needed - BD auto-records clicks on its own surfaces. **Requi...
- updateClick — Update a click record - Update an existing click record by ID. Fields omitted are untouched. Writes live data. **Use when:** correcting click metadata. Rare - click records are typically append-only analytics. **Required:** `click_id`. **See also:** `createClick` (add new),...
- deleteClick — Delete a click record - Permanently delete a click record by ID. Destructive - cannot be undone via API. **Use when:** removing test or spam click records from analytics. Does NOT affect the member's click counter if the site displays one. **Required:** `click_id`. **See al...
- listLeads — List leads - Paginated enumeration of lead records. Read-only. **Use when:** pulling the admin's lead inbox, generating lead reports, or iterating all leads to push into a CRM. For fetching one lead by ID use `getLead`. **Pagination:** cursor-based (`limit`, `page`). See **R...
- getLead — Get a single lead - Fetch a single lead record. Read-only. **Use when:** handling one lead - viewing its details after a lead-notification email, following up in a CRM integration, or confirming the lead exists before calling `matchLead`. **Required:** `lead_id`. **See also...
- createLead — Create a lead - Create a new lead record. Writes live data. **Use when:** importing leads from an external form, CSV, or web-scrape. Default is SILENT - no notification emails fire unless you pass `send_lead_email_notification=1`, and no member routing happens unless you pass...
- matchLead — Auto-match lead to members - Triggers automatic matching - system finds members matching category, location, and service area, then sends notification emails. **Use when:** you've just created a lead (or need to re-distribute an existing one) and want BD to automatically emai...
- updateLead — Update a lead - Update an existing lead record by ID. Fields omitted are untouched. **Required:** `lead_id`. **Custom (form-defined) lead fields** — e.g. wizard-style hidden `match_*` fields — live in `users_meta` with `database=leads` and `database_id=<lead_id>`. Use `u...
- deleteLead — Delete a lead - Permanently delete a lead record by ID. Destructive - cannot be undone via API. **Use when:** removing a spam or test lead. For preserving the lead but closing it, use `updateLead` with a status change instead. **Required:** `lead_id`. **See also:** `updateL...
- listLeadMatches — List lead matches - Paginated enumeration of lead_matches records. Read-only. **Use when:** auditing who got notified about which lead - useful for billing reports (paid-per-lead sites) or explaining to a member why they did/didn't receive a lead notification. Filter by `lead...
- getLeadMatch — Get a single lead match - Fetch a single leadmatch record. Read-only. **Use when:** you have a specific `match_id` (from `listLeadMatches`) and need the full match row - lead points, price, response status, etc. **Required:** `match_id`. **Returns:** `{ status: "success", m...
- createLeadMatch — Create a lead match - Create a new leadmatch record. Writes live data. **Use when:** manually creating a lead↔member match BYPASSING BD's auto-matching. Rarely needed - usually `matchLead` handles this automatically. Use for data migrations, manual override scenarios, or re...
- updateLeadMatch — Update a lead match - Update an existing leadmatch record by ID. Fields omitted are untouched. Writes live data. **Use when:** recording a member's response to a lead (`lead_response`, `lead_accepted`, `lead_chosen`) or adjusting `lead_points`/`match_price` for billing reconc...
- deleteLeadMatch — Delete a lead match - Permanently delete a leadmatch record by ID. Destructive - cannot be undone via API. **Use when:** cleaning up an erroneous match (e.g., test data) or removing a match that was auto-created but shouldn't exist. Does NOT unsend the notification email that...
- listSingleImagePosts — List posts - Paginated enumeration of post records. Read-only. **Lean-by-default keep-list:** rows return only the core identity + routing + load-bearing fields: `post_id`, `post_title`, `post_filename`, `post_status`, `post_start_date`, `post_expire_date`, `post_location`, `...
- getSingleImagePost — Get a single post - Fetch a single post record. Read-only. **Lean-by-default keep-list:** response returns only the core identity + routing + load-bearing fields: `post_id`, `post_title`, `post_filename`, `post_status`, `post_start_date`, `post_expire_date`, `post_location`, ...
- getSingleImagePostFields — Get post field definitions - Returns custom fields for a specific post type form. **Use when:** discovering the per-post-type custom fields before building a create/update payload. Pass `form_name` of the target post type (e.g. `blog_article_fields`, `events_fields`, etc.). ...
- createSingleImagePost — Create a post - Create a new post record. Writes live data. **Use when:** creating a blog article, event, job listing, coupon, or any other single-image post type. Look up `data_id` + `data_type` via `listPostTypes` first - the post type's `data_type` field determines which c...
- updateSingleImagePost — Update a post - Update an existing post record by ID. Fields omitted are untouched. Writes live data. **Use when:** editing post content, switching from draft to published (`post_status=0`->`1`), updating post title/caption, or correcting post metadata. To move a post to a di...
- deleteSingleImagePost — Delete a post - Permanently delete a post record by ID. Destructive - cannot be undone via API. **Use when:** removing a post permanently. For "hide without deleting" use `updateSingleImagePost` with `post_status=0` (Draft). Deleting also removes the post_token, breaking any ...
- listMultiImagePosts — List album groups - Paginated enumeration of portfoliogroup records. Read-only. **Lean-by-default keep-list:** rows return only the core identity + routing fields: `group_id`, `group_name`, `group_filename`, `group_status`, `data_id`, `data_type`, `system_name`, `data_name`, ...
- getMultiImagePost — Get a single album group - Fetch a single portfoliogroup record. Read-only. **Lean-by-default keep-list:** same shape as `listMultiImagePosts` — core identity + routing fields plus `total_clicks` (only when > 0), `total_photos`, `cover_photo_url`, `cover_thumbnail_url`. Res...
- getMultiImagePostFields — Get album group field definitions - Fetch field definitions for a multi-image post type form. Read-only. **Use when:** discovering per-post-type custom fields for multi-image posts - same pattern as `getSingleImagePostFields` but for the `users_portfolio_groups` resource. **...
- createMultiImagePost — Create an album group - Create a new portfoliogroup record. Writes live data. **Use when:** creating a photo album, gallery, product listing with multiple photos, or any post type with `data_type=4`. Confirm the target post type's `data_type` via `listPostTypes` first - `data...
- updateMultiImagePost — Update an album group - Update an existing portfoliogroup record by ID. Fields omitted are untouched. Writes live data. **Use when:** editing metadata (title, description, `group_status`) OR appending photos via `post_image` CSV + `auto_image_import=1` (APPENDS, does not repl...
- deleteMultiImagePost — Delete an album group - Permanently delete a portfoliogroup record by ID. Destructive - cannot be undone via API. **Use when:** removing the entire album. **Recommended sequence: delete child photos first via `deleteMultiImagePostPhoto` (enumerate via `listMultiImagePostPhoto...
- listMultiImagePostPhotos — List album photos - Paginated enumeration of portfoliophoto records. Read-only. **Lean-by-default keep-list:** rows return `photo_id`, `user_id`, `group_id`, `file`, `original_image_url`, `title`, `order`, `status`, `image_imported`, `revision_timestamp`. Marketplace fields (...
- getMultiImagePostPhoto — Get a single album photo - Fetch a single portfoliophoto record. Read-only. **Lean-by-default keep-list:** same shape as `listMultiImagePostPhotos` — `photo_id`, `user_id`, `group_id`, `file`, `original_image_url`, `title`, `order`, `status`, `image_imported`, `revision_tim...
- createMultiImagePostPhoto — Create an album photo - Create a new portfoliophoto record. Writes live data. **Use when:** adding ONE image to an existing album where the image is **already hosted on the BD site** (or hotlinking is acceptable). The parent album must exist (call `createMultiImagePost` first...
- updateMultiImagePostPhoto — Update an album photo - Update an existing portfoliophoto record by ID. Fields omitted are untouched. Writes live data. **Use when:** reordering photos within an album (`order` field) or renaming (`title`). **Required:** `photo_id`. **Cannot re-import a failed image.** Only...
- deleteMultiImagePostPhoto — Delete an album photo - Permanently delete a portfoliophoto record by ID. Destructive - cannot be undone via API. **Use when:** permanently removing one photo from an album. For "hide" use `updateMultiImagePostPhoto` with `status=0`. **Required:** `photo_id`. **See also:** ...
- listPostTypes — List post types - Paginated enumeration of posttype records. Read-only. **Lean-by-default keep-list:** rows return only the core identity + routing fields: `data_id`, `data_type`, `system_name`, `data_name`, `data_filename`, `form_name`, `feature_categories`, `type_of_feature...
- getPostType — Get a single post type - Fetch a single posttype record. Read-only. **Lean-by-default keep-list:** same shape as `listPostTypes` — returns only the core identity + routing fields: `data_id`, `data_type`, `system_name`, `data_name`, `data_filename`, `form_name`, `feature_cat...
- getPostTypeCustomFields — Get custom fields for a post type - Fetch a single posttypecustomfields record. Read-only. **Use when:** building a create/update payload for a post type that has custom fields (most do). Returns the exact per-type schema to send. **Required:** exactly one of `data_id` (nume...
- updatePostType — Update a post type - Update a post type. PATCH semantics (except per **Rule: Post-type code fields**). Writes live data. **Cache refresh is automatic.** Response includes `auto_cache_refreshed: true` after successful writes; no manual `refreshSiteCache` call needed. If `auto_...
- deletePostType — Delete a post type - Permanently delete a posttype record by ID. Destructive - cannot be undone via API. **Use when:** removing a post type entirely. Existing posts of this type become orphaned - consider migrating them to another type first via a bulk `updateSingleImagePost`...
- listUnsubscribes — List unsubscribe records - Paginated enumeration of unsubscribe records. Read-only. **Use when:** auditing the email unsubscribe list - useful for compliance (GDPR, CAN-SPAM) or before launching a new email campaign. **Pagination:** cursor-based (`limit`, `page`). See **Rule...
- getUnsubscribe — Get a single unsubscribe record - Fetch a single unsubscribe record. Read-only. **Use when:** checking one unsubscribe record by ID. **Required:** `id`. **See also:** `listUnsubscribes` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `m...
- createUnsubscribe — Add email to unsubscribe list - Create a new unsubscribe record. Writes live data. **Use when:** programmatically opting a member out of emails (e.g., from an external unsubscribe form or CRM sync). BD adds entries itself when members click email unsubscribe links. **Require...
- updateUnsubscribe — Update an unsubscribe record - Update an existing unsubscribe record by ID. Fields omitted are untouched. Writes live data. **Use when:** editing an unsubscribe record. Rare. **Required:** `id`. **Enums:** `definitive`: `0`, `1`. **See also:** `createUnsubscribe` (add new)...
- deleteUnsubscribe — Remove email from unsubscribe list - Permanently delete a unsubscribe record by ID. Destructive - cannot be undone via API. **Use when:** re-subscribing a member (remove their unsubscribe entry). Confirm the member's consent first - don't use to silently re-enable emails. **...
- listWidgets — List widgets - Paginated enumeration of widget records. Read-only. **Lean-by-default keep-list:** rows return only `widget_id`, `widget_name`, `widget_type`, `widget_viewport`, `short_code`, `date_updated`, `revision_timestamp`, `is_default`. The code fields (`widget_data`, `...
- getWidget — Get a single widget - Fetch a single widget record by `widget_id`. Read-only. **Lean-by-default keep-list:** returns only `widget_id`, `widget_name`, `widget_type`, `widget_viewport`, `short_code`, `date_updated`, `revision_timestamp`, `is_default`. The code fields (`widget_d...
- createWidget — Create a widget - Create a new widget (reusable HTML/CSS/JS component). Writes live data. **Cache refresh is automatic.** Response includes `auto_cache_refreshed: true` after successful writes; no manual `refreshSiteCache` call needed. If `auto_cache_refreshed: false`, check ...
- updateWidget — Update a widget - Update an existing widget by `widget_id`. Fields omitted are untouched. Writes live data. **Cache refresh is automatic.** Response includes `auto_cache_refreshed: true` after successful writes; no manual `refreshSiteCache` call needed. If `auto_cache_refresh...
- deleteWidget — Delete a widget - Permanently delete a widget by `widget_id`. Destructive - cannot be undone via API. **Use when:** removing an unused widget. For "disable without deleting" use `updateWidget` with `widget_viewport=admin` (hides from public pages) - preserves the source for l...
- renderWidget — Render a widget to HTML - **Diagnostic tool only.** Returns BD's rendered HTML output for a widget — useful for confirming render-pipeline symptoms during troubleshoot (backslash strip on `widget_data`, `<style>` auto-wrap on `widget_style`, `<script>` wrapper presence on `w...
- listEmailTemplates — List email templates - Paginated enumeration of emailtemplate records. Read-only. **Use when:** enumerating the site's transactional/marketing email templates before editing. Common audit: before bulk updating "from" addresses or footers. **Lean-by-default:** `email_body` (t...
- getEmailTemplate — Get a single email template - Fetch a single emailtemplate record. Read-only. **Use when:** fetching one template's HTML body and subject for edit. **Required:** `email_id`. **Lean-by-default:** `email_body` is stripped. Set `include_body=1` to restore it (always do this wh...
- createEmailTemplate — Create an email template - Create a new emailtemplate record. Writes live data. **Use when:** adding a new transactional/marketing template. Rare - most BD email templates are built into the admin UI. **Required:** `email_name`. **Pre-check before create:** BD does NOT enfo...
- updateEmailTemplate — Update an email template - Update an existing emailtemplate record by ID. Fields omitted are untouched. Writes live data. **Use when:** editing any field on an existing template — subject, body, wrapper mode (`notemplate`), category, signature, triggers, etc. Mirrors `creat...
- deleteEmailTemplate — Delete an email template - Permanently delete a emailtemplate record by ID. Destructive - cannot be undone via API. **Use when:** removing a deprecated template. BD may fall back to defaults if a required system template is deleted - confirm before purging. **Required:** `em...
- listForms — List forms - Paginated enumeration of form records. Read-only. **Use when:** enumerating the site's forms (signup, contact, quote request, custom forms). Child fields are fetched separately via `listFormFields`. **Pagination:** cursor-based (`limit`, `page`). See **Rule: Pag...
- getForm — Get a single form - Fetch a single form record. Read-only. **Use when:** fetching one form's metadata. **Required:** `form_id`. **See also:** `listForms` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `message` array contains 1 record ...
- createForm — Create a form - Create a new form record. Writes live data. Add fields afterward via `createFormField`. **Required:** `form_name`, `form_title`, `form_action`, `form_layout`, `form_table`, `form_url`, `form_class`, `table_index`, `form_action_div`, `form_email_on`, `form_succ...
- updateForm — Update a form - Update an existing form record by ID. Fields omitted are untouched. Writes live data. **Required:** `form_id`. Cross-refs same as `createForm` — see **Rule: Forms** § Form-level recipe / § Lead-match / § Member-dashboard. Before flipping `form_action_typ...
- deleteForm — Delete a form - Permanently delete a form record by ID. Destructive - cannot be undone via API. **Use when:** removing a form - child fields orphan. **Required:** `form_id`. **See also:** `updateForm` (modify without removing). **Destructive:** confirm intent with the user...
- listFormFields — List form fields - Paginated enumeration of formfield records. Read-only. **Use when:** listing fields on a form. Filter by `form_name` (text slug — `form_fields` joins to `forms` by `form_name`, not `form_id`). **Pagination:** cursor-based (`limit`, `page`). See **Rule: P...
- getFormField — Get a single form field - Fetch a single formfield record. Read-only. **Use when:** one field by ID. **Required:** `field_id`. **See also:** `listFormFields` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `message` array contains 1 rec...
- createFormField — Create a form field - Create a new formfield record. Writes live data. **Required:** `form_name`, `field_name`, `field_text`, `field_type`, `field_order`. **Canonical `field_name` for `form_table=website_contacts`:** `yourname` / `inquiry_email` / `phone` / `comments` (NOT `...
- updateFormField — Update a form field - Update an existing formfield record by ID. Fields omitted are untouched. Writes live data. **Required:** `field_id`. When renaming `field_name` on a `form_table=website_contacts` form, use canonical names (`yourname` / `inquiry_email` / `phone` / `comme...
- deleteFormField — Delete a form field - Permanently delete a formfield record by ID. Destructive - cannot be undone via API. **Use when:** removing a field. Existing submission records may reference the old field name - data persists but becomes orphan metadata. **Required:** `field_id`. **S...
- listMembershipPlans — List membership plans - Paginated enumeration of membership-plan records. Read-only. **Use when:** discovering `subscription_id` values to use when creating members. Essential prerequisite for `createUser` - every member needs a valid `subscription_id`. **Lean-by-default kee...
- getMembershipPlan — Get a single membership plan - Fetch a single membership-plan record. Read-only. **Use when:** fetching one plan's config. Same lean-by-default as `listMembershipPlans`. **Required:** `subscription_id`. **Lean-by-default keep-list:** the core fields — `subscription_id`, `...
- listMenus — List menus - Paginated enumeration of menu records. Read-only. **Lean-by-default keep-list:** rows return only `menu_id`, `menu_name`, `menu_title`, `revision_timestamp`. Styling/target/rel/json_meta fields stripped — restore via `include_extras=1` when editing menu appeara...
- getMenu — Get a single menu - Fetch a single menu record. Read-only. **Lean-by-default keep-list:** same shape as `listMenus` — returns only `menu_id`, `menu_name`, `menu_title`, `revision_timestamp`. Restore styling/target/rel/json_meta via `include_extras=1`. **Use when:** fetchin...
- createMenu — Create a menu - Create a new menu record. Writes live data. **Use when:** adding a new navigation container. After creating the container, add entries via `createMenuItem` using the returned `menu_id`. **Required:** `menu_name`, `menu_title`. **Pre-check before create:** BD...
- updateMenu — Update a menu - Update an existing menu record by ID. Fields omitted are untouched. Writes live data. **Use when:** renaming a menu, toggling `menu_active`, or adjusting its CSS/HTML wrapper attributes. **Required:** `menu_id`. **See also:** `createMenu` (add new), `deleteM...
- deleteMenu — Delete a menu - Permanently delete a menu record by ID. Destructive - cannot be undone via API. **Use when:** removing a menu container. Child items (`menu_items` rows with matching `menu_id`) become orphaned - delete them first. **Required:** `menu_id`. **See also:** `upda...
- listMenuItems — List menu items - Paginated enumeration of menuitem records. Read-only. **Lean-by-default keep-list:** rows return only `menu_item_id`, `menu_name`, `menu_link`, `menu_order`, `menu_id`, `master_id`. Styling/target/rel/json_meta, plus `revision_timestamp` / `menu_title` / `me...
- getMenuItem — Get a single menu item - Fetch a single menuitem record. Read-only. **Lean-by-default keep-list:** same shape as `listMenuItems` — returns only `menu_item_id`, `menu_name`, `menu_link`, `menu_order`, `menu_id`, `master_id`. Restore styling/target/rel/json_meta + the rarely-...
- createMenuItem — Create a menu item - Create a new menuitem record. Writes live data. **Use when:** adding a nav link to an existing menu. Parent `menu_id` must exist. For nested items pass `master_id=<parent menu_item_id>`; for top-level pass `0`. `menu_order` determines display position (lo...
- updateMenuItem — Update a menu item - Update an existing menuitem record by ID. Fields omitted are untouched. Writes live data. **Use when:** renaming, re-linking (change `menu_link`), reordering (change `menu_order`), or hiding (change `menu_active=0`). **Required:** `menu_item_id`. **See ...
- deleteMenuItem — Delete a menu item - Permanently delete a menuitem record by ID. Destructive - cannot be undone via API. **Use when:** removing a single menu entry. **Required:** `menu_item_id`. **See also:** `updateMenuItem` (modify without removing). **Destructive:** confirm intent with...
- listSubCategories — List services (sub-categories) - Paginated enumeration of SUB-level member categories (services). Read-only. **Lean by default:** each row keeps `service_id`, `profession_id` (parent Top Category link), `master_id` (parent Sub Category for sub-sub), `name`, `filename`. Strips...
- getSubCategory — Get a single service - Fetch a single SUB-level member category (service) by `service_id`. Read-only. **Lean by default:** keeps `service_id`, `profession_id`, `master_id`, `name`, `filename`. Strips SEO metadata (`desc`, `keywords`, `image`, `icon`, `sort_order`, `lead_price...
- createSubCategory — Create a service - Create a new SUB-level member category under an existing Top Category. Writes live data. A Sub Category is level 2 of the 3-tier member classification. It MUST have a parent Top Category (via `profession_id`). It may optionally sit under another Sub Categor...
- updateSubCategory — Update a service - Update an existing SUB-level member category by `service_id`. Fields omitted are untouched. Writes live data. **Use when:** renaming, re-parenting (change `profession_id` to move under a different Top, or `master_id` to re-nest as sub-sub), or adjusting `le...
- deleteSubCategory — Delete a service - Permanently delete a SUB-level member category by `service_id`. Destructive - cannot be undone via API. **Use when:** removing an unused sub-category. Any member with this `service_id` in their `users_data.services` CSV or in `rel_services` rows becomes orp...
- listMemberSubCategoryLinks — List user-service relationships - Paginated enumeration of MEMBER ↔ SUB CATEGORY links. Read-only. Each record links a member (`user_id`) to a Sub Category (`service_id`) with per-link metadata: `avg_price`, `specialty`, `num_completed`, `date`. This is level 3 of the membe...
- getMemberSubCategoryLink — Get a single user-service relationship - Fetch a single Member ↔ Sub Category link by `rel_id`. Read-only. **Use when:** you have a `rel_id` and need the full link row. Rare - most workflows query by `user_id` or `service_id` via `listMemberSubCategoryLinks`. **Required:**...
- createMemberSubCategoryLink — Link a service to a user - Create a new Member ↔ Sub Category link with optional metadata. Writes live data. Links an existing member (`user_id`) to an existing Sub Category (`service_id`) with per-link metadata (pricing, specialty). This is the richer alternative to settin...
- updateMemberSubCategoryLink — Update a user-service relationship - Update a Member ↔ Sub Category link by `rel_id`. Fields omitted are untouched. Writes live data. **Use when:** adjusting per-link metadata - member's price for this service, specialty flag, completion counter. **Required:** `rel_id`. *...
- deleteMemberSubCategoryLink — Remove a service from a user - Permanently delete a Member ↔ Sub Category link by `rel_id`. Destructive - cannot be undone via API. Removes the member's link to this Sub Category in the `rel_services` join table. Does NOT remove the member from `users_data.services` CSV if ...
- listUserPhotos — List user photos - Paginated enumeration of userphoto records. Read-only. **Use when:** enumerating photos attached to members (profile, logo, cover). Filter by `user_id`. **Pagination:** cursor-based (`limit`, `page`). See **Rule: Pagination** for full cursor/cap/stop seman...
- getUserPhoto — Get a single user photo - Fetch a single userphoto record. Read-only. **Use when:** fetching one photo record by `photo_id`. **Required:** `photo_id`. **See also:** `listUserPhotos` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `messa...
- createUserPhoto — Create a user photo - Create a new userphoto record. Writes live data. **Use when:** attaching a new photo record to a member. The image file must already exist in site storage (upload via admin or `auto_image_import`). **Required:** `user_id`, `file`, `type`. **Parameter i...
- updateUserPhoto — Update a user photo - Update an existing userphoto record by ID. Fields omitted are untouched. Writes live data. **Use when:** changing a photo's `type` slot (logo/photo/cover_photo). **Required:** `photo_id`. **Enums:** `type`: `logo`, `photo`, `cover_photo`. **See also:*...
- deleteUserPhoto — Delete a user photo - Permanently delete a userphoto record by ID. Destructive - cannot be undone via API. **Use when:** removing a photo attachment. For member image management consider `updateUser` with `images_action=remove_all` / `remove_cover_image` / etc. instead - that...
- listUserMeta — List user metadata records - Paginated enumeration of users_meta records (EAV key/value table). Read-only. **Use when:** enumerating metadata rows (key/value pairs) attached to a parent record in any BD table. **IDENTITY RULE - `(database, database_id)` is ONE atomic compoun...
- getUserMeta — Get a single metadata record - Fetch a single usermeta record. Read-only. **Use when:** fetching one metadata row by `meta_id`. **Required:** `meta_id`. **Identity check before downstream writes:** Before using this row's `meta_id` for any subsequent `updateUserMeta`/`delet...
- updateUserMeta — Update a metadata record - Update an existing users_meta record's `value` by `meta_id`. Fields omitted are untouched. Writes live data. **IDENTITY RULE - `(database, database_id)` is ONE atomic compound identity, not two fields. ALWAYS confirm BOTH match the intended parent B...
- deleteUserMeta — Delete a metadata record - Permanently delete a users_meta record by `meta_id`. DESTRUCTIVE - cannot be undone via API. **HARD RULE - `(database, database_id)` is ONE atomic compound identity. Verify BOTH of the row BEFORE deleting. Destructive mistakes on users_meta are unre...
- listTags — List tags - Paginated enumeration of tag records. Read-only. **Use when:** enumerating member tags, fetching tag names for display, or building a tag-management UI. Tags are lightweight labels attached to members, different from categories (which are taxonomy). **Pagination:...
- getTag — Get a single tag - Fetch a single tag record. Read-only. **Use when:** fetching one tag by ID. **Required:** `id`. **See also:** `listTags` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `message` array contains 1 record when found. Em...
- createTag — Create a tag - Create a new tag record. Writes live data. **Use when:** adding a new tag. Group (`group_tag_id`) must exist - discover via `listTagGroups`. **Required:** `tag_name`, `group_tag_id`. **`added_by` is wrapper-managed:** the audit-trail `added_by` field is hardc...
- updateTag — Update a tag - Update an existing tag record by ID. Fields omitted are untouched. Writes live data. **Use when:** renaming a tag without losing the tag-to-member relationships. **Required:** `id`. **`updated_by` is wrapper-managed:** the audit-trail `updated_by` field is ha...
- deleteTag — Delete a tag - Permanently delete a tag record by ID. Destructive - cannot be undone via API. **Use when:** removing a tag entirely. Tag-relationships (`rel_tags`) pointing at it may orphan. **Required:** `id`. **See also:** `updateTag` (modify without removing). **Destruc...
- listTagGroups — List tag groups - Paginated enumeration of taggroup records. Read-only. **Use when:** discovering the tag groupings before creating tags - each tag belongs to a group. **Pagination:** cursor-based (`limit`, `page`). See **Rule: Pagination** for full cursor/cap/stop semantics...
- getTagGroup — Get a single tag group - Fetch a single taggroup record. Read-only. **Use when:** fetching one tag group by ID. **Required:** `id`. **See also:** `listTagGroups` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `message` array contains 1...
- createTagGroup — Create a tag group - Create a new taggroup record. Writes live data. **Use when:** organizing tags into new themes (e.g., "Skill Level", "Service Area"). Rare. **Required:** `group_tag_name`, `added_by`, `updated_by`. **Pre-check before create:** BD does NOT enforce uniquen...
- updateTagGroup — Update a tag group - Update an existing taggroup record by ID. Fields omitted are untouched. Writes live data. **Use when:** renaming a tag group. **Required:** `id`. **See also:** `createTagGroup` (add new), `deleteTagGroup` (remove permanently). **Returns:** `{ status: "...
- deleteTagGroup — Delete a tag group - Permanently delete a taggroup record by ID. Destructive - cannot be undone via API. **Use when:** removing a group - child tags orphan; delete or re-group them first. **Required:** `id`. **See also:** `updateTagGroup` (modify without removing). **Destr...
- listTagTypes — List tag types - Paginated enumeration of tagtype records. Read-only. **Use when:** enumerating the tag-type classifiers on this site. **Pagination:** cursor-based (`limit`, `page`). See **Rule: Pagination** for full cursor/cap/stop semantics. **Filter/sort:** `property`+`p...
- getTagType — Get a single tag type - Fetch a single tagtype record. Read-only. **Use when:** one tag type by ID. **Required:** `id`. **See also:** `listTagTypes` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `message` array contains 1 record when ...
- listTagRelationships — List tag relationships - Paginated enumeration of tagrelationship records. Read-only. **Use when:** auditing which tags are attached to which records. Filter by tag or by target record. **Pagination:** cursor-based (`limit`, `page`). See **Rule: Pagination** for full cursor/...
- getTagRelationship — Get a single tag relationship - Fetch a single tagrelationship record. Read-only. **Use when:** one relationship row by ID. **Required:** `id`. **See also:** `listTagRelationships` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `messag...
- createTagRelationship — Create a tag relationship - Create a new tagrelationship record. Writes live data. **Use when:** attaching an existing tag to a record (member, post, etc.). The alternative for members is setting the `member_tags` field via `updateUser` with `member_tag_action=1`. **Required...
- updateTagRelationship — Update a tag relationship - Update an existing tagrelationship record by ID. Fields omitted are untouched. Writes live data. **Use when:** adjusting a tag-relationship record's metadata. **Required:** `id`. **See also:** `createTagRelationship` (add new), `deleteTagRelation...
- deleteTagRelationship — Delete a tag relationship - Permanently delete a tagrelationship record by ID. Destructive - cannot be undone via API. **Use when:** detaching a tag from a record. Note: if the member has `member_tags` CSV set, update that separately too. **Required:** `id`. **See also:** `...
- listSmartLists — List smart lists - Paginated enumeration of smartlist records. Read-only. **Use when:** enumerating saved dynamic filter configurations the admin has created - these back the BD admin's saved-filter UI for members, leads, reviews, etc. **Pagination:** cursor-based (`limit`, ...
- getSmartList — Get a single smart list - Fetch a single smartlist record. Read-only. **Use when:** fetching one saved filter's config. **Required:** `smart_list_id`. **See also:** `listSmartLists` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `messa...
- createSmartList — Create a smart list - Create a new smartlist record. Writes live data. **Use when:** programmatically saving a filter configuration for later reuse. `smart_list_type` determines the data source (`members`, `leads`, `reviews`, etc.). **Required:** `smart_list_name`, `smart_li...
- updateSmartList — Update a smart list - Update an existing smartlist record by ID. Fields omitted are untouched. Writes live data. **Use when:** editing the filter criteria or schedule on a saved list. **Required:** `smart_list_id`. **See also:** `createSmartList` (add new), `deleteSmartList...
- deleteSmartList — Delete a smart list - Permanently delete a smartlist record by ID. Destructive - cannot be undone via API. **Use when:** removing a saved filter configuration. **Required:** `smart_list_id`. **See also:** `updateSmartList` (modify without removing). **Destructive:** confir...
- listSidebars — List custom sidebars - Paginated enumeration of CUSTOM sidebars defined on this site. Read-only in this MCP (create/update/delete deliberately omitted - sidebars are layout infrastructure; changes belong in the BD admin UI). **Use when:** an agent needs to set `form_name` on ...
- getSidebar — Get a single custom sidebar - Fetch a single custom sidebar by `sidebar_id`. Read-only. **Required:** `sidebar_id` (path). **Only returns custom sidebars.** Master defaults are not rows in this table — see **Rule: Sidebars** for the canonical Master Default list; use those...
- getSiteInfo — Get site-level identity, locale, currency, and brand-image URLs - Returns the site's own identity and locale context — what kind of directory this is, who it serves, the formatting conventions to respect, and the URLs of branding assets. Read-only, no params. **Call this onc...
- getImageDimensions — Probe an image URL and return its dimensions + orientation. - Wrapper-native synthetic tool. Range-GETs the first 64KB of an image URL and parses JPG/PNG header bytes to return width, height, format, aspect_ratio, and orientation (landscape | portrait | square). Does NOT proxy...
- getBrandKit — Get the site's brand kit (colors + fonts) for design decisions - Return a compact, semantically-labeled brand kit for this BD site - colors (body / primary / dark / muted / success / warm / alert accents, card surface) + fonts (body + heading Google Fonts). **Call this ONCE at...
- listCities — List cities (location-based search & SEO slugs) - Paginated enumeration of cities enabled on this site for location-based member/post browsing and SEO page URL generation. Read-only source-of-truth for city slugs used in search-result URLs. Backed by BD's `location_cities` tab...
- getCity — Get a single city - Fetch one city row. Read-only. Note BD schema typo: PK is `locaiton_id` (sic), not `location_id`. **Required:** `locaiton_id` (path). **See also:** `listCities` (enumerate + filter). **Returns:** `{ status: "success", message: [{...record}] }`.
- updateCity — Update a city (corrections only) - Update an existing city row. Read-mostly - use sparingly. Fields omitted are untouched (PATCH semantics - only send what you want to change). **Use when:** correcting a typo in `city_ln` or `city_filename`, or reassigning a city's `state_sn`...
- listStates — List states / provinces / regions - Paginated enumeration of states/provinces/regions enabled on this site. The `location_states` table is country-agnostic - it holds US states, Canadian provinces, UK regions, and any other first-admin-level division for any country active on ...
- getState — Get a single state/province - Fetch one state row by `location_id`. Read-only. **Required:** `location_id` (path). Note: `location_states` PK is `location_id` (correctly spelled, unlike `location_cities.locaiton_id`). **Returns:** `{ status: "success", message: [{...record}]...
- updateState — Update a state (corrections only) - Update a state row. Read-mostly - use for corrections. Fields omitted are untouched (PATCH semantics - only send what you want to change). **Required:** `location_id`. **Warning on `state_filename`:** it's the URL slug in every search page...
- listCountries — List countries - Paginated enumeration of countries in the global reference table. Read-only reference. **Use when:** resolving a country name to its 2-letter `country_code` (ISO 3166-1 alpha-2) for cross-referencing in `location_states.country_sn` / `location_cities.country_...
- getCountry — Get a single country - Fetch one country row. Read-only. **Required:** `country_id` (path). **Returns:** `{ status: "success", message: [{...record}] }`.
- updateCountry — Update a country (corrections / active toggle) - Update a country record. Read-mostly - primary use is toggling `active` to enable/disable a country on the site. Fields omitted are untouched (PATCH semantics - only send what you want to change). **Required:** `country_id`.
- listWebPages — List pages (list_seo) - Paginated enumeration of web pages (`list_seo` records). Read-only. Returns every static/SEO page on the site - homepage, about, contact, custom landing pages, templates, etc. Filter by `seo_type` to get pages of a specific type (e.g., only `content` p...
- getWebPage — Get a single page - Fetch a single web page by `seo_id`. Read-only. **Use when:** fetching one page's metadata (+ optionally its body/CSS/JS) before editing. Common for "let me read the current About page before editing it" workflows. **Required:** `seo_id` (path). **Lean-b...
- createWebPage — Create a page - Create a `list_seo` page record. Writes live data. **Cache refresh is automatic.** Response includes `auto_cache_refreshed: true` after successful writes; no manual `refreshSiteCache` call needed. If `auto_cache_refreshed: false`, check `auto_cache_refresh_err...
- updateWebPage — Update a page - Update an existing `list_seo` page by `seo_id`. PATCH semantics - omitted fields untouched. **Cache refresh is automatic.** Every successful `updateWebPage` / `createWebPage` triggers `refreshCache(scope=web_pages)` server-side; the response includes `auto_cac...
- deleteWebPage — Delete a page - Permanently delete a web page by `seo_id`. Destructive - cannot be undone via API. **Use when:** permanently removing a page. **Required:** `seo_id`. **Destructive:** confirm with the user. If inbound links or menus reference the deleted page's URL, consider...
- listRedirects — List redirects (301) - Paginated list of all 301 redirect rules on the site. **Use when:** auditing existing 301 rules - useful before bulk URL changes to avoid duplicate rules, or when debugging why a URL unexpectedly redirects. **Pagination:** cursor-based (`limit`, `page`...
- getRedirect — Get a single redirect - Fetch a single redirect record. Read-only. **Use when:** investigating one specific redirect rule by `redirect_id`. **Required:** `redirect_id`. **See also:** `listRedirects` (enumerate many). **Returns:** `{ status: "success", message: [{...record}...
- createRedirect — Create a redirect - Create a new 301 redirect rule. **Use when:** preserving SEO after any URL change - slug rename on a member profile, post, page, or category. BD auto-creates some redirects on its own (admin-triggered renames), but you must create them manually for API-tri...
- updateRedirect — Update a redirect - Update an existing redirect record by ID. Fields omitted are untouched. Writes live data. **Use when:** adjusting an existing rule's destination or source path. Rare - most redirects are create-once. **Required:** `redirect_id`. **`type` is wrapper-manag...
- deleteRedirect — Delete a redirect - Permanently delete a redirect record by ID. Destructive - cannot be undone via API. **Use when:** an old redirect is no longer needed (source content has been offline long enough that the 301 value is gone) or the rule is conflicting with a new page at the...
- refreshSiteCache — Refresh the site cache (template/theme/widget/menu/page invalidation) - Clears BD's internal template/theme/widget caches. Useful when recent admin edits to design settings or widgets aren't showing on the public site yet. **Use when:** the user has just updated a template, t...
- listDataTypes — List data types - List all data types configured on this BD site. Use the data_id values as data_type parameters when creating posts or portfolio groups. **Use when:** discovering the valid `data_type` values on the site. Used as a prerequisite lookup when creating posts or p...
- getDataType — Get a single data type - Fetch a single datatype record. Read-only. **Use when:** fetching one data type's record by ID. **Required:** `data_id`. **See also:** `listDataTypes` (enumerate many). **Returns:** `{ status: "success", message: [{...record}] }` - the `message` ar...
- createDataType — Create a data type - Define a new content-type template. Only do this when the user explicitly wants a new post type - most sites come pre-configured with the types they need. **Use when:** adding a new data-type classifier. Rare - usually preconfigured. **Required:** `categ...
- updateDataType — Update a data type - Update an existing datatype record by ID. Fields omitted are untouched. Writes live data. **Use when:** renaming a data type. **Required:** `data_id`. **Enums:** `category_active`: `1`=active and available for members to use, `0`=inactive; `limit_availa...
- deleteDataType — Delete a data type - Deletes a data type definition. Records (posts, portfolio groups) referencing a deleted data type may become orphaned - confirm with the user before deleting. **Use when:** removing an unused data type. Posts/groups referencing it orphan - clean up first....
- listTopCategories — List categories (professions) - Paginated enumeration of TOP-level member categories. Read-only. **Lean by default:** each row keeps `profession_id`, `name`, `filename`. Strips `desc`, `keywords`, `image`, `icon`, `sort_order`, `lead_price`, `revision_timestamp`. Pass `includ...
- getTopCategory — Get a single category - Fetch a single TOP-level member category by `profession_id`. Read-only. **Lean by default:** keeps `profession_id`, `name`, `filename`. Strips SEO metadata. Pass `include_category_schema=1` to restore. A Top Category is the highest level of the 3-tie...
- createTopCategory — Create a category - Create a new TOP-level member category. Writes live data. A Top Category is the highest level of the 3-tier member classification (e.g., "Restaurants"). It populates the `profession_id` field on user records. Backed by BD's `list_professions` table. **Use...
- updateTopCategory — Update a category - Update an existing TOP-level member category by `profession_id`. Fields omitted are untouched. Writes live data. **Use when:** renaming a category, changing its URL slug (`filename`), updating SEO keywords, or reordering. Changing `filename` breaks inbound...
- deleteTopCategory — Delete a category - Permanently delete a TOP-level member category by `profession_id`. Destructive - cannot be undone via API. **Use when:** removing an unused top-level category. Any members with matching `profession_id` become orphaned - reassign them first. Any Sub Categor...
Overview
What is Brilliant Directories MCP?
It is the official MCP server for Brilliant Directories, a SaaS platform powering 50,000+ membership and directory websites. It exposes the Brilliant Directories REST API as structured MCP tools, giving AI agents and automation platforms full access to a site with one API key, requiring no custom code.
How to use Brilliant Directories MCP?
Install by running npx brilliant-directories-mcp in your terminal. Then provide your Brilliant Directories API key. AI agents like Claude, GPT, or Cursor can invoke the exposed tools to manage site resources.
Key features of Brilliant Directories MCP
- Manage members: create, update, search, and fetch
- Manage posts: events, classifieds, articles, deals
- Manage leads (inquiries) and reviews (CRUD)
- Manage pages, redirects, email templates, forms, menus
- Manage tags, categories, and other site content
- Plug-and-play with AI agents and automation platforms
Use cases of Brilliant Directories MCP
- Automate member onboarding and profile updates
- Auto-publish events and classifieds from AI prompts
- Route inbound leads to CRM or email via automation
- Programmatically manage 301 redirects for SEO
- Bulk update site content through an AI assistant
Frequently asked questions
1 What AI agents and automation platforms does Brilliant Directories MCP support?
It supports AI agents like Claude, GPT, and Cursor, as well as automation platforms n8n, Make, and Zapier.
2 How do I install Brilliant Directories MCP?
Run npx brilliant-directories-mcp in your terminal.
3 What site resources can I manage with the MCP server?
You can manage members, posts (events, classifieds, articles, deals), leads, reviews, pages, redirects, email templates, forms, menus, tags, categories, and more.
4 Does Brilliant Directories MCP require any custom code?
No, it requires only an API key from your Brilliant Directories site — no custom code is needed.
5 Is this the official MCP server from Brilliant Directories?
Yes, it is the official MCP server for Brilliant Directories.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In