Skip to main content
Most clients connect to PostSyncer with OAuth: you add the server, the client sends you to PostSyncer, and you click Allow. There is no key to create or paste. An API key is for scripts, servers and clients that can’t sign in with OAuth (see Connect with a Bearer token). In PostSyncer, Settings → AI Agents has the same setup for each client, with the links and commands ready to copy.

Let your agent set itself up

Claude Code, Cursor, Codex, OpenClaw, Gemini CLI and most other coding agents can add PostSyncer themselves. Give your agent this message:

Sign up from your coding agent

A coding agent that runs commands (Claude Code, Codex, Cursor, OpenClaw, Gemini CLI and others) can also make your PostSyncer account and its own key, with no browser sign-in. Give it this message:
The agent asks for your email, PostSyncer emails you a 6-digit code, and you read it back to the agent. The agent saves the key in its user-level MCP settings, never in a project file, then helps you connect your social accounts. An email that already has an account gets a new key on that account. The key has every permission and shows in Settings → API under the agent’s name: delete it there to end the agent’s access. Sign up from an AI agent has the endpoints, the limits and the errors. ChatGPT and the Claude chat app can’t run these commands: they connect with the official app and plugin below.

Connect as a connector (OAuth)

Every client below that signs in does it the same way:
  1. You add https://postsyncer.com/mcp (or install PostSyncer from the client’s directory).
  2. The client opens PostSyncer in your browser. Sign in if you need to; the page says Authorize and the client’s name.
  3. Click Allow. The client is connected. With no social account connected yet, the page first offers to connect one: pick a network and sign in to it in the small window that opens, then click Continue to and the client’s name, or Skip for now. On an iPhone or iPad the page doesn’t offer this yet: connect accounts in PostSyncer afterwards.
A connector can use every tool, in the workspaces you belong to, with your role in each: on paid plans, a content creator’s posts wait for approval, and a client can’t create posts. Behind the scenes this is standard OAuth 2.0: discovery, Dynamic Client Registration and PKCE. A request without a valid token gets a 401 that points the client at the discovery document, so any MCP client that supports OAuth finds the rest by itself. When access ends. PostSyncer has no setting that ends a connector’s access. Removing the connector in your client stops that client using it, but the tokens it was given stay valid until they run out: the access token after 15 days, the refresh token after 30. Each time the client renews, it gets new ones. To end a connector’s access sooner, write to support@postsyncer.com.

Claude

PostSyncer is in the Claude directory. Adding it there adds it to Claude, Cowork and Claude Code.
  1. Open PostSyncer in the Claude directory (in Claude: Customize, then Discover) and click Add.
  2. Claude sends you to PostSyncer to sign in. Click Allow, and you are connected.
  3. Ask in any chat. Claude picks the PostSyncer tools itself.
To stop using it, remove PostSyncer in Claude.

Custom connector

If your organization turns off directory plugins, add PostSyncer as a custom connector: open Claude’s Add custom connector dialog with PostSyncer filled in, or go to Customize → Connectors → Add → Add custom connector and use https://postsyncer.com/mcp as the URL. On Claude’s Team and Enterprise plans an owner adds it once and members choose Connect. A free Claude account can add one custom connector.

Claude Desktop

Claude Desktop uses your Claude account, and so do its plugins and connectors. Add PostSyncer once, on the web or in the app, and it is in both. There is no config file to edit. (To use an API key from a desktop config file instead, see mcp-remote.)

ChatGPT: install the official app

PostSyncer is in ChatGPT’s app directory, so ChatGPT needs no server address and no key.
  1. Open PostSyncer in ChatGPT and choose Install plugin. When ChatGPT asks to connect your account, choose Connect.
  2. ChatGPT sends you to PostSyncer to sign in. Click Allow.
  3. In a chat, mention @PostSyncer or pick it from the + menu, and ask.
Which plugins you can use depends on your ChatGPT plan, workspace, role and region. In a business workspace, an admin may need to turn PostSyncer on first. To turn it off or reconnect it, open ChatGPT’s Settings, then Plugins.

Claude Code

  1. Run this in your project folder. It adds PostSyncer for that project; add --scope user to have it in every project.
  2. Type /mcp in Claude Code and choose postsyncer. Your browser opens to approve it.
Or install the PostSyncer plugin. It adds the server together with a skill that teaches Claude Code how to write and schedule posts well. Add it from the Claude directory, or run:
Then sign in with /mcp.

Cursor

  1. Open the Add to Cursor link. Cursor opens with PostSyncer filled in. Click Install.
  2. Cursor opens your browser. Approve the connection, and you are done.
To edit the config by hand instead, add a server named postsyncer with our address as its url to mcp.json. Cursor asks you to sign in the first time it is used.

Codex

The Codex CLI, the IDE extension and the ChatGPT desktop app share one setup. PostSyncer is also in the plugin directory that ChatGPT and Codex share.
  1. Add PostSyncer in your terminal:
  2. Sign in. Your browser opens to approve it.
Running Codex in CI, where no one can sign in? Give it an API key instead: Codex reads the key from an environment variable you name in its config (bearer_token_env_var). Create the key in Settings → API with only the permissions the job needs.

Grok Bot

  1. In the Grok Bot app on desktop, open Connect apps and choose Add a custom connector at the bottom. Name it PostSyncer, pick Remote HTTPS, paste https://postsyncer.com/mcp as the Server URL and choose Add plugin.
  2. When Grok Bot asks you to authorize PostSyncer, approve it in your browser. If it doesn’t finish, choose Reconnect.

Grok

Grok on grok.com is a different app from Grok Bot, with its own setup.
  1. On Grok’s Connectors page, choose New connector, then Custom, and paste https://postsyncer.com/mcp.
  2. Grok sends you to PostSyncer to sign in. Click Allow, and you are connected.

OpenClaw

  1. Run this on the computer where OpenClaw runs. It adds PostSyncer as a remote server that signs in with OAuth.
  2. Sign in. OpenClaw prints a sign-in address: open it in your browser on any device and approve PostSyncer.
  3. Add the PostSyncer skill from ClawHub. It teaches OpenClaw how to write and schedule posts well.

Gemini CLI

  1. Run this in your terminal. -s user adds PostSyncer for every project.
  2. Type /mcp auth postsyncer in Gemini CLI. Your browser opens to approve it, so run this where a browser can open, not in a remote SSH session.
Or install the PostSyncer extension instead of the command above:

Antigravity

  1. In the Antigravity app, click Customizations in the sidebar, then Installed. Under MCP Servers, click Copy Config File Path and open that file (mcp_config.json).
  2. Add PostSyncer to it. If the file already lists servers, add the postsyncer entry next to them.
  3. Back under MCP Servers, click Authenticate next to postsyncer and approve PostSyncer in your browser. Copy the code your browser shows, paste it into Enter authorization code in Antigravity and click Submit.
Antigravity registers itself with PostSyncer, so there is no client ID to add. To use an API key instead, add "headers": { "Authorization": "Bearer YOUR_API_KEY" } next to serverUrl (see Connect with a Bearer token).

OpenBot

  1. In OpenBot, open the Marketplace from the puzzle-piece icon at the top of the sidebar. On the Apps tab, click Add custom.
  2. Choose Streamable HTTP, name it PostSyncer and paste https://postsyncer.com/mcp as the Server URL.
  3. Click Save. OpenBot checks the address and opens your browser, where you approve PostSyncer. The server is saved once you do.
OpenBot registers itself with PostSyncer, so there is no client ID to add. It gives each server you add to every agent it runs, so Claude, Codex, Gemini and the others all get PostSyncer at once. To use an API key instead, add a header in the same form’s Headers section: Authorization, with the value Bearer YOUR_API_KEY (see Connect with a Bearer token). OpenBot then skips the browser sign-in.

Other MCP clients

PostSyncer works with VS Code, Windsurf, Zed, Cline, Goose, Perplexity, Le Chat, Manus, n8n, Zapier, Make and any other MCP client. Add https://postsyncer.com/mcp as a remote server (Streamable HTTP) and choose sign in (OAuth) when asked.
  • VS Code: open the Add to VS Code link and sign in when VS Code asks.
  • Clients that browse the MCP Registry list PostSyncer as io.github.PostSyncer/postsyncer.
  • Agent skills: the PostSyncer skill teaches an agent how to write and schedule posts well. Run npx skills add PostSyncer/claude-plugin in your project folder; the skill is listed on skills.sh.

Connect with a Bearer token

Use an API key for a script, a server, or a client that can’t sign in with OAuth.
  1. Create a key in app.postsyncer.com → Settings → API, with only the permissions the agent needs (see Authentication).
  2. Send it in the Authorization header as Bearer YOUR_API_KEY.
Clients that take a remote server with headers use this shape (the key names differ a little from client to client; check its docs):
A key can only do what its permissions allow. Without posts:schedule or posts:publish, it can save drafts for the user to approve in PostSyncer, and a refused tool names the permission it needs.

Clients that only run local commands

Use this only when a client can neither sign in with OAuth nor send headers to a remote server. The mcp-remote proxy runs on your computer and forwards to PostSyncer:
Node 18 or later must be on your PATH. On Windows, and in some clients, a space inside one args string can be lost; if the header fails, use the env workaround: put Authorization:${POSTSYNCER_AUTH} in args (no space after the colon) and set POSTSYNCER_AUTH to Bearer YOUR_API_KEY in env.

Verify the connection

Ask your assistant to run a read-only tool:
List my PostSyncer workspaces
It should call list-workspaces and show your workspaces. Then try list my connected accounts, which calls list-accounts.

Troubleshooting

See also