Social Media Posting for AI Agents

Connect your AI agent to Mallary. It can publish posts, schedule content, reply to comments, and check results across your connected social accounts.

Set up Mallary in any agent

Copy this prompt and paste it into an AI agent that can run terminal commands. You will sign in to Mallary in your browser.

mallary-agent-setup.txt
Set up Mallary for me in this AI agent.

1. Install the official Mallary CLI with `npm install -g @mallary/cli`.
2. Install the official Mallary agent skill with `npx skills add mallarylabs/mallary-agent`.
3. Run `mallary auth login`.
4. Show me only the Mallary sign-in link and one-time code. Do not ask me for my Mallary password, API key, access token, or refresh token. Wait while I approve access in my browser.
5. After I approve it, run `mallary auth status`, `mallary health`, `mallary profiles list`, and `mallary platforms list`.
6. Tell me what you installed and whether setup worked. Do not upload, post, reply, delete, change settings, or disconnect anything during setup. Later, use Mallary when I clearly ask. If a needed detail is missing, ask one short question. Do not ask me to approve the same action twice.

Setup guides for popular agents

Choose your agent to see the exact setup steps. Each guide uses a safe Mallary sign-in page.

Connect Mallary to OpenClaw

1

Connect your socials

Create your Mallary account and connect the social accounts you want OpenClaw to use. You do not need to copy an API key.

Create Mallary account
2

Copy the setup prompt

Paste it into OpenClaw. It will guide you through OAuth.

Set up Mallary for me in OpenClaw.

1. Install the official Mallary CLI with `npm install -g @mallary/cli`.
2. Install the official Mallary agent skill with `npx skills add mallarylabs/mallary-agent`.
3. Run `mallary auth login`.
4. Show me only the Mallary sign-in URL and one-time code. Do not ask me for my Mallary password, API key, access token, or refresh token. Wait while I approve access in my browser.
5. After approval, run `mallary auth status`, `mallary health`, `mallary profiles list`, and `mallary platforms list`.
6. Tell me what you installed and whether the safe checks passed. Do not upload files, create or delete posts, reply to comments, change webhooks or settings, or disconnect accounts during setup. Later, only post or change Mallary when I clearly ask. If a needed detail is missing or unclear, ask one short question. Do not ask me to approve the same post twice.
3

Approve in your browser

OpenClaw will show a Mallary link and one-time code. Sign in once and approve Mallary access. No API key needs to be shared with the agent.

Tell your AI what to do.

After setup, ask your agent to post, schedule, reply, or check results. Mallary handles the social connections.

MCP / Codex / Claude Code
post this video to all my accounts
Your post was sent to your connected accounts. I will show the result for each platform as it finishes.
OpenClaw / Hermes
Schedule these 2 video posts for tomorrow at 9am and 3pm.
Scheduled. Post 1 goes out at 9am. Post 2 goes out at 3pm. You can ask me to check the result for each platform.
Any AI agent
How did yesterday's post do?
Instagram: 2,431 views. YouTube: 827 views. TikTok: 589 views. Total: 3,847 views across 3 platforms in 16 hours.

Connect your AI agent to social media.

MCP

Claude Code, Codex, Cursor, Windsurf, OpenCode

Connect an MCP-ready agent to Mallary with OAuth. It can publish posts, inspect jobs, check analytics, and work with connected platforms.

Claude Code Codex Cursor Windsurf OpenCode

Codex

AI coding agent

Use one setup prompt to install Mallary, sign in with OAuth, and work with your connected social accounts from Codex.

OAuth CLI Agent skill

Claude Code

AI coding agent

Use one setup prompt to install Mallary, sign in with OAuth, and work with your connected social accounts from Claude Code.

OAuth CLI Agent skill

OpenClaw

AI agent harness

Use one setup prompt to install Mallary, sign in with OAuth, and give OpenClaw access to your connected social accounts.

Telegram Discord WhatsApp CLI Autonomous

Hermes

AI agent harness

Use one setup prompt to install Mallary, sign in with OAuth, and give Hermes access to your connected social accounts.

OAuth CLI Agent skill

Agent Skills

One-command install

Install the Mallary skill in one command. Works with Claude Code, Cursor, Windsurf, Codex, and other agent environments that support skill-style workflows.

npx skills add mallarylabs/mallary-agent
Claude Code Cursor Windsurf Codex

Mallary CLI

Terminal and scheduled jobs

Use OAuth for interactive work. The CLI can upload media, publish, schedule, reply, and return structured JSON for agents.

OAuth JSON Shell

REST API

Custom agents & workflows

Build your own server or CI workflow. API keys remain available for secure, non-interactive systems where OAuth is not practical.

Node.js Python Any language
Alex - Developer at Foundry Marketing
"I automated the posting on 5 different platforms in under 20 minutes. Highly recommend!"
Alex
Developer at Foundry Marketing
Sarah - Product at Crest Creative
"I was totally confused by the official TikTok API. Mallary made it simple. Using it every day."
Sarah
Product at Crest Creative
James - Founder at Ironline
"OAuth management is usually a nightmare. Mallary abstracted that away completely."
James
Founder at Ironline

Choose how many social media accounts you manage.

Unlimited posts. Pay yearly and get 2 months free.

5

Starter includes 5 social accounts in total. Use any mix of our supported social media platforms.

Starter

$15 /month

Billed monthly

Posts each month
Unlimited
Total social accounts
5

Every plan includes

  • Scheduling & analytics
  • ChatGPT & Claude
  • Dashboard & API
  • MCP & CLI
  • Saved drafts
  • Bulk uploads
  • Brand & client profiles
  • Comment replies
  • Human support
  • AI-powered auto-replies
Start 14-day free trial

48% cheaper than Postiz

Monthly plans with 5 accounts. X usage and tax excluded.

Your X posts. Your links.

X charges for publishing and comments. Add a balance when you need it. We pass on the cost with no markup and keep your links in your posts.

Add $5, $10, $25, or $50. Your credits roll over and do not expire. Analytics and account lookups are included in your plan.

X credits at cost. 1,000 credits equals one US dollar.
X activityCost
Post or reply without a link$0.015
Post or reply with links$0.20
Each comment fetched from X$0.005
Analytics and account lookupsIncluded

Rates are per post or comment, not per link. Each post in a thread counts separately. You only pay for billable reads, after repeat-read savings. X sets these rates.

Work out your X costs

Choose how much you expect to use. Your plan price stays separate.

Estimated X cost

$4.00

4,000 credits

1,000 credits = $1. No monthly credit fee. Your balance is your spending cap. Top up only when you choose.

Officially Verified & Approved

Mallary is fully audited and approved by Meta, Google, LinkedIn, TikTok and more. We use 100% official APIs, no browser bots or unofficial posting workarounds.

  • Meta Verified Tech Provider
  • X Enterprise Tier
  • Instagram Approved
  • LinkedIn Marketing Partner
  • TikTok Official API
  • Google Verified App
  • Pinterest Verified

Trusted by creators, founders and developers

Mallary User Mallary User Mallary User Mallary User Mallary User Mallary User

Integrates with the tools you already use

Official platform partners

Meta Business Partner TikTok Marketing Partner LinkedIn Marketing Partner Pinterest Business Partner X Official Partner

Create once. Publish everywhere.

Mallary helps serious creators publish videos, images, and posts across TikTok, Instagram, YouTube, Facebook, X, LinkedIn, Pinterest, and Threads - without manually uploading to every platform.

Overview
Published
639
Scheduled
325
Your Engagement
24.8k +142%
Auto-replied
Just now
TikTok Published
2 mins ago