brilliant-directories-mcp

brilliant-directories-mcp

Official MCP server for Brilliant Directories, the membership and directory website platform powering 50,000+ sites. Manage members, posts, leads, reviews, email templates, forms, menus, pages, redirects, tags, and more.

Category
Visit Server

README

Brilliant Directories API — Universal AI Integration

npm version license MCP

Give any AI agent full access to your Brilliant Directories site with one API key.

Manage members, posts (single-image and multi-image), leads, reviews, top and sub categories, email templates, pages (homepage, landing pages), 301 redirects, smart lists, widgets, menus, forms, tags, membership plans, and more — across every resource BD exposes via its REST API.

30-Second Quickstart

One command. Answer two questions. Done.

npx brilliant-directories-mcp --setup

The wizard asks for your BD site URL and API key, tests the connection, asks which app you use (Cursor / Claude Desktop / Windsurf / Claude Code), and writes the config for you. No JSON editing.

Restart your app, then ask your AI:

"List members on my BD site"

Get your API key from BD Admin > Developer Hub > Generate API Key.

For AI agents / scripts (non-interactive)

If an AI agent is guiding you, it can have you paste a single command with everything prefilled:

npx brilliant-directories-mcp --setup --url https://your-site.com --api-key YOUR_KEY --client cursor

This runs the full setup end-to-end with no prompts. Replace cursor with claude-desktop, windsurf, claude-code, or print (prints the JSON config instead of writing a file).


Setup by Platform

Claude Code / Cursor / Windsurf / Cline (MCP)

Option A — npx (recommended, no install needed):

claude mcp add bd-api -- npx brilliant-directories-mcp --api-key YOUR_KEY --url https://your-site.com

Option B — Global install:

npm install -g brilliant-directories-mcp
claude mcp add bd-api -- brilliant-directories-mcp --api-key YOUR_KEY --url https://your-site.com

Cursor / Windsurf / Cline — add to your MCP config file (~/.cursor/mcp.json, etc.):

{
  "mcpServers": {
    "bd-api": {
      "command": "npx",
      "args": ["-y", "brilliant-directories-mcp", "--api-key", "YOUR_KEY", "--url", "https://your-site.com"]
    }
  }
}

Then ask your AI: "List all members on my BD site" or "Create a new member with email john@example.com"


ChatGPT (GPT Actions)

  1. In your GPT: Configure > Actions > Create new action
  2. Under Schema, choose Import from URL and paste:
    https://raw.githubusercontent.com/brilliantdirectories/brilliant-directories-mcp/main/openapi/bd-api.json
    
  3. When prompted for bd_site_url, enter your BD site (e.g., https://mysite.com)
  4. Set Authentication: API Key, Auth Type: Custom, Header Name: X-Api-Key, paste your key

n8n

Option A — Import OpenAPI spec (recommended):

Import the spec URL as a custom API definition:

https://raw.githubusercontent.com/brilliantdirectories/brilliant-directories-mcp/main/openapi/bd-api.json

n8n will prompt for your BD site URL and API key on import. No file editing required.

Option B — Plain HTTP Request node:

  1. Create a new workflow, add an HTTP Request node
  2. Set:
    • Method: GET
    • URL: https://your-site.com/api/v2/user/get
    • Header: X-Api-Key: YOUR_KEY

Make / Zapier

Make: Create a custom app using the OpenAPI spec, or use HTTP module with X-Api-Key header.

Zapier: If you already have the BD Zapier app, it uses the same underlying API. For new endpoints, use Webhooks by Zapier with the X-Api-Key header.


curl / Any HTTP Client

# Verify your API key
curl -H "X-Api-Key: YOUR_KEY" https://your-site.com/api/v2/token/verify

# List members
curl -H "X-Api-Key: YOUR_KEY" https://your-site.com/api/v2/user/get?limit=10

# Create a member
curl -X POST -H "X-Api-Key: YOUR_KEY" \
  -d "email=new@example.com&password=secret123&subscription_id=1&first_name=Jane&last_name=Doe" \
  https://your-site.com/api/v2/user/create

# Search members
curl -X POST -H "X-Api-Key: YOUR_KEY" \
  -d "q=dentist&address=Los Angeles&limit=10" \
  https://your-site.com/api/v2/user/search

# Update a member
curl -X PUT -H "X-Api-Key: YOUR_KEY" \
  -d "user_id=42&company=New Company Name" \
  https://your-site.com/api/v2/user/update

Troubleshooting

Verify your setup with one command:

npx brilliant-directories-mcp --verify --api-key YOUR_KEY --url https://your-site.com

Prints OK if credentials work, FAIL with the error otherwise. Good first step for any connectivity issue.

Debug mode — see exactly what's happening:

npx brilliant-directories-mcp --debug --verify --api-key YOUR_KEY --url https://your-site.com

Logs every API request and response to stderr (your API key is automatically redacted), then exits. Useful when something isn't working and you want to share output with BD support.

Drop --verify to start the full MCP stdio server with debug logging — it will appear to hang in a regular terminal because MCP servers run forever over stdio, waiting for an AI client to connect. Use --debug --verify for one-shot debugging from a shell.

Common issues:

  • 401 Unauthorized — API key is wrong, revoked, or lacks permission for the endpoint
  • 404 Not Found — site URL is wrong (check for typos; https:// is auto-added if missing)
  • 429 Too Many Requests — rate limit hit (100 req/60s default); back off or increase limit in BD admin
  • Unknown tool (from Claude) — the MCP server didn't load the OpenAPI spec; reinstall with npm install -g brilliant-directories-mcp

Authentication

All requests require the X-Api-Key header:

X-Api-Key: your-api-key-here

API keys are scoped by permission — you control which endpoints each key can access.

Rate Limits

Default: 100 requests per 60 seconds per API key. On request: up to 1,000 requests per minute — contact the Brilliant Directories support team to have your site's limit raised (any value between 100 and 1,000/min).

The limit is set server-side by BD, not a self-service setting in your admin. If you expect heavy API usage, email BD support before bulk operations and ask for a temporary or permanent increase.

When exceeded, the API returns HTTP 429 Too Many Requests. The MCP server surfaces this as an actionable error for your AI agent — it will know to back off or recommend requesting a higher limit.

Plan bulk operations: if you're asking your agent to import/update hundreds of records, either (a) request a higher limit from BD support first, or (b) tell the agent to pace itself (e.g., "import these 500 members, pausing to respect the 100/min rate limit").

Pagination

All list endpoints support pagination:

Parameter Description
limit Records per page (default 25, max 100)
page Cursor token from next_page in previous response

Response includes: total, current_page, total_pages, next_page, prev_page

Filtering

All list endpoints support filtering:

GET /api/v2/user/get?property=city&property_value=Los Angeles&property_operator==

Multiple filters:

GET /api/v2/user/get?property[]=city&property_value[]=Los Angeles&property[]=state_code&property_value[]=CA

Operators: =, LIKE, >, <, >=, <=

Sorting

GET /api/v2/user/get?order_column=last_name&order_type=ASC

Available Resources

Resource Base Path Operations
Users/Members /api/v2/user/ list, get, create, update, delete, search, login, transactions, subscriptions
Reviews /api/v2/users_reviews/ list, get, create, update, delete, search
Clicks /api/v2/users_clicks/ list, get, create, update, delete
Leads /api/v2/leads/ list, get, create, match, update, delete
Lead Matches /api/v2/lead_matches/ list, get, create, update, delete
Single-Image Posts /api/v2/data_posts/ listSingleImagePosts, getSingleImagePost, createSingleImagePost, updateSingleImagePost, deleteSingleImagePost, searchSingleImagePosts, getSingleImagePostFields
Multi-Image Posts /api/v2/users_portfolio_groups/ listMultiImagePosts, getMultiImagePost, createMultiImagePost, updateMultiImagePost, deleteMultiImagePost, searchMultiImagePosts, getMultiImagePostFields
Multi-Image Post Photos /api/v2/users_portfolio/ listMultiImagePostPhotos, getMultiImagePostPhoto, createMultiImagePostPhoto, updateMultiImagePostPhoto, deleteMultiImagePostPhoto
Post Types /api/v2/data_categories/ list, get, create, update, delete, custom_fields
Top Categories /api/v2/list_professions/ listTopCategories, getTopCategory, createTopCategory, updateTopCategory, deleteTopCategory
Sub Categories /api/v2/list_services/ listSubCategories, getSubCategory, createSubCategory, updateSubCategory, deleteSubCategory
Member ↔ Sub Category Links /api/v2/rel_services/ listMemberSubCategoryLinks, getMemberSubCategoryLink, createMemberSubCategoryLink, updateMemberSubCategoryLink, deleteMemberSubCategoryLink
User Photos /api/v2/users_photo/ list, get, create, update, delete
User Metadata /api/v2/users_meta/ list, get, create, update, delete
Tags /api/v2/tags/ list, get, create, update, delete
Tag Groups /api/v2/tag_groups/ list, get, create, update, delete
Tag Types /api/v2/tag_types/ list, get, create, update, delete
Tag Relationships /api/v2/rel_tags/ list, get, create, update, delete
Widgets /api/v2/data_widgets/ list, get, create, update, delete, render
Email Templates /api/v2/email_templates/ list, get, create, update, delete
Forms /api/v2/form/ list, get, create, update, delete
Form Fields /api/v2/form_fields/ list, get, create, update, delete
Membership Plans /api/v2/subscription_types/ list, get, create, update, delete
Menus /api/v2/menus/ list, get, create, update, delete
Menu Items /api/v2/menu_items/ list, get, create, update, delete
Unsubscribe /api/v2/unsubscribe_list/ list, get, create, update, delete
Smart Lists /api/v2/smart_lists/ list, get, create, update, delete
Web Pages (SEO/static) /api/v2/list_seo/ listWebPages, getWebPage, createWebPage, updateWebPage, deleteWebPage
Redirects (301) /api/v2/redirect_301/ list, get, create, update, delete
Data Types /api/v2/data_types/ list, get, create, update, delete
Website Settings /api/v2/website_settings/ refreshCache

Field Discovery

Some endpoints support dynamic field discovery:

# Get all available user fields
curl -H "X-Api-Key: YOUR_KEY" https://your-site.com/api/v2/user/fields

# Get custom fields for a specific post type
curl -H "X-Api-Key: YOUR_KEY" https://your-site.com/api/v2/data_posts/fields?form_name=my-form

Files

File Purpose
openapi/bd-api.json OpenAPI 3.1 spec (single source of truth)
mcp/index.js MCP server for Claude/Cursor
mcp/package.json npm package definition
docs/*.md Raw API endpoint documentation
LICENSE MIT License
CHANGELOG.md Release history

Stable asset URLs

For tools that import specs by URL (ChatGPT Actions, n8n, Postman):

https://raw.githubusercontent.com/brilliantdirectories/brilliant-directories-mcp/main/openapi/bd-api.json

Security

  • API keys are never embedded in the package
  • All requests go directly from the user's machine to their BD site
  • No data passes through third-party servers
  • API key permissions control which endpoints are accessible
  • Treat your API key like a password

Support

  • BD Support: https://support.brilliantdirectories.com
  • API Docs: https://support.brilliantdirectories.com/support/solutions/articles/12000108045

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured