Dify + PostAxis

Automate social media with Dify

Build a Dify agent or workflow that writes posts and hands them to PostAxis to schedule. Add PostAxis once as an MCP server and every app in your workspace can use it.

  • MCP server under Tools → MCP
  • OAuth authorisation
  • Use in agents and workflows

Set up Dify with PostAxis

Plug PostAxis into Dify once, then talk to it like you would to whoever runs your accounts. Every click is in the full guide below.

Plug in about 3 minutes

Step 1 of 2

Add PostAxis as an MCP server in Dify

Add PostAxis under Tools → MCP, authorise it once, and use its tools in any agent or workflow in your workspace.

  • PostAxis account
  • A connected social account
  • Dify installed
Server URL
https://postaxis.io/api/mcp
Talk

Step 2 of 2

Then tell Dify what you need

Dify picks the PostAxis tools it needs. Scheduled posts go out on time whether or not the chat is still open.

Try asking

  • Schedule a weekly roundup on Telegram
  • Save a draft for every new article
  • List failed posts each morning

New product added: write launch posts for X and LinkedIn and schedule them for 10:00 tomorrow.

Scheduled 2 posts for 10:00 tomorrow: X (219 characters) and LinkedIn, both linking to the product page.

via PostAxis

Example answer · lands in your PostAxis calendar

Full setup guide for Dify

Every step from a new PostAxis account to your first scheduled post. Takes about 3 minutes once your accounts are connected. Want ready-made workflows? Read the full Dify guide

  1. 1

    Create your PostAxis account

    Sign up at app.postaxis.io. Every plan starts with a 7-day free trial and includes MCP access with OAuth sign-in. Create an account

  2. 2

    Connect your social accounts

    Open Accounts in PostAxis and connect the networks you want to post to: Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Threads or Telegram. Your agent can only post to accounts connected here, and it never sees your social media passwords. Open Accounts

  3. 3

    Open Tools → MCP

    In Dify, open Tools, switch to the MCP tab and click Add MCP Server (HTTP).

  4. 4

    Fill in the server

    Paste the URL, name it PostAxis and set the server identifier to postaxis.

    Copy this
    https://postaxis.io/api/mcp
  5. 5

    Authorise

    Click Authorize, sign in to PostAxis and approve. The PostAxis tools appear in the list.

  6. 6

    Use it in an app

    In an Agent app or a workflow’s Agent node, add the PostAxis tools you need and describe the job in the instructions.

What can Dify do with PostAxis?

Everything PostAxis does in the dashboard that makes sense to do by asking: writing, scheduling, editing, publishing and checking your queue.

Sentences in, posts out

Describe the post in your own words. Dify turns it into posts and PostAxis handles the scheduling.

Every network you run

Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Threads and Telegram, from a single message.

Checked before it’s saved

Caption length, media count, video length and format are checked for every network before anything is saved.

Weeks ahead in one go

Ask for a week or a month. Dify can dry-run up to 50 posts at once, show you the plan, then schedule it.

Your images and video

Attach images and videos from a link, or get a one-time upload link for files on your computer.

Your accounts, your call

Dify signs in as you and can only reach accounts connected in your workspace. Cut it off from Settings whenever you like.

What is Dify?

Dify is an open-source platform for building AI agents and workflows, in the cloud or self-hosted. It can add MCP servers as tool providers for every app in a workspace.

With PostAxis added, a Dify agent or workflow can write and schedule posts as part of a larger process.

What can you ask Dify to post?

Brief it like a person: what it’s about, where it goes, when. Four requests that work well with Dify:

  1. Trigger

    New article, new posts

    When a new article appears in the RSS feed, write posts for X and LinkedIn and schedule them for 9:00 the next morning.

    To Dify
  2. Schedule

    A weekly roundup

    Every Friday at 16:00, publish a roundup of this week’s articles to our Telegram channel.

    To Dify
  3. Review first

    Drafts for approval

    When a form is submitted, write a LinkedIn and Facebook announcement and save it as a draft for review.

    To Dify
  4. Report

    Review the week

    Tell me which posts published this week and which failed, and reschedule the failed ones for tomorrow.

    To Dify

How does Dify talk to PostAxis?

Through MCP, the Model Context Protocol: an open standard for giving AI apps tools. PostAxis runs an MCP server; Dify connects to it and gets 11 tools that work on your account, nothing more. Full MCP reference

From your message to a scheduled post

What happens between you hitting enter and the post showing up in your calendar.

  • You write one message: what, where, when
  • Dify looks up your accounts and the limits of each network you named
  • It drafts a version per network and sends them to PostAxis
  • PostAxis checks every version and saves it as scheduled, a draft or live
  • The post sits in your calendar, editable until it goes out
Dify + PostAxis
Server
https://postaxis.io/api/mcp
Transport
Streamable HTTP
Sign-in
OAuth 2.1

Tools Dify discovers

  • list_workspacesYour PostAxis workspaces
  • list_accountsConnected social accounts per workspace
  • get_platform_rulesCaption limits and media rules per network
  • upload_media_from_urlPull an image or video into your media library
  • create_upload_linkOne-time link for uploading a local file
  • create_postDraft, schedule or publish one post
  • create_posts_bulkSchedule up to 50 posts in one call
  • list_postsPosts by status or date range
  • get_postOne post with its per-network status
  • update_postEdit text, media or time before it goes out
  • delete_postRemove a draft or scheduled post

Agent app or workflow?

Use an Agent app when the AI decides what to post. Use a workflow with an Agent node when posting is one fixed step, for example after a new product is created.

How does Dify sign in to PostAxis?

Dify signs in to PostAxis, never to your social networks. Your Instagram, X or LinkedIn accounts stay connected to PostAxis, and you can revoke Dify’s access at any time.

Every plan✓ Used by Dify

OAuth sign-in

  1. Dify opens the PostAxis sign-in in your browser
  2. You log in and click Approve
  3. It gets access to your account only, until you revoke it

Best for apps you use yourself: ChatGPT, Claude, Cursor, Codex and most others

API add-on

API key

  1. Create a key under Settings → API keys
  2. Send it as Authorization: Bearer KEY, or in the URL for clients that only take a URL
  3. Revoke the key any time and access stops at once

Best for servers and automations with no browser: n8n, Grok, Manus, headless agents

If something doesn’t work

The most common problems when connecting Dify, and how to fix them.

The agent says no accounts are connected

Connect at least one social account under Accounts in PostAxis. If you use several workspaces, tell the agent which one, for example “use my Acme workspace”.

401 Unauthorized or “sign in again”

The sign-in expired or was revoked. Reconnect from your agent (it opens the PostAxis sign-in again). With an API key, check the key is still active under Settings → API keys.

A post was rejected before saving

PostAxis checks each network’s rules first: caption length, media count, video length and format. The error says what to change; ask the agent to fix it and try again.

Posts are scheduled at the wrong time

Say the timezone in your request, for example “9:00 Europe/Berlin”. Without one, the agent uses the timezone it was told or UTC.

I want to stop an agent from posting

Open Settings → API keys in PostAxis. Revoke the agent under Connected agents, or revoke its API key. It loses access immediately.

Dify and PostAxis: questions

Self-hosted or cloud?

Both. Dify Cloud and self-hosted Dify can reach the PostAxis MCP server as long as the server has internet access.

What is the PostAxis MCP server?

It’s a remote Model Context Protocol server at https://postaxis.io/api/mcp that gives AI agents 11 tools to list your accounts, upload media and create, schedule, edit and delete posts in PostAxis.

Which social networks are supported?

Instagram (posts, Reels, carousels), TikTok (videos and photo posts), YouTube Shorts, X, LinkedIn, Facebook Pages, Threads and Telegram channels.

How much does it cost?

MCP access with OAuth is included in every PostAxis plan, and every plan starts with a 7-day free trial. API keys need the API add-on.

What stops an agent from posting something wrong?

PostAxis checks every post against each network’s rules before saving, the agent can preview bulk plans without saving them, everything shows up in your calendar, and you can revoke an agent at any time in Settings → API keys.

Other agents

Start posting with Dify

Connect PostAxis once and let Dify write, schedule and publish across all your channels.

Wide list of social channels
on one axis

Harness every network you need. Platforms orbit PostAxis; you stay at the center.

Browse all platform pages

Frequently asked questions

You get a 7-day free trial. A card is required to start. Cancel before the trial ends and you pay nothing. After that, you pick a Creator, Growth, or Pro plan.