Refract
v1.5.0Draft, approve and schedule social media posts from Claude, ChatGPT, Cursor and other AI apps.
Refract is a social media publishing app. Its remote MCP server lets AI apps such as Claude, ChatGPT, Cursor and VS Code draft, approve and schedule posts for you. There is no token to paste. The app opens Refract, you sign in and pick the workspaces and what the app may do, and it connects. Refract supports OAuth discovery, dynamic client registration and PKCE, so the app finds the sign-in on its own. 1. In Refract, open Settings › API and agents, select Connect Claude, pick the workspaces and what Claude can do, then select Continue in Claude. 2.
Summary extracted from the README.
Refract MCP server
Refract is a social media publishing app. Its remote MCP server lets AI apps such as Claude, ChatGPT, Cursor and VS Code draft, approve and schedule posts for you.
https://mcp.refract.social
There is no token to paste. The app opens Refract, you sign in and pick the workspaces and what the app may do, and it connects. Refract supports OAuth discovery, dynamic client registration and PKCE, so the app finds the sign-in on its own.
- Transport: Streamable HTTP
- Auth: OAuth 2.1 (sign in with your Refract account)
- Overview and example prompts: refract.social/mcp
- Full docs: refract.social/docs/mcp
Connecting
Claude
- In Refract, open Settings › API and agents, select Connect Claude, pick the workspaces and what Claude can do, then select Continue in Claude.
- In Claude, add a custom connector named Refract with the address above.
- Select Connect, then sign in to Refract if it asks.
- Check the workspaces and what Claude can do, then select Allow.
- To let Claude upload files you attach in the chat, open Settings › Capabilities in Claude, turn on Allow network
egress and add
mcp.refract.socialto Additional allowed domains.
ChatGPT
- In ChatGPT on the web, open Plugins, select +, then Add custom MCP server.
- Name it Refract, paste the address and choose OAuth.
- Accept the risk warning, select Create as a plugin, then sign in to Refract and pick what ChatGPT can do.
Claude Code
Run this in your terminal, then type /mcp and sign in.
claude mcp add --transport http refract https://mcp.refract.social
Cursor
Add this to .cursor/mcp.json, then sign in when Cursor asks.
{ "mcpServers": { "refract": { "url": "https://mcp.refract.social" } } }
VS Code
Add this to .vscode/mcp.json, then sign in when VS Code asks.
{ "servers": { "refract": { "type": "http", "url": "https://mcp.refract.social" } } }
Other apps
Add a remote MCP server (Streamable HTTP) with the address above. Refract signs you in through your browser with OAuth.
What a connection can do
When you connect an app you pick its workspaces and one of two levels:
| Level | Works like | |
|---|---|---|
| Draft and send for approval | a Contributor | Reads, writes drafts, adds files and sends posts for approval |
| Schedule and publish | an Editor | All of that, schedules or publishes posts, sends failed posts again, and edits or removes posts that went out |
A connection never does more than your own role allows, and only sees the workspaces it was given. Tools it isn't allowed are not offered to the app at all. Where a workspace asks for approval from AI agents, everything an app schedules waits for approval, just like a teammate's post. Admins see every connection in Settings › API and agents and can remove it at any time.
Schedule and publish lasts 1, 7 or 30 days, or until you change it; after that the connection drafts and sends for approval. Nothing an app schedules goes out sooner than 5 minutes after it asked, so you can still stop it. An app never approves a post: a change it makes to a post someone asked to approve, or approved, waits for a person to confirm it. See Time to stop a post and Confirm changes.
Tools
| Tool | What it does | Level |
|---|---|---|
list-workspaces |
The workspaces this connection can reach, with their time zone, whether agent posts need approval and their post language | Any |
list-accounts |
A workspace's connected social accounts: id, platform, name, handle, health and TikTok's choices for who can view | Any |
list-posts |
A workspace's posts, filtered by status and a date range, newest first (at most 50), with any waiting approval | Any |
get-post |
One post: text, per-platform text, accounts, files, status, time, history, why an account failed and any waiting approval | Any |
read-analytics |
A workspace's numbers for a period: totals, each network, the best posts and what data is missing | Any |
check-post |
Runs the composer's checks on a saved post and lists its issues per network | Any |
find-slots |
The next free posting times for some accounts, up to 10 | Any |
create-draft |
Creates a draft with text, accounts and files, and per network a different text and post fields | Draft or Publish |
update-draft |
Changes a post that hasn't gone out; only what you pass changes, and a scheduled post keeps its time | Draft or Publish |
upload-media |
Adds an image or video to the workspace's media library from a public https link or a file attached in ChatGPT | Draft or Publish |
request-media-upload |
A one-time link to upload an image or video from the app's computer or code sandbox, e.g. a file attached in chat | Draft or Publish |
send-for-approval |
Sends a draft for approval at a time, or at the next free posting time | Draft or Publish |
delete-draft |
Deletes a draft, or a post waiting for approval with its request | Draft or Publish |
restore-draft |
Brings back a draft deleted in the last 30 days, as a draft | Draft or Publish |
schedule-post |
Schedules a draft at a time or the next free posting time, 5 minutes ahead at the earliest; may wait for approval | Publish |
publish-now |
Publishes a draft or a scheduled post on every account, 5 minutes ahead so you can still stop it; can't be undone | Publish |
reschedule-post |
Moves a scheduled post, or one waiting for approval, to a new time, 5 minutes ahead at the earliest | Publish |
unschedule-post |
Takes a scheduled post, or one waiting for approval, back to the drafts | Publish |
retry-post |
Sends a failed post again to one account where it failed, fixing its files first when needed | Publish |
edit-published-post |
Edits a post that already went out, on one of its accounts, where the network allows edits | Publish |
remove-published-post |
Removes a post that already went out from one of its accounts, where the network lets apps remove posts | Publish |
list-workspaces also gives each workspace's postLanguage: the language its posts are written in, chosen in Refract
under Settings › Voice and rules, as a language tag such as de or sr-Latn (null when none is chosen). The app
writes that workspace's posts in it, whatever language you chat in, unless you ask for another language for a post.
Posts made through MCP have "source": "mcp" in the API and in get-post and list-posts. In Refract they show who
connected the app, as Created by that person.
About this repository
This repository holds the public listing metadata for Refract's hosted MCP server: server.json for the
MCP Registry and lhm.plugin.json for the
LobeHub Marketplace. The server itself is part of the Refract app and is not open source.