Connect over MCP
Connect Claude Code, Claude Desktop, Claude.ai, Cursor or any MCP client to flayr with one URL, so your AI agent can draft and schedule posts. It uses an API key or a flayr sign-in.
Connect your AI agent to flayr. Watch on YouTube
Every MCP client connects to the same URL.
- 1
Copy the MCP server URL
Every client in this tutorial connects to this URL.
MCP server URL
https://flayr.social/api/mcp
- 2
Have an API key ready
A client that connects with a key sends it in the Authorization header. Wherever you see flayr_sk_YOUR_KEY, put your own key. No key yet? Create one in Connect your AI agent.
Read the full guide
One URL for every MCP client. Pick your client below, then check that it works.
One command in your terminal.
- 1
Run the command
Paste it into a terminal, with your key in place of flayr_sk_YOUR_KEY.
Claude Code command
claude mcp add --transport http flayr https://flayr.social/api/mcp --header "Authorization: Bearer flayr_sk_YOUR_KEY"
- 2
A custom connector. No API key or config file: you sign in to flayr instead, and pick the brand.
- 1
Add a custom connector
In Claude Desktop or claude.ai, open Settings, then Connectors, and choose Add custom connector.
- 2
Name it flayr and paste the URL
Leave the advanced OAuth fields empty.
Name
flayr
Custom connector URL
https://flayr.social/api/mcp
- 3
Connect and sign in
Choose Connect, sign in to flayr, pick your brand and allow what it may do.
Any client that supports remote (Streamable HTTP) MCP servers with headers takes the same block.
- 1
Add the server in Cursor
Open Settings, then MCP, then Add new MCP server, or edit ~/.cursor/mcp.json. Paste the block with your key in place of flayr_sk_YOUR_KEY.
mcp.json
{ "mcpServers": { "flayr": { "url": "https://flayr.social/api/mcp", "headers": { "Authorization": "Bearer flayr_sk_YOUR_KEY" } } } } - 2
Another MCP client
Give it the server URL and the Authorization header from the first section.
MCP server URL
https://flayr.social/api/mcp
Header name
Authorization
Header value
Bearer flayr_sk_YOUR_KEY
Two quick checks: the URL answers, and your agent knows your brand.
- 1
Check the URL answers
Run this in a terminal. The server answers it without a key, so it shows the URL is right.
Check the MCP URL
curl -s -X POST https://flayr.social/api/mcp -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"check","version":"1.0.0"}}}'The answer contains
"serverInfo":{"name":"flayr" - 2
Ask your agent
Ask the question below. A working connection calls the whoami tool and answers with your brand (or "all your brands" for an account-wide key) and your plan.
Ask your agent
What brand am I connected to in flayr?
Related
Videos
Written guide
- 1Copy the MCP server URL
Every client in this tutorial connects to this URL.
- 2Have an API key ready
A client that connects with a key sends it in the Authorization header. Wherever you see flayr_sk_YOUR_KEY, put your own key. No key yet? Create one in Connect your AI agent.
Official recording
One walkthrough from the flayr team per section, the first card in every row. Until it is recorded, the written steps still work.
Community perspectives
How members really use it, with their own steps. Approved videos earn 100 Embers.
Submit a video