### Open the Fuxux plugin in ChatGPT Source: https://www.fuxux.com/chatgpt URL to the Fuxux plugin page in ChatGPT's plugin directory. Install the plugin and connect Fuxux from there. ```text https://chatgpt.com/plugins/plugin_asdk_app_6ac28a186b908191bcf87bffae9cad5e ``` -------------------------------- ### Sign in to Fuxux from Gemini CLI Source: https://www.fuxux.com/gemini Start Gemini CLI and run this command. Your browser opens Fuxux: sign in and choose Allow access. ```bash /mcp auth fuxux ``` -------------------------------- ### get_dashboard Source: https://www.fuxux.com/mcp/docs Provides stats, upcoming posts, and accounts needing attention. ```APIDOC ## get_dashboard ### Description Provides stats, upcoming posts, and accounts needing attention. ### Method MCP Tool ### Endpoint get_dashboard ### Parameters None ### Response - **stats** (object) - Dashboard statistics - **upcoming_posts** (array) - List of upcoming posts - **accounts_needing_attention** (array) - Accounts that need attention ``` -------------------------------- ### whoami Source: https://www.fuxux.com/mcp/docs Checks the connection works and reads your email and plan. ```APIDOC ## whoami ### Description Checks the connection works and reads your email and plan. ### Method MCP Tool ### Endpoint whoami ### Parameters None ### Response - **email** (string) - Your email address - **plan** (string) - Your plan type ``` -------------------------------- ### get_post Source: https://www.fuxux.com/mcp/docs Retrieves one post with its per-platform variants, including drafts. ```APIDOC ## get_post ### Description Retrieves one post with its per-platform variants, including drafts. ### Method MCP Tool ### Endpoint get_post ### Parameters #### Path Parameters - **post_id** (string) - Required - The ID of the post to retrieve ### Response - **post** (object) - The post with per-platform variants ``` -------------------------------- ### Sign in to Fuxux via /mcps Source: https://www.fuxux.com/grok-build Starts the sign-in flow. Run /mcps, select fuxux and press i. Fuxux opens in your browser: sign in and choose Allow access. ```bash /mcps ``` -------------------------------- ### Install Fuxux extension for Gemini CLI Source: https://www.fuxux.com/gemini Run in terminal to add the Fuxux server to Gemini CLI. Requires a Fuxux account; works on every plan including Free. ```bash gemini extensions install https://github.com/abogitoff/fuxux-claude-plugin ``` -------------------------------- ### create_post Source: https://www.fuxux.com/mcp/docs Publishes now, schedules with scheduled_at, or saves a draft with draft: true. Pass targets to pick accounts; otherwise each platform posts to its first connected account. Reddit isn't supported. ```APIDOC ## create_post ### Description Publishes now, schedules with scheduled_at, or saves a draft with draft: true. Pass targets to pick accounts; otherwise each platform posts to its first connected account. Reddit isn't supported. ### Method MCP Tool ### Endpoint create_post ### Parameters #### Request Body - **scheduled_at** (string) - Optional - Schedule the post for a specific time - **draft** (boolean) - Optional - Set to true to save as draft - **targets** (array) - Optional - List of account ids to post to; if omitted, each platform posts to its first connected account - **captions** (object) - Optional - Captions per platform (keys are platform ids) ### Response - **post** (object) - The created post ``` -------------------------------- ### Authenticate with /mcp Source: https://www.fuxux.com/claude-code Start Claude Code, run /mcp, pick fuxux and choose to authenticate. Your browser opens Fuxux: sign in and choose Allow access. ```bash /mcp ``` -------------------------------- ### list_posts Source: https://www.fuxux.com/mcp/docs Lists the post queue with optional filters for month, status, limit, offset, and order. ```APIDOC ## list_posts ### Description Lists the post queue with optional filters for month, status, limit, offset, and order. ### Method MCP Tool ### Endpoint list_posts ### Parameters #### Query Parameters - **month** (string) - Optional - Filter by month - **status** (string) - Optional - Filter by status: scheduled, published, draft, failed - **limit** (integer) - Optional - Number of posts to return (1–50, default 20) - **offset** (integer) - Optional - Offset for pagination - **order** (string) - Optional - Order: upcoming, newest, recently_published, recently_updated ### Response - **posts** (array) - List of posts matching the filters ``` -------------------------------- ### Add Fuxux MCP server without API key Source: https://www.fuxux.com/grok-build Alternative setup for sign-in with a Fuxux account, no key needed, works on the Free plan. Without a header, Grok opens a browser sign-in the first time it uses the server. ```bash grok mcp add --transport http fuxux https://www.fuxux.com/api/mcp ``` -------------------------------- ### Install Fuxux skill with npx Source: https://www.fuxux.com/agent-skill Run this command to add the Fuxux social media skill to Claude Code, Codex, Cursor, and other agents that read SKILL.md files. Requires the Fuxux MCP server to be configured separately. ```bash npx skills add abogitoff/fuxux-claude-plugin ``` -------------------------------- ### get_post Source: https://www.fuxux.com/mcp/docs Retrieves a single post with its per-platform variants, including drafts. Use this to check the status of a post after publishing. ```APIDOC ## get_post ### Description Retrieves a single post with its per-platform variants, including drafts. Use this to check the status of a post after publishing. ### Method MCP Tool ### Endpoint `get_post` ### Parameters - **post_id** (string) - Required - The ID of the post to retrieve. ### Response Returns the post object with its per-platform variants and status. ``` -------------------------------- ### list_connected_accounts Source: https://www.fuxux.com/mcp/docs Lists your connected social accounts, with the ids that create_post targets use. ```APIDOC ## list_connected_accounts ### Description Lists your connected social accounts, with the ids that create_post targets use. ### Method MCP Tool ### Endpoint list_connected_accounts ### Parameters None ### Response - **accounts** (array) - List of connected social accounts, each with an id used as a target in create_post ``` -------------------------------- ### Add Fuxux MCP server with API key header Source: https://www.fuxux.com/grok-build Adds the Fuxux server using an API key. Keep the single quotes so the variable name is saved and the key is read when Grok starts. Add --scope project to save it for one project only. ```bash grok mcp add --transport http fuxux https://www.fuxux.com/api/mcp --header 'Authorization: Bearer ${FUXUX_API_KEY}' ``` -------------------------------- ### update_post Source: https://www.fuxux.com/mcp/docs Reschedules, edits captions, or replaces media on a draft or scheduled post. ```APIDOC ## update_post ### Description Reschedules, edits captions, or replaces media on a draft or scheduled post. ### Method MCP Tool ### Endpoint update_post ### Parameters #### Path Parameters - **post_id** (string) - Required - The ID of the post to update #### Request Body - **scheduled_at** (string) - Optional - New schedule time - **captions** (object) - Optional - Updated captions per platform - **media** (array) - Optional - Replaced media ### Response - **post** (object) - The updated post ``` -------------------------------- ### Configure Fuxux MCP server in .mcp.json Source: https://www.fuxux.com/mcp/docs Add this configuration to a .mcp.json file at the repo root. Claude Code expands ${VAR} from your environment, so set FUXUX_API_KEY beforehand. ```json { "mcpServers": { "fuxux": { "type": "http", "url": "https://www.fuxux.com/api/mcp", "headers": { "Authorization": "Bearer ${FUXUX_API_KEY}" } } } } ``` -------------------------------- ### Configure Fuxux MCP for Claude Desktop with mcp-remote Source: https://www.fuxux.com/mcp/docs Use the mcp-remote bridge (requires Node.js) in claude_desktop_config.json. Keeping the header in env avoids a known problem with spaces in arguments on Windows. ```json { "mcpServers": { "fuxux": { "command": "npx", "args": [ "-y", "mcp-remote", "https://www.fuxux.com/api/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer fx_live_your_key_here" } } } } ``` -------------------------------- ### GET /api/usage Source: https://www.fuxux.com/docs/api Returns your plan's limits and what you've used this month. This endpoint provides usage information for the current billing period. ```APIDOC ## GET /api/usage ### Description Your plan's limits and what you've used this month. ### Method GET ### Endpoint /api/usage ### Authentication Bearer token (API key) ### Request Example ```bash curl https://www.fuxux.com/api/usage \ -H "Authorization: Bearer fx_live_your_key_here" ``` ### Response #### Success Response (200) - Plan limits and usage. ``` -------------------------------- ### GET /api/analytics Source: https://www.fuxux.com/docs/api Returns publishing analytics. This endpoint provides analytics data related to your posts and publishing activity. ```APIDOC ## GET /api/analytics ### Description Publishing analytics. ### Method GET ### Endpoint /api/analytics ### Authentication Bearer token (API key) ### Request Example ```bash curl https://www.fuxux.com/api/analytics \ -H "Authorization: Bearer fx_live_your_key_here" ``` ### Response #### Success Response (200) - Analytics data. ``` -------------------------------- ### update_post Source: https://www.fuxux.com/mcp/docs Updates a draft or scheduled post by rescheduling, editing captions, or replacing media. This tool allows modifications to posts that have not yet been published. ```APIDOC ## update_post ### Description Updates a draft or scheduled post by rescheduling, editing captions, or replacing media. This tool allows modifications to posts that have not yet been published. ### Method MCP Tool ### Endpoint `update_post` ### Parameters - **post_id** (string) - Required - The ID of the post to update. - **schedule** (datetime) - Optional - New scheduled time for the post. - **captions** (object) - Optional - Updated captions per platform. - **media** (array) - Optional - Replaced media files. ### Response Returns the updated post object. ``` -------------------------------- ### GET /api/dashboard Source: https://www.fuxux.com/docs/api Returns a summary: counts, upcoming posts, accounts needing attention. This endpoint provides a dashboard overview of your account. ```APIDOC ## GET /api/dashboard ### Description Summary: counts, upcoming posts, accounts needing attention. ### Method GET ### Endpoint /api/dashboard ### Authentication Bearer token (API key) ### Request Example ```bash curl https://www.fuxux.com/api/dashboard \ -H "Authorization: Bearer fx_live_your_key_here" ``` ### Response #### Success Response (200) - Dashboard summary data. ``` -------------------------------- ### Authenticate with API key using curl Source: https://www.fuxux.com/docs/api Send an API key as a bearer token. Keys start with `fx_live_`, are shown once, and last until revoked or rotated. Use one key per integration. ```bash curl https://www.fuxux.com/api/accounts \ -H "Authorization: Bearer fx_live_your_key_here" ``` -------------------------------- ### GET /api/accounts Source: https://www.fuxux.com/docs/api Lists connected social accounts. This endpoint retrieves all social accounts that are connected to the user's Fuxux account. ```APIDOC ## GET /api/accounts ### Description Lists connected social accounts. ### Method GET ### Endpoint /api/accounts ### Authentication Bearer token (API key) ### Request Example ```bash curl https://www.fuxux.com/api/accounts \ -H "Authorization: Bearer fx_live_your_key_here" ``` ### Response #### Success Response (200) - List of connected social accounts. ``` -------------------------------- ### GET /api/posts Source: https://www.fuxux.com/docs/api Lists posts, with optional filtering by status and month. This endpoint retrieves a list of posts based on the provided query parameters. ```APIDOC ## GET /api/posts ### Description Lists posts (filter by status and month). ### Method GET ### Endpoint /api/posts ### Authentication Bearer token (API key) ### Parameters #### Query Parameters - **status** (string) - Optional - Filter posts by status. - **month** (string) - Optional - Filter posts by month. ### Request Example ```bash curl https://www.fuxux.com/api/posts \ -H "Authorization: Bearer fx_live_your_key_here" ``` ### Response #### Success Response (200) - List of posts. ``` -------------------------------- ### MCP Endpoint URL Source: https://www.fuxux.com/docs/mcp The hosted MCP server endpoint over Streamable HTTP. Stateless: send JSON-RPC with POST; GET returns 405. ```text https://www.fuxux.com/api/mcp ``` -------------------------------- ### GET /api/posts/{id} Source: https://www.fuxux.com/docs/api Retrieves a single post with per-platform results. This endpoint returns detailed information about a specific post, including results for each platform. ```APIDOC ## GET /api/posts/{id} ### Description One post with per-platform results. ### Method GET ### Endpoint /api/posts/{id} ### Authentication Bearer token (API key) ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the post. ### Request Example ```bash curl https://www.fuxux.com/api/posts/{id} \ -H "Authorization: Bearer fx_live_your_key_here" ``` ### Response #### Success Response (200) - The post with per-platform results. ``` -------------------------------- ### API Key Authentication Header Source: https://www.fuxux.com/docs/mcp Send the API key on every request for clients without sign-in. Keys start with `fx_live_` and require a paid plan with the API add-on. Clients that can't add the `Bearer` prefix can use `x-api-key` instead. ```http Authorization: Bearer fx_live_your_key_here ``` -------------------------------- ### POST /api/mcp Source: https://www.fuxux.com/mcp/docs The MCP server endpoint for connecting MCP clients like Claude, Cursor, or Manus. It accepts JSON-RPC requests via POST and supports authentication via OAuth sign-in or API key. ```APIDOC ## [POST] /api/mcp ### Description Connect your MCP client to Fuxux to list accounts, draft, schedule, and publish posts to connected platforms, and check the queue. ### Method POST ### Endpoint https://www.fuxux.com/api/mcp ### Authentication Two methods are supported: - **Sign in (no key)**: Add the endpoint with no header. The client opens Fuxux in your browser, you sign in and allow access. Standard MCP authorization (OAuth 2.1 with PKCE). Server metadata at `/.well-known/oauth-authorization-server`. Access tokens last an hour and are refreshed. - **API key**: Send your key on every request. Keys start with `fx_live_`, are shown once, and last until revoked. Requires a paid plan with the API add-on ($5/month). ### Request Send JSON-RPC requests via POST. There is no SSE stream; GET returns 405. ### Response Stateless Streamable HTTP response with JSON-RPC results. ``` -------------------------------- ### Sign in to Fuxux with /mcp-config login fuxux Source: https://www.fuxux.com/kimi Run this inside Kimi Code to sign in. Fuxux opens in your browser: sign in and choose Allow access. ```text /mcp-config login fuxux ``` -------------------------------- ### Schedule a post with create_post in plain language Source: https://www.fuxux.com/blog/how-to-schedule-social-media-posts-with-mcp Ask the assistant to schedule a post with per-platform captions. The agent calls create_post with one caption per platform. Including a time sets scheduled_at; asking for a draft sets draft: true; if neither is given, the post publishes immediately. Specify the time zone and name the account when multiple are connected. ```text Schedule a post for next Tuesday at 9:00 Madrid time on LinkedIn and Bluesky. LinkedIn: three short paragraphs about our new onboarding flow, no hashtags. Bluesky: one sentence under 300 characters with the same point. Save it as a draft first and show me both captions. ``` -------------------------------- ### Add Fuxux server with API key Source: https://www.fuxux.com/gemini For machines without a browser. Create a key on the API keys page in Fuxux. Gemini CLI stores it in its settings file, so keep that file private. ```bash gemini mcp add --transport http --header "Authorization: Bearer fx_live_your_key_here" fuxux https://www.fuxux.com/api/mcp ``` -------------------------------- ### Add Fuxux MCP server with header Source: https://www.fuxux.com/claude-code The key is sent on every request. Use this command to add the server with an Authorization header. ```bash claude mcp add --transport http fuxux https://www.fuxux.com/api/mcp --header "Authorization: Bearer $FUXUX_API_KEY" ``` -------------------------------- ### create_post Source: https://www.fuxux.com/docs/mcp Publishes now, schedules with `scheduled_at`, or saves a draft with `draft: true`. `targets` picks accounts; captions can differ per platform. ```APIDOC ## create_post ### Description Publishes now, schedules with `scheduled_at`, or saves a draft with `draft: true`. `targets` picks accounts; captions can differ per platform. ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters #### Arguments - **targets** (array) - Required - List of account ids to publish to. - **scheduled_at** (string) - Optional - ISO timestamp for scheduling. - **draft** (boolean) - Optional - If true, saves as draft. - **captions** (object) - Optional - Per-platform captions. ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "create_post", "arguments": { "targets": ["twitter_123"], "scheduled_at": "2025-01-01T00:00:00Z", "draft": false, "captions": { "twitter": "Hello world" } } }, "id": 1 } ``` ### Response #### Success Response (200) - **post** (object) - The created post. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"post\": {\"id\": \"post_123\"}}" } ] }, "id": 1 } ``` ``` -------------------------------- ### Log in to Fuxux via Codex MCP Source: https://www.fuxux.com/codex Opens your browser to sign in to Fuxux and choose Allow access. Requires the server to be added first. ```bash codex mcp login fuxux ``` -------------------------------- ### Check Fuxux connection with whoami and list_connected_accounts Source: https://www.fuxux.com/blog/how-to-schedule-social-media-posts-with-mcp Ask the assistant this prompt to verify the API key and see which social accounts are connected. The client calls the whoami tool (confirms key and plan) and list_connected_accounts (returns allowed accounts). A 401 means the key is wrong or revoked; a 403 means the API add-on is not active. ```text Use Fuxux to check who I am and list my connected accounts. ``` -------------------------------- ### Add Fuxux MCP server with API key in mcp.json Source: https://www.fuxux.com/kimi Configure the Fuxux MCP server in ~/.kimi-code/mcp.json (or a project's .kimi-code/mcp.json) using an API key. The key is stored in the file, so keep it private. You can also add it from the /mcp-config menu. ```json { "mcpServers": { "fuxux": { "url": "https://www.fuxux.com/api/mcp", "headers": { "Authorization": "Bearer fx_live_your_key_here" } } } } ``` -------------------------------- ### Add Fuxux server manually to Gemini CLI Source: https://www.fuxux.com/gemini Writes the server to your Gemini CLI settings. Sign-in works the same way as with the extension. ```bash gemini mcp add --transport http fuxux https://www.fuxux.com/api/mcp ``` -------------------------------- ### get_post Source: https://www.fuxux.com/docs/mcp Returns one post with its per-platform versions and results. ```APIDOC ## get_post ### Description Returns one post with its per-platform versions and results. ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters #### Arguments - **post_id** (string) - Required - The ID of the post to retrieve. ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get_post", "arguments": { "post_id": "post_123" } }, "id": 1 } ``` ### Response #### Success Response (200) - **post** (object) - The post with per-platform versions and results. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"post\": {\"id\": \"post_123\", \"versions\": []}}" } ] }, "id": 1 } ``` ``` -------------------------------- ### Configure Fuxux MCP server with API key in config.toml Source: https://www.fuxux.com/codex Adds the Fuxux MCP server to config.toml using a bearer token from the FUXUX_API_KEY environment variable. Codex reads the key from the variable and sends it as a bearer token, so the key is not stored in the file. ```toml [mcp_servers.fuxux] url = "https://www.fuxux.com/api/mcp" bearer_token_env_var = "FUXUX_API_KEY" ``` -------------------------------- ### Add Fuxux MCP server with API key Source: https://www.fuxux.com/hermes Alternative config for servers without a browser: create a key on the Fuxux API keys page and use it in headers instead of auth: oauth. The key is stored in the file, so keep it private. ```yaml mcp_servers: fuxux: url: "https://www.fuxux.com/api/mcp" headers: Authorization: "Bearer ``` -------------------------------- ### Add Fuxux MCP server with API key Source: https://www.fuxux.com/hermes Alternative config for servers without a browser. Uses a Fuxux API key in the Authorization header instead of auth: oauth. The key is stored in the file, so keep it private. ```yaml mcp_servers: fuxux: url: "https://www.fuxux.com/api/mcp" headers: Authorization: "Bearer fx_live_your_key_here" ``` -------------------------------- ### Add Fuxux MCP server to Cursor mcp.json Source: https://www.fuxux.com/cursor Configure the Fuxux MCP server in Cursor's mcp.json, either globally at ~/.cursor/mcp.json or in a project's .cursor/mcp.json. The Authorization header uses the FUXUX_API_KEY environment variable. ```json { "mcpServers": { "fuxux": { "url": "https://www.fuxux.com/api/mcp", "headers": { "Authorization": "Bearer ${env:FUXUX_API_KEY}" } } } } ``` -------------------------------- ### List connected Fuxux accounts via Codex MCP Source: https://www.fuxux.com/codex Lists configured MCP servers. Use this to verify the connection, then ask "list my connected accounts in Fuxux" inside Codex. Connect your social accounts in Fuxux first. ```bash codex mcp list ``` -------------------------------- ### Add Fuxux MCP server without header in mcp.json Source: https://www.fuxux.com/kimi Use the same entry with only the url when signing in with your Fuxux account. No key needed, so it works on the Free plan. ```json { "mcpServers": { "fuxux": { "url": "https://www.fuxux.com/api/mcp" } } } ``` -------------------------------- ### Sign in to Fuxux via Hermes MCP login Source: https://www.fuxux.com/hermes Runs the Hermes MCP login command for the fuxux server. Opens Fuxux in the browser to sign in and choose Allow access. ```bash hermes mcp login fuxux ``` -------------------------------- ### Create a post with captions and schedule using curl Source: https://www.fuxux.com/docs/api Creates a post with per-platform captions and an optional scheduled time. Leave out `scheduled_at` to publish now, or send `draft: true` to save a draft. Attach media with `media_urls` from `POST /api/media/upload`. ```bash curl -X POST https://www.fuxux.com/api/posts \ -H "Authorization: Bearer fx_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "captions": { "linkedin": "We just shipped RSS auto-posting: every new blog post now shares itself.", "bluesky": "RSS auto-posting is live." }, "scheduled_at": "2026-11-02T09:00:00Z" }' ``` -------------------------------- ### whoami Source: https://www.fuxux.com/docs/mcp Checks the connection and returns your email and plan. ```APIDOC ## whoami ### Description Checks the connection and returns your email and plan. ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters None ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "whoami", "arguments": {} }, "id": 1 } ``` ### Response #### Success Response (200) - **email** (string) - The user's email. - **plan** (string) - The user's plan (e.g., free, paid). #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"email\": \"user@example.com\", \"plan\": \"free\"}" } ] }, "id": 1 } ``` ``` -------------------------------- ### Ask something read-only first Source: https://www.fuxux.com/chatgpt Mention the plugin in a message. If ChatGPT answers with your accounts, you are connected. ```text @Fuxux list my connected accounts ``` -------------------------------- ### get_dashboard Source: https://www.fuxux.com/docs/mcp Returns stats, upcoming posts, and accounts that need attention. ```APIDOC ## get_dashboard ### Description Returns stats, upcoming posts, and accounts that need attention. ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters None ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get_dashboard", "arguments": {} }, "id": 1 } ``` ### Response #### Success Response (200) - **stats** (object) - Dashboard statistics. - **upcoming_posts** (array) - List of upcoming posts. - **attention** (array) - Accounts that need attention. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"stats\": {\"total_posts\": 100}, \"upcoming_posts\": [], \"attention\": []}" } ] }, "id": 1 } ``` ``` -------------------------------- ### Share API key with project via .mcp.json Source: https://www.fuxux.com/claude-code Put this in .mcp.json at the repo root. Claude Code fills in ${VAR} from your environment, so the key itself is never committed. ```json { "mcpServers": { "fuxux": { "type": "http", "url": "https://www.fuxux.com/api/mcp", "headers": { "Authorization": "Bearer ${FUXUX_API_KEY}" } } } } ``` -------------------------------- ### Check Fuxux MCP connection Source: https://www.fuxux.com/grok-build Checks the connection to the Fuxux server. After this, ask Grok "list my connected accounts in Fuxux". ```bash grok mcp doctor fuxux ``` -------------------------------- ### Add Fuxux MCP server via Codex CLI Source: https://www.fuxux.com/codex Adds Fuxux as a remote MCP server to ~/.codex/config.toml using Codex's own MCP login. Works on every Fuxux plan, including Free. ```bash codex mcp add fuxux --url https://www.fuxux.com/api/mcp ``` -------------------------------- ### POST /api/posts Source: https://www.fuxux.com/docs/api Creates a post: publish now, schedule, or save a draft. This endpoint accepts a JSON body with captions, scheduling, targets, and media URLs. ```APIDOC ## POST /api/posts ### Description Create a post: publish now, schedule or save a draft. ### Method POST ### Endpoint /api/posts ### Authentication Bearer token (API key) ### Parameters #### Request Body - **captions** (object) - Required - Maps each platform id to its caption. - **scheduled_at** (string, date-time) - Optional - When to publish the post. Leave out to publish now. - **draft** (boolean) - Optional - Set to true to save a draft. - **targets** (array) - Optional - List of accounts to post to. If omitted, uses the first connected account on each platform. - **media_urls** (array) - Optional - URLs of media to attach, from POST /api/media/upload. ### Request Example ```bash curl -X POST https://www.fuxux.com/api/posts \ -H "Authorization: Bearer fx_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "captions": { "linkedin": "We just shipped RSS auto-posting: every new blog post now shares itself.", "bluesky": "RSS auto-posting is live." }, "scheduled_at": "2026-11-02T09:00:00Z" }' ``` ### Response #### Success Response (200) - The created post. ``` -------------------------------- ### Add Fuxux MCP server in Claude Code Source: https://www.fuxux.com/agent-skill Adds the Fuxux MCP server to Claude Code via the CLI. After running, sign in to Fuxux when the browser opens. ```bash claude mcp add --transport http fuxux https://www.fuxux.com/api/mcp ``` -------------------------------- ### Add Fuxux MCP server to Hermes config Source: https://www.fuxux.com/hermes Adds the Fuxux MCP server under mcp_servers in ~/.hermes/config.yaml using OAuth authentication. Works on every Fuxux plan, including Free. ```yaml mcp_servers: fuxux: url: "https://www.fuxux.com/api/mcp" auth: oauth ``` -------------------------------- ### Set FUXUX_API_KEY environment variable Source: https://www.fuxux.com/grok-build Required before adding the Fuxux MCP server with an API key. The key stays in an environment variable, not in the config file. Grok fills in ${NAME} in headers when it loads the config. ```bash export FUXUX_API_KEY=fx_live_your_key_here ``` -------------------------------- ### POST /api/ai/generate Source: https://www.fuxux.com/docs/api Generates a caption for each platform from a prompt. This endpoint uses AI to create platform-specific captions based on the provided prompt. ```APIDOC ## POST /api/ai/generate ### Description Generate a caption for each platform from a prompt. ### Method POST ### Endpoint /api/ai/generate ### Authentication Bearer token (API key) ### Parameters #### Request Body - **prompt** (string) - Required - The prompt to generate captions from. ### Request Example ```bash curl -X POST https://www.fuxux.com/api/ai/generate \ -H "Authorization: Bearer fx_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "prompt": "Announce our new feature" }' ``` ### Response #### Success Response (200) - **captions** (object) - Generated captions for each platform. ``` -------------------------------- ### Set FUXUX_API_KEY environment variable Source: https://www.fuxux.com/claude-code Create a key on the API keys page in Fuxux and keep it out of shared files. For machines without a browser, such as CI or a remote box. ```bash FUXUX_API_KEY=fx_live_your_key_here ``` -------------------------------- ### list_posts Source: https://www.fuxux.com/docs/mcp Returns the queue of posts, filtered by month, status, with limit, offset, and order. ```APIDOC ## list_posts ### Description Returns the queue of posts, filtered by month, status, with limit, offset, and order. ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters #### Arguments - **month** (string) - Optional - Filter by month (e.g., '2025-01'). - **status** (string) - Optional - Filter by status: scheduled, published, draft, failed. - **limit** (integer) - Optional - Number of posts to return (1–50). - **offset** (integer) - Optional - Offset for pagination. - **order** (string) - Optional - Sort order (e.g., 'asc', 'desc'). ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "list_posts", "arguments": { "month": "2025-01", "status": "scheduled", "limit": 10, "offset": 0, "order": "asc" } }, "id": 1 } ``` ### Response #### Success Response (200) - **posts** (array) - List of posts. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"posts\": []}" } ] }, "id": 1 } ``` ``` -------------------------------- ### list_connected_accounts Source: https://www.fuxux.com/docs/mcp Lists your connected social accounts, with the ids that `create_post` targets use. ```APIDOC ## list_connected_accounts ### Description Lists your connected social accounts, with the ids that `create_post` targets use. ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters None ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "list_connected_accounts", "arguments": {} }, "id": 1 } ``` ### Response #### Success Response (200) - **accounts** (array) - List of connected accounts with their ids. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"accounts\": [{\"id\": \"twitter_123\", \"platform\": \"twitter\"}]}" } ] }, "id": 1 } ``` ``` -------------------------------- ### POST /api/media/upload Source: https://www.fuxux.com/docs/api Uploads an image or video to attach to posts. This endpoint returns a media URL that can be used in the media_urls field when creating a post. ```APIDOC ## POST /api/media/upload ### Description Upload an image or video to attach to posts. ### Method POST ### Endpoint /api/media/upload ### Authentication Bearer token (API key) ### Parameters #### Request Body - **file** (file) - Required - The image or video file to upload. ### Request Example ```bash curl -X POST https://www.fuxux.com/api/media/upload \ -H "Authorization: Bearer fx_live_your_key_here" \ -F "file=@image.jpg" ``` ### Response #### Success Response (200) - **media_url** (string) - URL of the uploaded media. ``` -------------------------------- ### Base URL for Fuxux REST API Source: https://www.fuxux.com/docs/api The base URL for all Fuxux REST API requests. All endpoints are relative to this URL. ```text https://www.fuxux.com/api ``` -------------------------------- ### Reload MCP servers in Hermes session Source: https://www.fuxux.com/hermes Reloads the MCP servers in a running Hermes session after adding Fuxux. Then ask "list my connected accounts in Fuxux" to verify; connect social accounts in Fuxux first. ```bash /reload-mcp ``` -------------------------------- ### POST /api/mcp Source: https://www.fuxux.com/docs/mcp The MCP server endpoint for sending JSON-RPC requests. Use this endpoint to invoke MCP tools for managing accounts, posts, and publishing. ```APIDOC ## [POST] /api/mcp ### Description The MCP server endpoint for sending JSON-RPC requests. Use this endpoint to invoke MCP tools for managing accounts, posts, and publishing. ### Method POST ### Endpoint https://www.fuxux.com/api/mcp ### Authentication - **OAuth**: No header required; client opens browser for sign-in. - **API Key**: `Authorization: Bearer fx_live_your_key_here` or `x-api-key: fx_live_…` ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "whoami", "arguments": {} }, "id": 1 } ``` ### Response #### Success Response (200) - **result** (object) - The tool result. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"email\": \"user@example.com\", \"plan\": \"free\"}" } ] }, "id": 1 } ``` ### Error Handling - **405**: GET requests are not allowed; only POST is supported. - **Rate Limit**: 120 requests per minute per API key, 300 per minute per account. Over limit, tools return a wait time. ``` -------------------------------- ### update_post Source: https://www.fuxux.com/docs/mcp Reschedules, edits captions, or replaces media on a draft or scheduled post. ```APIDOC ## update_post ### Description Reschedules, edits captions, or replaces media on a draft or scheduled post. ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters #### Arguments - **post_id** (string) - Required - The ID of the post to update. - **scheduled_at** (string) - Optional - New schedule time. - **captions** (object) - Optional - Updated captions. - **media** (array) - Optional - New media to replace. ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "update_post", "arguments": { "post_id": "post_123", "scheduled_at": "2025-01-02T00:00:00Z", "captions": { "twitter": "Updated caption" }, "media": [] } }, "id": 1 } ``` ### Response #### Success Response (200) - **post** (object) - The updated post. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"post\": {\"id\": \"post_123\"}}" } ] }, "id": 1 } ``` ``` -------------------------------- ### Webhooks Source: https://www.fuxux.com/docs/api Webhooks are sent as POST requests when a post publishes or fails. Each request is signed with HMAC-SHA256 using your webhook secret, and the signature is provided in the X-Fuxux-Signature header. ```APIDOC ## Webhooks ### Description Set a webhook URL on the API keys page to get a POST when a post publishes or fails. Each request is signed: the X-Fuxux-Signature header is sha256= followed by the HMAC-SHA256 of the raw body with your webhook secret. Check it before trusting the payload. ### Method POST ### Endpoint (Webhook URL configured by user) ### Authentication Signed with HMAC-SHA256 using webhook secret. ### Headers - **X-Fuxux-Signature** (string) - Required - HMAC-SHA256 signature of the raw body. ### Request Example ``` POST /webhook HTTP/1.1 Host: your-server.com X-Fuxux-Signature: sha256=... Content-Type: application/json { "event": "post.published" } ``` ### Response #### Success Response (200) - Acknowledgment of webhook receipt. ``` -------------------------------- ### delete_post Source: https://www.fuxux.com/docs/mcp Deletes a post from Fuxux (not from the network if already published). ```APIDOC ## delete_post ### Description Deletes a post from Fuxux (not from the network if already published). ### Method MCP Tool Call ### Endpoint POST https://www.fuxux.com/api/mcp ### Parameters #### Arguments - **post_id** (string) - Required - The ID of the post to delete. ### Request Example ```json { "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "delete_post", "arguments": { "post_id": "post_123" } }, "id": 1 } ``` ### Response #### Success Response (200) - **success** (boolean) - Whether the deletion was successful. #### Response Example ```json { "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"success\": true}" } ] }, "id": 1 } ``` ``` -------------------------------- ### PATCH /api/posts/{id} Source: https://www.fuxux.com/docs/api Edits or reschedules a draft or scheduled post. This endpoint allows updating the content or scheduling of an existing post. ```APIDOC ## PATCH /api/posts/{id} ### Description Edit or reschedule a draft or scheduled post. ### Method PATCH ### Endpoint /api/posts/{id} ### Authentication Bearer token (API key) ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the post. #### Request Body - Fields to update (e.g., captions, scheduled_at). ### Request Example ```bash curl -X PATCH https://www.fuxux.com/api/posts/{id} \ -H "Authorization: Bearer fx_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "scheduled_at": "2026-11-03T09:00:00Z" }' ``` ### Response #### Success Response (200) - The updated post. ``` -------------------------------- ### DELETE /api/posts/{id} Source: https://www.fuxux.com/docs/api Deletes a post. This endpoint removes a specific post from the system. ```APIDOC ## DELETE /api/posts/{id} ### Description Delete a post. ### Method DELETE ### Endpoint /api/posts/{id} ### Authentication Bearer token (API key) ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the post. ### Request Example ```bash curl -X DELETE https://www.fuxux.com/api/posts/{id} \ -H "Authorization: Bearer fx_live_your_key_here" ``` ### Response #### Success Response (200) - Confirmation of deletion. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.