MCP server and API
LotsSocial for
your AI agent.
Connect your social accounts once, then let your agent draft, validate, schedule and publish posts on LinkedIn, Instagram, X, Facebook, Threads, TikTok, YouTube, Pinterest, Bluesky, Mastodon and Google Business, and read back live links and analytics.
https://api.lots.social/mcpAsk your agent, for example.
Once LotsSocial is connected, plain requests like these work.
- “Schedule this week's three LinkedIn posts for 9am on weekdays.”
- “Turn this blog post into an Instagram carousel caption and a thread for X.”
- “Which of last month's posts got the most engagement on each network?”
Connect in two minutes.
Claude
Settings → Connectors → Add custom connector. Paste the URL, connect, and sign in with your Lots account.
ChatGPT
Plugins → + → Add custom MCP server. Name it, enter the URL under Connection, choose OAuth, tick I understand and want to continue, then Create as a plugin. Install it, sign in, and type @ in a new chat to pick it. Adding a custom connector with full read and write depends on your ChatGPT plan, and on some plans only admins can add one. Check OpenAI's current plan details.
Claude Code
claude mcp add --transport http lots-social https://api.lots.social/mcp
Codex
codex mcp add lots-social --url https://api.lots.social/mcp
Cursor, Windsurf and others
{
"mcpServers": {
"lots-social": {
"url": "https://api.lots.social/mcp"
}
}
}Cloud agents without MCP
Give the agent https://api.lots.social/docs.md and an API key from lotstech.com/api. It calls the REST API with Authorization: Bearer <key>.
Every server uses OAuth: your agent acts as you, inside your own roles and workspaces. You can change what it may do, or disconnect it, at any time in Connected apps.
47 tools, also REST endpoints.
Each tool is available over MCP and as a REST endpoint under https://api.lots.social/api/v1/lotssocial.
Accept Workspace Transfer
For the person a workspace was transferred to. With no arguments: the transfers waiting for you. With transfer_id (or the token from the email link) and no confirm: what moves (brands, connected accounts by name, scheduled and published posts, media, members) and whether your LotsSocial plan or credits cover its connected accounts; show this to the user before accepting. With confirm: true, under the user's instruction: accept. You become the owner, the accounts stay connected, scheduled posts keep publishing, and your plan or credits pay for them from today; the previous owner stays in the workspace if they chose to. Refused with FUNDING_REQUIRED when your plan or credits do not cover the accounts (nothing changes). You must be signed in with the address the transfer was sent to.
Bulk Create Social Media Posts
POST /posts/bulk
Create up to 50 drafts or scheduled posts for one shared set of connected accounts. Brand-scoped work must pass brand_id. Pinterest needs platform_fields (board_id and title), batch-wide or per post; media-required platforms need media before scheduling.
Cancel Or Decline Workspace Transfer
Stop a pending workspace transfer, under the user's instruction. The owner cancels with workspace_id; the person it was sent to declines with transfer_id (or the token from the email link), and the owner is told. Nothing moves and the link stops working.
Cancel Scheduled Post
POST /posts/:post_id/cancel
Cancel a scheduled post and return it to draft. Use list_social_posts with type=scheduled to find the post UUID.
Check product funding
Check plan coverage, credit funding and current capacity rates. Plan coverage is used first; capacity beyond it is paid from the owner's credits automatically, charged daily (free credits first, then plan credits, then purchased). If credits run low, give the returned settings_url so the owner can top up or choose a plan.
Complete Media Upload
Finish an upload started with create_media_upload after the file has been PUT to upload_url. Verifies the file, saves it to the media library and returns its media_id for create_social_post or update_social_post. Add a description and alt text so the file can be found and reused.
Create Brand
Create a brand (a named group of connected accounts, such as one company or client) in a workspace, optionally putting connected accounts in it straight away. An account already in another brand is moved and the response names the brand it left. Brand names are unique per workspace; a clash returns the existing brand_id. Use it when the person asks to group accounts, then pass brand_id when posting for that brand. To connect new accounts straight into the brand, call get_connect_link with its brand_id.
Create Media Upload
Start uploading a video or image file you have locally. Returns a short-lived upload_url: PUT the raw file bytes to it with the given Content-Type header, then call complete_media_upload with the file_key to get a media_id. Use this for every video and for any image you cannot pass as a URL.
Create Social Media Post
Create one post for selected connected accounts: a draft, scheduled (scheduled_time), or published right away (publish_now: true, only after the person confirms). Use platform_captions for account-specific copy and platform_fields for Pinterest (board_id, title, link) TikTok on our own app (send_as_draft) and Instagram (trial_reel, cover_media_id or cover_frame_seconds and share_to_feed on a Reel; location_id and collaborators on any post). Brand-scoped work must pass brand_id. Scheduling and publishing now run every network rule (validate_social_post is the dry run); drafts may stay incomplete. publish_now returns accounts[] with each account's status; get_social_post shows the final results. A draft for TikTok on our own app returns review_url, where the person approves it. request_approval: true saves the post as waiting for approval: it never publishes (scheduled or now) until it is approved; send a client the posts with get_connect_link purpose approval.
Create Workspace
Create a new workspace owned by the person, for example one per business or client they run. Accounts, posts, media and results in different workspaces never mix. Workspaces are free and unlimited. Afterwards, use get_connect_link with the new workspace_id to connect its social accounts.
Delete Media File
Permanently deletes a media file. IMPORTANT: Requires media_id — call list_media first to get the UUID of the media file. Deletion is irreversible.
Delete Social Post
Permanently delete a draft or scheduled post from LotsSocial. Published posts cannot be deleted: LotsSocial cannot remove a post from the network, so the refusal returns each network's live link for the person to open and delete it there while signed in. Creators can delete only their own drafts; owners and admins can delete any draft or scheduled post in their workspace. Managers cannot delete posts.
Disconnect Account
Disconnect a connected social account from LotsSocial so it stops counting toward daily account charges. Use only when the person asks to remove that account. Its LotsSocial post history and analytics are removed with it; posts already on the network stay live there. Refused while the account is in a scheduled post: cancel or edit those posts first. Reconnect later with get_connect_link.
Get Account Details
Get one connected account's profile, follower count, connection health (active, expiring or needs reconnect, with the last error; health.needs_reconnect is true when the network no longer accepts the connection) and posting record. account.audience has the latest daily follower count (subscribers on YouTube) with captured_on and followers_change_7d / followers_change_30d; each change states the days it actually covers, which is shorter while tracking is new. Networks without counts return unavailable_reason, never 0. Pinterest, Instagram and TikTok accounts carry posting_fields: what to pass in platform_fields; for Pinterest the account's boards (board IDs), for Instagram the Facebook Pages usable as a location (location_pages). Use it when posts to the account fail or the person asks about it; if it needs reconnecting, call get_connect_link with account.reconnect.arguments (this account_id) and give them the link (add purpose client when the account belongs to an agency's client): it renews this same account in place. Posts that failed while it needed reconnecting do not retry by themselves: publish them again with update_social_post (post_id, publish_now: true) after the person confirms.
Get Aggregate Analytics
Return normalized engagement totals, platform breakdowns, top posts, analytics freshness and follower counts for a workspace, brand, account subset, platform, or date range. Totals cover only posts with analytics; analytics_freshness.posts_without_analytics counts published posts that have none yet or whose network does not share them. summary.avg_engagement_rate counts only posts that reported exposure (impressions, else views, else reach): their engagement over their exposure; summary.engagement_rate_basis says how many posts and which denominators it used, and the rate is null with a reason when none did. audience lists every account in scope with its latest daily follower count, captured_on, followers_change_7d / followers_change_30d (each states the days it covers) or unavailable_reason; it ignores the date range.
Get Billing Status
Show what LotsSocial costs this person right now: LotsTech Credits balance, which plan (if any) covers how many accounts, how many accounts are paid from credits, the monthly credit spend, and roughly how long the balance lasts. Use it when they ask about credits, cost, billing or whether they can add another account, and after they buy credits to confirm the top-up arrived. Accounts beyond a plan cost credits monthly; posts, media storage, workspaces and brands are free (fair use). Members of someone else's workspace see only whether another account can be added, since the owner pays.
Get Brand Winning Posts
Return the brand’s published posts ranked against its median engagement per platform, from saved analytics. Use for requested performance analysis or relevant prior examples. Reports coverage and relative performance; it does not require a research workflow.
Get Connect Link
Create a link the person opens in their browser to connect a social account (LinkedIn, Instagram, X and the rest) to LotsSocial, or to reconnect one they already have. Use it whenever they ask to connect, add or link an account, or when list_connected_accounts shows the account they want to post to is missing. To renew an existing account (expired, needs reconnecting, or posts fail with an authorization error) pass its account_id: the link renews that same account in place, keeping its ID, brand, post history and scheduled posts, and adds nothing new. Give them the url and ask them to open it; never open it yourself, because it signs in to their social account. The link works for one hour. A new-account link can connect several accounts; accounts beyond plan coverage are paid from credits automatically, and if the balance cannot cover the account, offer get_credits_link. Afterwards call list_connected_accounts (or get_account_details for a reconnect) to confirm. For an agency client who should connect their own accounts without a LotsSocial login, pass purpose client with a label (the client's name) and usually brand_id: that link lasts up to 7 days (expiry_days), returns link_id, is shown only once and can be listed with list_connect_links and revoked with revoke_connect_link (or on the Accounts page). If that client signs in to an account the workspace already has, it is renewed in place, not added again. When the account to renew belongs to the client (you cannot sign in to it), pass purpose client with its account_id: the client renews that one account in place without a LotsSocial login; only that same account is accepted (a different sign-in adds nothing), the link works once, up to 7 days, and is listed and revoked like a client link. Only workspace owners, admins and managers can create client links. For an agency client who should approve or reject posts before they go out, with no LotsSocial login, pass purpose approval with brand_id (required), a label and optionally post_ids (up to 100 posts of that brand, which are put in waiting for approval): the client sees the brand's posts that wait for approval, approves or rejects each with an optional comment, and an approved post goes out on its schedule. The link lasts up to 7 days, is shown only once, and is listed and revoked like a client link. For an agency client who should send photos and videos for one brand, with no LotsSocial login, pass purpose upload with brand_id (required), a label (the client's name), expiry_days and optionally max_files (1 to 50, default 50): the client opens the link on their phone and adds photos and videos in original quality (images up to 50 MB, videos up to 1 GB); each file lands in the brand's media library marked as from the client (list_media with source client_upload). The link is shown only once and is listed and revoked like a client link.
Get Credits Link
Create a checkout link to buy LotsTech Credits, which pay for connected accounts beyond plan coverage. Use it when the person asks to add credits, or when get_billing_status or get_connect_link shows there are not enough credits for what they want. Ask how much they want to spend if they have not said (minimum $10). Give them the url to pay in their browser; never ask for card details in the chat. Purchased credits never expire. Call get_billing_status afterwards to confirm they arrived.
Get Media Details
Retrieves details for a specific media file (image/video), including download_url: a link that saves the file with its original name, valid for 15 minutes (download_expires_in, in seconds). Give the person that link when they want the file itself; ask again for a fresh one after it expires. IMPORTANT: Requires media_id. Call list_media first to get the UUID of the media file.
Get Platform Playbook
Get versioned, dated platform guidance with official-policy, observed-practice, and experimental evidence kept separate. Agents must obey official rules and treat reach guidance as testable rather than guaranteed.
Get Post Analytics
GET /posts/:post_id/analytics
Return engagement analytics for one published post, per network. Use list_social_posts with type=posted to find the post UUID. For a post published in the last 7 days this reads the networks first (at most once an hour), so the numbers are current; last_updated says when they were read. A network entry with analytics_available=false has no data yet (or the network does not share it) and gives a reason: report that reason, never as zero engagement.
Get Social Post Details
Retrieves complete details for a single social post including all media files, platform logs, connected accounts, publishing status, and edit history. Enforces role-based access control - creators can only access their own posts unless they have manager/admin permissions. approval_status is none, pending (waiting for approval), approved or rejected; client_feedback is the client's latest decision with their comment, and awaiting_client says an approval link is waiting on the post.
Grant Support Access
POST /workspaces/:workspace_id/support-access
Let LotsTech support (support@lotstech.com) into one workspace for a limited time so they can look at a problem and fix it. Support joins as Admin and can never change billing, payments, the owner or the team. Without confirmed: true it changes nothing and returns the consent text; grant only after the person has read it and said yes. duration is 24h, 7d (default) or 30d. may_publish (default false) lets support publish fixes live. Granting again while access is on changes the end time. It opens a support case for the person.
Invite Workspace Member
Invite someone to a workspace by email as admin, manager, creator or viewer (never owner). Sends the LotsSocial invitation email; the person accepts it signed in with that email address. Owners and admins only. Confirm the email address and role with the person first. Inviting an address with a pending invitation sends it again (at most once a minute). emailSent says whether the email went out.
Leave Workspace
Leave a workspace you are a member of. The owner cannot leave (the owner deletes the workspace instead). You lose access at once; your posts and media stay in the workspace. Confirm with the person first.
List Brands
List the brands in a workspace with how many connected accounts each holds. Brands group accounts (for example one company or client); pass a brand_id when posting so only that brand's accounts are used. Create or regroup brands with create_brand and update_brand.
List Connect Links
List a workspace's connect links, newest first: link_id, label, brand_id, status (active, expired, revoked, or used: a client reconnect link that already renewed its account) and expires_at. Client links by default (platforms, accounts_connected, reconnect_account_id for a reconnect link); purpose self shows the one-hour links agents created; purpose approval shows client approval links (posts, views, decisions, last_decision_at); purpose upload shows client upload links (files_received, max_files, last_upload_at); all shows every kind. URLs are never shown again after creation. Owners, admins and managers only.
List Connected Accounts
List connected social accounts for you, a workspace or one brand: platform, name, connection status, health (needs_reconnect, consecutive_failures, last_error; an account that needs reconnecting also carries reconnect, the get_connect_link arguments that renew it in place), brand, caption_limit (characters this account accepts; X Premium allows 25,000, free X 280) and requires_media (Instagram, YouTube, Pinterest and TikTok need an image or video). Write each caption to its account's caption_limit. When working for a brand, pass brand_id: a workspace can hold several brands' accounts.
List Media Files
Search accessible images and videos by filename, tags, description, or alt text before asking the owner for a new asset. Files a client sent through an upload link have source client_upload and uploaded_via_link (link_id, label, brand_id); pass source client_upload to list only those.
List Social Posts
List draft, scheduled, or published posts with platform, media, creator, workspace, and optional brand filtering. approval_status is none, pending (waiting for approval), approved or rejected; client_feedback is the client's latest decision with their comment, and awaiting_client says an approval link is waiting on the post.
List Support Access
GET /workspaces/:workspace_id/support-access
Whether LotsTech support has access to this workspace, until when, and what support did there. available false means support access is not set up yet.
List Support Requests
List the support requests the signed-in person has sent to the team that builds this product: number, type, title, status (In progress, Waiting for you, Done), last update, the team's latest reply and a link when one is available. Open requests by default; status all includes finished ones. Pass case_number (for example 1042) to see one request. Use it when the person asks about a problem they reported or whether the team has answered.
List Workspace Members
List the members of a workspace: member_id, email, role (owner, admin, manager, creator, viewer), status and joined_at; is_you marks the caller. Owners and admins also get pending_invitations. Any member can call it.
List Workspaces
Retrieves all workspaces the authenticated user is a member of. Returns workspace details including name, slug, type, owner, and the user role and join date for each workspace. Automatically checks subscription status.
Remove Workspace Member
Remove a member from a workspace. Owners and admins only; the owner cannot be removed. The person loses access at once; their posts and media stay in the workspace. Confirm with the person first.
Revoke Connect Link
Revoke a connect link, a client approval link or a client upload link so it no longer opens. Accounts already connected through a connect link stay connected; decisions already made on an approval link stay, and posts still waiting for approval stay held; files already received through an upload link stay in the media library. The link is kept (not deleted) with its history. Owners, admins and managers only.
Revoke Support Access
DELETE /workspaces/:workspace_id/support-access
End LotsTech support's access to this workspace now. Support leaves the team at once.
Submit Support Request
Send a bug report, feature request, feedback or support question to the team that builds this product. It sends exactly the title and details given. Passwords, API keys, tokens and other people's personal data do not belong in a request. Useful details: what was tried, what happened and what was expected; for a failed tool, tool_name, error_message and request_id. The request is filed under the email the person signed in with, and the team replies to that email. Returns the request number, its status, when to expect a reply and a link when one is available. The same error from the same tool within 24 hours is added to the person's open request instead of opening a new one.
Transfer Workspace To Another Account
Give a whole workspace to another LotsSocial account, under the owner's instruction. Owner only. We email to_email a link; nothing moves until that person signs in to LotsSocial with that address and accepts, and their own plan or credits must cover the workspace's connected accounts. Everything moves with it: brands, connected social accounts (they stay connected, nobody reconnects), scheduled posts (they keep publishing), published history and analytics, media, team and client connect and approval links. keep_previous_owner (default true) keeps you in the workspace as previous_owner_role (admin by default, or manager, creator or viewer); false makes you leave it. One pending transfer per workspace: a new one replaces it. The link works for 7 days. cancel_workspace_transfer cancels it.
Update Brand
Rename a brand or move connected accounts into or out of it. add_account_ids moves accounts in from no brand or another brand (reported as moved_from); remove_account_ids leaves them in no brand. Accounts must be connected in the brand's workspace. Use it when the person asks to regroup accounts, or when create_social_post refuses accounts from different brands and the person wants them in one brand. Scheduled posts keep their accounts.
Update Media Metadata
Update a media file's name, description, alt text or tags so people and agents can find and reuse it. filename renames the file as shown in the media library and in list_media (the stored file and posts using it do not change); list_media search finds it by the new name.
Update Social Post
Update an existing draft or scheduled post, or publish it right away with publish_now: true (only after the person confirms). Supports account-specific captions, Pinterest and Instagram platform_fields (trial reel, cover, share to Feed, location, collaborators; merged over the saved ones), and replacement platform/media selections; preserves existing attribution and fields not changed by the request. publish_now runs every network rule and returns accounts[] with each account's status; get_social_post shows the final results. A published post whose accounts failed (for example because an account needed reconnecting) does not retry by itself after the account is fixed: pass only post_id and publish_now: true (after the person confirms) to publish its failed accounts again, unchanged; accounts already published are not sent again. request_approval: true puts the post in waiting for approval: it never publishes until it is approved. Changing the content of a post after it was approved or rejected asks for approval again.
Update Workspace
Rename a workspace or change its description or logo. Owners and admins only. Manage its members with list_workspace_members, invite_workspace_member, update_workspace_member and remove_workspace_member. Deleting a workspace is done in the LotsSocial app.
Update Workspace Member
Change a member's role to admin, manager, creator or viewer. Workspace owners only. No one can be made owner, and the owner's own role cannot be changed.
Upload Media
Store an image or video in the LotsSocial media library from a public link (url), or an image from base64, and return its media_id and public URL. Videos (MP4, MOV, WebM up to 200 MB) are streamed from the link. For a file on your computer, use create_media_upload and complete_media_upload instead. Add a description and alt text so the asset can be found and reused.
Validate Social Post
Check a post against every network rule without saving it: caption and title limits, required media and fields, file count, format, size, aspect ratio, video length, transparency and animation, per account, and whether each account can publish (an account that needs reconnecting is an error until it is reconnected). Takes the same input as create_social_post (or post_id to check an update, or posts plus platforms for a bulk batch). Returns valid, ready_to_schedule, errors (block scheduling), warnings (a draft can keep them) and notices (files LotsSocial will convert), each with account_id, media_id and the sentence the dashboard shows. Without scheduled_time or type it checks a draft, where every rule is only a warning: valid is then true, and ready_to_schedule is false when scheduling the post as it stands would be refused. Pass scheduled_time to see those as errors. Fix the errors before scheduling; for account_needs_reconnect, get_connect_link with that account_id renews it in place. A trial reel on an Instagram account with fewer than 1,000 followers gets a warning that Instagram may refuse it.
Questions, answered.
What is the LotsSocial MCP server URL?
https://api.lots.social/mcp. Add it as a remote MCP server (custom connector) in your AI agent and sign in with your Lots account.
Which agents work with LotsSocial?
Claude, ChatGPT (from Plugins), Claude Code, Codex, Cursor, Windsurf and any other client that supports remote MCP with OAuth. Adding a custom connector with full read and write depends on your ChatGPT plan, and on some plans only admins can add one. Check OpenAI's current plan details. Agents without MCP use the REST API with an API key.
Where are the LotsSocial API docs?
https://api.lots.social/docs.md: Markdown written so an AI agent can read it. Requests go to https://api.lots.social/api/v1/lotssocial with Authorization: Bearer <your key>.
How do I get a LotsSocial API key?
Use Generate key on this page or at lotstech.com/api. Sign in with your LotsTech account, name the key and copy it once. You can revoke it there at any time.
Does MCP or API access cost extra?
No. It is included with LotsSocial. You pay only for LotsSocial's own plan or usage, and your AI provider bills its own usage.