brilliant-directories-mcp
OfficialEnables direct HTTP API access to Brilliant Directories resources using curl commands with X-Api-Key authentication for member management, content operations, and site administration.
Integrates with Make automation platform through custom app creation using OpenAPI spec or HTTP modules, allowing workflow automation for Brilliant Directories member management and content operations.
Provides integration through OpenAPI spec import or HTTP Request nodes, enabling workflow automation for managing Brilliant Directories members, content, forms, and site resources.
Enables automation through existing Brilliant Directories Zapier app or Webhooks by Zapier with X-Api-Key header, allowing integration with other apps for member management and content operations.
Brilliant Directories API — Universal AI Integration
Give any AI agent full access to your BD site with one API key.
170 endpoints across 32 resources: members, leads, posts, reviews, categories, email templates, pages (homepage, landing pages), 301 redirects, smart lists, widgets, menus, forms, membership plans, and more.
30-Second Quickstart
One command. Answer two questions. Done.
npx brilliant-directories-mcp --setupThe 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 cursorThis 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.comOption 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.comCursor / 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)
In your GPT: Configure > Actions > Create new action
Under Schema, choose Import from URL and paste:
https://raw.githubusercontent.com/brilliantdirectories/brilliant-directories-mcp/main/openapi/bd-api.jsonWhen prompted for
bd_site_url, enter your BD site (e.g.,https://mysite.com)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.jsonn8n will prompt for your BD site URL and API key on import. No file editing required.
Option B — Plain HTTP Request node:
Create a new workflow, add an HTTP Request node
Set:
Method:
GETURL:
https://your-site.com/api/v2/user/getHeader:
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/updateTroubleshooting
Verify your setup with one command:
npx brilliant-directories-mcp --verify --api-key YOUR_KEY --url https://your-site.comPrints 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.comLogs 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
--verifyto 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 --verifyfor one-shot debugging from a shell.
Common issues:
401 Unauthorized— API key is wrong, revoked, or lacks permission for the endpoint404 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 adminUnknown tool(from Claude) — the MCP server didn't load the OpenAPI spec; reinstall withnpm install -g brilliant-directories-mcp
Authentication
All requests require the X-Api-Key header:
X-Api-Key: your-api-key-hereAPI 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 |
| Records per page (default 25, max 100) |
| Cursor token from |
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[]=CAOperators: =, LIKE, >, <, >=, <=
Sorting
GET /api/v2/user/get?order_column=last_name&order_type=ASCAvailable Resources
Resource | Base Path | Operations |
Users/Members |
| list, get, create, update, delete, search, login, transactions, subscriptions |
Reviews |
| list, get, create, update, delete, search |
Clicks |
| list, get, create, update, delete |
Leads |
| list, get, create, match, update, delete |
Lead Matches |
| list, get, create, update, delete |
Posts |
| list, get, create, update, delete, search, fields |
Portfolio Groups |
| list, get, create, update, delete, search, fields |
Portfolio Photos |
| list, get, create, update, delete |
Post Types |
| list, get, create, update, delete, custom_fields |
Categories |
| list, get, create, update, delete |
Category Groups |
| list, get, create, update, delete |
Services |
| list, get, create, update, delete |
User Services |
| list, get, create, update, delete |
User Photos |
| list, get, create, update, delete |
User Metadata |
| list, get, create, update, delete |
Tags |
| list, get, create, update, delete |
Tag Groups |
| list, get, create, update, delete |
Tag Types |
| list, get, create, update, delete |
Tag Relationships |
| list, get, create, update, delete |
Widgets |
| list, get, create, update, delete, render |
Email Templates |
| list, get, create, update, delete |
Forms |
| list, get, create, update, delete |
Form Fields |
| list, get, create, update, delete |
Membership Plans |
| list, get, create, update, delete |
Menus |
| list, get, create, update, delete |
Menu Items |
| list, get, create, update, delete |
Unsubscribe |
| list, get, create, update, delete |
Smart Lists |
| list, get, create, update, delete |
Pages (SEO/static) |
| list, get, create, update, delete |
Redirects (301) |
| list, get, create, update, delete |
Data Types |
| list, get, create, update, delete |
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-formFiles
File | Purpose |
OpenAPI 3.1 spec (single source of truth) | |
MCP server for Claude/Cursor | |
npm package definition | |
Raw API endpoint documentation | |
MIT License | |
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.jsonSecurity
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
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/brilliantdirectories/brilliant-directories-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server