# Schedule Social Media Posts with Codex Codex (coding agent by OpenAI) Guide: https://lots.social/agents/codex Use the code and changelog already in your Codex session to prepare a social announcement. Connect LotsSocial through MCP to save and schedule the versions you approve. Example workflow: Summarise the user-facing changes in this PR as LinkedIn and X drafts. Avoid claims that the diff does not support. Save both in LotsSocial. **Ask for the customer-facing change.** Codex has the repository context. Ask it to describe what the update lets a user do, rather than listing the files changed. **Connect with Codex’s MCP client.** Add the hosted server and finish OAuth sign-in. The setup below uses the Codex CLI, without installing a LotsSocial CLI. **Schedule after the release is ready.** Approve the copy and choose a time once the release is available. LotsSocial holds the posts in your calendar until publication. ### How do I connect Codex to LotsSocial? Follow the Codex setup below to add https://api.lots.social/mcp. Complete sign-in using the authentication method shown. Ask your agent to list your connected accounts, then save your first post as a draft. ### Do I have to move my code into LotsSocial? No. Codex supplies the writing context. LotsSocial receives the post content, media and scheduling information needed to publish. ### Which social platforms can Codex schedule posts to through LotsSocial? Once a compatible connection has write access, LotsSocial provides publishing and scheduling for 12 networks: LinkedIn, Instagram, X, Google Business, Facebook, YouTube, Reddit, Threads, TikTok, Pinterest, Bluesky, Mastodon. Connect your accounts first. Formats, media requirements and available analytics vary by platform. ### Can Codex save social posts as drafts before scheduling? Yes, through a compatible connection with write tools. Ask for drafts explicitly and review the captions, media and accounts. Drafts remain unscheduled until you ask to schedule them; you choose when to schedule them. ### Will scheduled posts publish after I close Codex? Once a post is successfully scheduled in LotsSocial, its publishing queue handles delivery at the chosen time even when your agent is closed. Creating new drafts or running a recurring brief still requires your agent. Check post status for platform rejections or failed deliveries. ### Do I need a subscription to use LotsSocial with Codex? No LotsSocial subscription is required. Pick a plan for a fixed monthly price, or pay per connected account with credits, charged daily. Eligible new users receive free starter credits with no card required, valid for 90 days. Media storage is free and purchased credits never expire. Your agent’s own plan or usage fees are separate. Current rates are on the LotsSocial pricing page. ### Can Codex manage multiple brands with LotsSocial? Through a compatible connection, your agent can work with brands and their connected accounts inside a workspace. Separate businesses can have separate workspaces. Brands, workspaces, posts and team members are unlimited; connected accounts are covered by your plan or funded with credits. ### Tools fail with an auth error Run codex mcp login lotssocial again; sessions expire after a period of inactivity. Needs: - Codex CLI Steps: 1. **Add the server.** Run this in your terminal. `codex mcp add lotssocial --url https://api.lots.social/mcp` 2. **Sign in.** Run this and finish the sign-in in the browser that opens. `codex mcp login lotssocial` Official setup documentation: [Codex: MCP](https://learn.chatgpt.com/docs/extend/mcp?surface=cli)