Posty: Social Media Scheduler

hu.posty由 posty.hu 發布官方發布者v1.4.3更新於 Oct 29, 2026

Write, schedule and publish posts to 20 social platforms, from Facebook and Instagram to TikTok.

已驗證Streamable HTTP可網頁執行效率與工作流溝通與協作資料與分析

概覽

AI 產生的概覽

Posty 是遠端 MCP 連接器,讓助理在多個已連結的社群頻道上撰寫、排程並發布貼文。

可以做什麼
  • 查看已連結的頻道、其 ID、設定結構與字數上限
  • 建立、排程、存成草稿或立即發布貼文,支援多頻道、串文與媒體上傳
  • 列出、刪除、重新排入佇列或將貼文退回草稿,並找出下一個空檔時間
  • 讀取頻道與單篇貼文的分析資料,並為平台未回傳 ID 的已發布貼文建立關聯
  • 透過已連結的 FotoAI 帳號生成圖片與影片並存入媒體庫
  • 查看方案、發起 Stripe Checkout 訂閱並開啟帳單管理入口
適用情境
適合讓助理把社群媒體內容草擬並排入共用行事曆、跨多個平台統一管理,或查看貼文與頻道表現,省去在兩個視窗間複製貼上。
執行需求
遠端端點 api.posty.hu,透過瀏覽器 OAuth 登入,無需本機安裝。需要 Posty 帳號,且工作區方案須包含 API 存取權限。命令列版本使用 POSTY_API_KEY 環境變數或裝置碼登入;憑證涵蓋多個工作區時還需指定工作區 ID。
安裝前請注意
它會在已連結的帳號上實際發布與刪除貼文,排程或發布前應確認內容與頻道。帳單命令可建立付費訂閱;付款由本人在 Stripe Checkout 完成,切勿使用一次性或由代理簽發的卡片。FotoAI 生成僅在明確確認後才會消耗帳號持有者自己的額度。命令列版本會在本機儲存憑證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Posty: Social Media Scheduler,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/hu.posty%2Fposty/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "posty-social-media-scheduler": {
      "type": "http",
      "url": "https://api.posty.hu/mcp-oauth"
    }
  }
}

README

Using it with an AI agent

The package includes the full command reference written for agents, SKILL.md. After install, show it to the agent and it can use the whole CLI with no further explanation.

The repo ships two Claude Code plugins, kept separate on purpose:

  • posty, the MCP connector for conversation (Claude app, Cowork, Claude Code). Sign-in through the browser, no key; it uses Posty's MCP tools and installs nothing on your machine.
  • posty-cli, the command-line tool and its full reference for coding agents (Claude Code, Codex, OpenClaw, Hermes), where the terminal is the working surface.
bash
claude plugin marketplace add norbertlevente/posty-agentclaude plugin install posty@posty-agent        # MCP, for conversationclaude plugin install posty-cli@posty-agent    # CLI, for the terminal and scripts

In ChatGPT the same MCP server is the official plugin: https://posty.hu/ai/chatgpt


Posty CLI

Social media scheduling from the command line, or from your AI agent.

Posty is a social media scheduler, and this is its command-line surface. It uses the same public API as the web app: what you schedule here shows up in your Posty calendar, and what you schedule there you can see here too.

Posty deliberately has no built-in AI writer. You already pay for a good model; with the CLI that model can work straight into your calendar, so you do not have to copy between two windows. SKILL.md is written for AI agents. Show it to Claude, ChatGPT, Codex, Muse, OpenClaw or Hermes and they can use the whole CLI with no further explanation.

Commands, flags and output are English on purpose: the command line is for developers and agents. The product itself is still Hungarian in the app.

Install

bash
npm install -g posty-cli# orpnpm install -g posty-cli

The package is posty-cli, the command is posty. The two names differ on purpose. On npm the bare name posty belongs to an unrelated project, so npm install -g posty silently installs somebody else's package.

Authentication

Option 1: OAuth2 (recommended)

bash
posty auth:login     # device flow, opens a browserposty auth:status    # checks the credential; a valid key whose workspace has no plan yet is reported as such, not as invalidposty auth:logout    # deletes stored credentials

The CLI stores credentials in ~/.posty/credentials.json, mode 0600, in a 0700 directory. The file is separate from settings, so logout clears secrets and leaves your config alone.

Option 2: API key — for a server, CI, or an agent:

bash
export POSTY_API_KEY=your_api_key   # Settings → Developers, in the web app

No account yet: create one from the terminal

bash
posty auth:signup --email [email protected]            # e-mails a code, asks for it and for the termsposty auth:signup --email [email protected] --code 123456 --accept-terms --workspace-name "Anna Kávézó"

Posty e-mails a six-digit code to the address; the person reads it to you (or types it at the prompt). The person must agree to the terms (https://posty.hu/aszf) and the privacy notice (https://posty.hu/adatvedelem): --accept-terms says they did, or the command asks on a terminal. The new account's full-workspace key is stored like auth:login stores it and is never printed. Accounts created this way have no free trial: until the person pays, only the billing:* commands work, so the next step is posty billing:plans and posty billing:subscribe. An address that already has an account is refused (sign in with posty auth:login). Off a terminal, the first run only sends the code and prints the command to run next, with every option of the first run in it (--api-url, --language, --workspace-name, --timezone). The timezone defaults to the one saved by config:set, then to this machine's own. After the payment the key works for every command only on a plan with API access (apiAndMcpAccess: true in billing:plans); Alap has none, so say so before the person picks it. --workspace stays the global workspace id flag; the new workspace's name is --workspace-name.

Workspaces

A credential can reach one workspace or several (tick "All my workspaces" on the approval page, or make a multi-workspace key in Settings). Channel ids belong to a workspace, so the CLI has to know which one you mean:

bash
posty workspaces:list          # what this credential can act on; "current" marks the active oneposty workspaces:use <id>      # every following command acts on that workspaceposty workspaces:current       # the one commands act on nowposty posts:list --workspace <id>   # one command in another workspace

auth:login asks which workspace to use when the key spans several. The choice is stored with your login (or in ~/.posty/config.json for an env key); POSTY_WORKSPACE and --workspace override it for one shell or one command. A multi-workspace key with no choice made is refused by the API with 403 on every route except workspaces:list, so nothing is ever posted to a guessed workspace.

Commands

Discover channels

bash
posty integrations:list                      # connected channels and their idsposty integrations:list --group <group-id>   # one customer's channelsposty integrations:groups                    # groups (customers)posty integrations:settings <id>             # settings schema, rules, character limitposty integrations:trigger <id> <method>     # channel-specific lookup

Create a post

bash
# Simple scheduled postposty posts:create -c "Content" --date "2026-12-31T12:00:00Z" -i "<id>"
# Draftposty posts:create -c "Content" --date "2026-12-31T12:00:00Z" -t draft -i "<id>"
# Publish now (no date needed)posty posts:create -c "Content" -t now -i "<id>"
# With media — upload the file firstIMG=$(posty upload photo.jpg | jq -r '.path')posty posts:create -c "Content" -m "$IMG" --date "2026-12-31T12:00:00Z" -i "<id>"
# Several channels at onceposty posts:create -c "Content" --date "2026-12-31T12:00:00Z" -i "<id1>,<id2>"
# With channel-specific settingsposty posts:create -c "Content" --date "2026-12-31T12:00:00Z" \  --settings '{"who_can_reply_post":"everyone"}' -i "<x-id>"
# Complex post from JSONposty posts:create --json post.json

Every posts:create sends an Idempotency-Key (a new UUID per run). After a network failure or a 5xx it retries once with the same key, so the server returns the post it already made instead of making a second one. Running the command again is a new post: check posts:list first after an error.

Manage posts

bash
posty posts:list                                   # default -30 … +30 daysposty posts:list --startDate "..." --endDate "..." # a given rangeposty posts:delete <id>                            # delete one post (one channel)posty posts:delete-group <group>                   # delete every channel of a groupposty posts:status <id> --status draft             # back to draftposty posts:status <id> --status schedule          # queue a draftposty posts:find-slot <id>                         # next free slot

Analytics

bash
posty analytics:platform <integration-id>        # channel, 7 daysposty analytics:platform <integration-id> -d 30  # channel, 30 daysposty analytics:post <post-id>                   # post, 7 days

If analytics:post returns {"missing": true}, the post is already live but the platform did not return a usable id. Then:

bash
posty posts:missing <post-id>                     # available content from the providerposty posts:connect <post-id> --release-id "<id>" # connect itposty analytics:post <post-id>                    # works now

Media

bash
posty upload file.jpg

For -m you may only pass a path returned by posty upload. Bare filenames (photo.jpg) and external URLs (https://...) do not work, because the platforms only accept addresses Posty serves.

Settings

bash
posty config:set timezone Europe/Budapestposty config:getposty workspaces:use <id>          # see "Workspaces" above

FotoAI images and videos

With the key owner's own FotoAI account and credits (fotoai.hu), images and videos are generated and saved into the workspace's media library, ready for posts:create. The person connects FotoAI once in Posty (/integraciok/fotoai); the commands print that link while it is missing. The key needs media:write.

bash
posty fotoai:status                                              # connected?, as whom, credit balance, connectUrlposty fotoai:models --category image                             # models, parameters (aspect, resolution, duration), base priceposty fotoai:generate -m image.seedream-5-lite -p "kávé a teraszon" --aspect 4:5              # the price only; nothing is spentposty fotoai:generate -m image.seedream-5-lite -p "kávé a teraszon" --aspect 4:5 --yes --wait 60  # generate; prints media[].pathposty fotoai:get <id> --wait 60                                  # status, and the outputs saved in the media library

fotoai:generate spends credits only with --yes, and never more than the price it just quoted (FotoAI answers PRICE_CHANGED instead). A failed generation costs nothing. fotoai:get also imports a generation made on fotoai.hu itself; importing twice returns the same media.

Subscription

An agent can take the person from "subscribe me to Pro yearly" to a live subscription. The one step that stays human is the payment, in Stripe Checkout, with the person's own Link wallet or card.

bash
posty billing:plans                                       # the four plans, prices in HUF, limits, trial rule, current tierposty billing:subscribe --tier pro --period yearly        # a Stripe Checkout link as JSON; nothing is chargedposty billing:subscribe --tier pro --period yearly --open # same, and open it in this machine's browserposty billing:status                                      # none | trialing | active | past_due | read_only | cancelled, plus any unpaid checkout (plan, start time, expiry)posty billing:manage                                      # a link to the Stripe billing portal (plan change, cancel, invoices, card)

Never pay with a one-time or agent-issued card. A Posty subscription renews monthly or yearly; a one-time card fails at the first renewal and the plan ends. Give the link to the subscriber, let them pay, then run posty billing:status to confirm before continuing setup.

billing:subscribe and billing:manage need a full-workspace key (tick "the whole workspace" on the posty auth:login approval page) or an OAuth token, held by the person who pays for the workspace (or a workspace owner when nobody pays yet). A scoped key is refused with a message that says so. All four commands work before the workspace has a plan with API access: they are how it gets one.

Channel-specific settings

The exact schema is always what posty integrations:settings <id> shows. In short:

X (Twitter) — x

bash
posty posts:create -c "Content" --date "2026-12-31T12:00:00Z" \  --settings '{"who_can_reply_post":"everyone"}' -i "<x-id>"

who_can_reply_post is required. Values: everyone, following, mentionedUsers, subscribers, verified.

Facebook — facebook

bash
IMG=$(posty upload photo.jpg | jq -r '.path')posty posts:create -c "Content" -m "$IMG" --date "2026-12-31T12:00:00Z" \  --settings '{"post_type":"post"}' -i "<facebook-id>"

post_type: post or story. You can publish to Pages, not to a personal profile.

Instagram — instagram

bash
IMG=$(posty upload photo.jpg | jq -r '.path')posty posts:create -c "Caption #hashtag" -m "$IMG" --date "2026-12-31T12:00:00Z" \  --settings '{"post_type":"post"}' -i "<instagram-id>"

post_type is required: post or story.

Threads — threads, Bluesky — bluesky

No settings. Omit the --settings flag.

Full schema: PROVIDER_SETTINGS.md.

For AI agents

Discovery. Do not let the agent guess. integrations:list shows the channels that are actually connected, and integrations:settings <id> shows the accepted settings. A channel that is not in integrations:list cannot be posted to.

Output contract. The command writes the result as JSON to stdout, and status lines and errors to stderr. On failure it exits with a non-zero code:

bash
posty integrations:list | jq -r '.[].id'

JSON mode. For a complex campaign, write the post to a file and pass it with --json. Working examples are in examples/.

Threads. Repeat -c to build a thread: the first item is the post, the rest are comments. Each -m belongs to the -c in front of it:

bash
posty posts:create \  -c "First post"     -m "$(posty upload one.jpg | jq -r '.path')" \  -c "Second post" \  -c "Third post" -m "$(posty upload three.jpg | jq -r '.path')" \  -d 2 \  --date "2026-12-31T12:00:00Z" -i "<id>"

-d is in minutes, not seconds.

Common workflows

A campaign on several channels, with different text per channel — write it to a JSON file and pass --json; see examples/multi-platform-with-settings.json.

Weekly scheduling from a script:

bash
DATES=("2026-09-01T09:00:00Z" "2026-09-02T09:00:00Z" "2026-09-03T09:00:00Z")TEXTS=("Monday kickoff" "Tuesday tip" "Wednesday takeaway")
for i in "${!DATES[@]}"; do  posty posts:create -c "${TEXTS[$i]}" --date "${DATES[$i]}" -i "<id>"done

Check the character limit before publishing:

bash
MAX=$(posty integrations:settings "<id>" | jq '.output.maxLength')

Environment variables

VariableRequiredDefaultWhat it is for
POSTY_API_KEYno—API key instead of auth:login
POSTY_API_URLnohttps://posty.hu/apiOverride the API endpoint
POSTY_TIMEZONEno—IANA timezone for datetimes with no offset
POSTY_WORKSPACEno—Workspace id for a key that spans several (see workspaces:use)
POSTY_AUTH_SERVERnohttps://posty.huOAuth2 server (self-hosting)
POSTY_CLIENT_NAMEnoposty-cliClient name shown at device approval

Dates and timezones

A bare "2026-12-31 12:00" is ambiguous. The CLI fails rather than silently publishing an hour off. It looks for a timezone in this order:

  1. an explicit offset in the date — 2026-12-31T12:00:00Z or +01:00
  2. --timezone Europe/Budapest
  3. POSTY_TIMEZONE
  4. posty config:set timezone Europe/Budapest

If none of those is set, the command fails, and the error lists all four fixes. You cannot pass a numeric offset as a timezone value.

Error handling

The CLI writes every error to stderr and exits non-zero. stdout stays clean and machine-readable.

ErrorMeaning
--date is required...A schedule needs a date, or use -t now
--integrations is required...No channel given; integrations:list
naive date errorNo timezone anywhere; see above
Integration not foundBad id, or the channel is no longer connected
401 "no plan with API access"The key is fine; the workspace needs a plan: billing:plans, billing:subscribe
403 "missing the required permission"The key is valid but lacks that scope; make a key that has it. Logging in again does not help
401 / 403 otherwiseExpired or revoked auth; posty auth:login

Development

src/├── index.ts        # commands and flags (yargs)├── api.ts          # HTTP client├── commands/       # posts, integrations, analytics, upload, auth, config├── dates.ts        # timezone resolution├── settings.ts     # channel settings└── output.ts       # the JSON/stderr output contract
bash
git clone https://github.com/norbertlevente/posty-agent.gitcd posty-agentpnpm installpnpm run build          # tsup → dist/index.jsnode dist/index.js --help
ScriptWhat it does
pnpm run buildCompiles into dist/
pnpm run devWatches and recompiles
pnpm run release:checkChecks the package and publishing (does not publish)

Quick reference

bash
# Authenticationposty auth:statusposty auth:loginposty auth:signup --email <address>posty auth:logout
# Workspacesposty workspaces:listposty workspaces:use <id>
# Discoveryposty integrations:listposty integrations:settings <id>posty integrations:trigger <id> <method>
# Postingposty posts:create -c "text" --date "2026-12-31T12:00:00Z" -i "<id>"posty posts:create -c "text" -t draft --date "..." -i "<id>"posty posts:create -c "text" -t now -i "<id>"posty posts:create --json file.json
# Managementposty posts:listposty posts:delete <id>posty posts:delete-group <group>posty posts:status <id> --status draftposty posts:find-slot <id>posty upload <file>posty upload:linkposty upload:files <id>
# Analyticsposty analytics:platform <id> -d 30posty analytics:post <id>posty posts:missing <id>posty posts:connect <id> --release-id "<rid>"
# Subscription (the person pays in Stripe Checkout; never with an agent card)posty billing:plansposty billing:subscribe --tier pro --period yearlyposty billing:statusposty billing:manage

When the file is not on this machine

posty upload uploads a file from disk. If the image or video is on your phone, or the agent running the CLI cannot see your filesystem, mint an upload link:

bash
posty upload:link            # {id, url, expiresAt}# open the url anywhere (it works signed out), drop the files on itposty upload:files <id>      # {status, count, files:[{id, name, path, type}]}

Each item's path goes into posts:create -m. The link lives two hours, accepts several files, and can only upload into the one workspace it was made for.

Documentation

Supported channels

ChannelidentifierSettings
X (Twitter)xwho_can_reply_post required
Facebook (Pages)facebookpost_type
Instagraminstagrampost_type required
LinkedInlinkedinnone required
TikToktiktokprivacy_level, content_posting_method required
YouTubeyoutubetitle, type required
Threadsthreadsnone
Blueskyblueskynone
Telegramtelegramnone
Discorddiscordchannel required (from the channels tool)
Slackslackchannel required (from the channels tool)

integrations:list shows which channels you can actually use. The table is what Posty supports; the command output is what you have connected.

Contributing

  1. Fork the project
  2. Create a branch (git checkout -b feature/something)
  3. Build, then try it: pnpm run build && node dist/index.js --help
  4. Open a pull request

Links

License

AGPL-3.0, see the LICENSE file.

© 2026 Kiss Industries

來源:README.md,提交 a6530a9

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.4.3最新Oct 29, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分