How to Connect Claude, ChatGPT & Gemini CLI to Schedule Social Media Posts
Use Brandlyx's Streamable HTTP MCP Server v2 and OpenAPI 3.1 endpoints so your AI assistant reads Brand Voice rules, checks peak posting times, validates media, and saves ready-to-approve drafts directly into your client calendar.
STEP 1
Generate Your Organization API Key
Log in to Brandlyx, navigate to AI Studio → REST API & Webhooks, and click Generate Key. Your key starts with blx_key_ and is strictly scoped to your agency organization (Meta OAuth tokens are never exposed).
STEP 2
Connect Your Preferred AI Client
Option A: Claude Code, Cursor & Streamable HTTP MCP Clients
{
"mcpServers": {
"brandlyx": {
"type": "http",
"url": "https://brandlyx.pro/api/mcp",
"headers": {
"X-Brandlyx-Key": "blx_key_YOUR_API_KEY"
}
}
}
}Option B: Gemini CLI (~/.gemini/settings.json)
{
"mcpServers": {
"brandlyx": {
"httpUrl": "https://brandlyx.pro/api/mcp",
"headers": {
"X-Brandlyx-Key": "blx_key_YOUR_API_KEY"
}
}
}
}Option C: ChatGPT Custom GPT Actions (1-Click OpenAPI 3.1)
- Open ChatGPT → Explore GPTs → Create → Configure → Actions.
- Click Import from URL and enter
https://brandlyx.pro/api/v1/openapi.json. - Set Authentication to API Key → Custom Header with header name
X-Brandlyx-Key.
STEP 3
Prompt Your AI & Approve Drafts in Brandlyx
/approve/[token] link so nothing ever publishes to Facebook or Instagram without human approval.Frequently Asked Questions
How do I connect Claude Desktop to Brandlyx MCP Server v2?
Generate an API key in Brandlyx under Dashboard → AI Studio → REST API & Webhooks, then add the Brandlyx Streamable HTTP endpoint (https://brandlyx.pro/api/mcp) with your X-Brandlyx-Key header to claude_desktop_config.json using mcp-remote.
How do I connect ChatGPT to Brandlyx?
In ChatGPT, create a Custom GPT → Configure → Actions → Import from URL and paste https://brandlyx.pro/api/v1/openapi.json. Set Authentication to API Key with Custom Header X-Brandlyx-Key.
Does connecting Claude or ChatGPT auto-publish unreviewed posts?
No. Every post created through Brandlyx MCP v2 or REST API v1 is saved as a Draft (pending_client) with a Pre-Flight score and approval link. A human must always review and confirm before scheduling or publishing.