PostPublish

Local app

PostPublish for LM Studio

Add PostPublish to LM Studio's mcp.json with an API key. Ask in plain words and it writes, checks and schedules posts to Facebook Pages, Instagram, Threads, X, LinkedIn and Telegram.

Set up LM Studio

  1. 1

    Create an API key in PostPublish (Settings, then AI agents, then API keys).

  2. 2

    In LM Studio open the Program tab, choose Install, then Edit mcp.json, and add the entry below (LM Studio 0.3.17 or later).

  3. 3

    Use a model that supports tool calling.

Results depend on the local model's tool-calling quality.

mcp.json
{
  "mcpServers": {
    "postpublish": {
      "url": "https://postpublish.pro/api/mcp",
      "headers": {
        "Authorization": "Bearer pp_live_YOUR_KEY"
      }
    }
  }
}

Server URL: https://postpublish.pro/api/mcp. OAuth is recommended. If your client cannot do OAuth, create an API key in PostPublish (Settings, then API keys) and send it as a Bearer token; if it only runs local servers, use the stdio bridge with npx mcp-remote.

Example prompts

  • “Draft a Threads post under 500 characters about our new feature and save it as a draft.”
  • “List everything scheduled this week.”
  • “Rewrite this caption for Instagram and check its length.”
  • “Move my Friday post to Saturday morning.”

Troubleshooting

The connector or server does not show up.

Check that the URL is exactly https://postpublish.pro/api/mcp and that your version of LM Studio supports remote MCP servers. If it only supports local servers, use the stdio bridge (npx mcp-remote).

Sign-in loops or fails.

Make sure you can sign in to app.postpublish.pro in the same browser, and that your workspace's trial or plan is active. If it still fails, remove the connection and add it again.

A post is rejected.

Each network has limits (Threads 500 characters, Instagram 2,200, plus media rules). Ask the agent to preview first; it reports warnings before anything is created.

The agent cannot see my accounts.

Connect your Facebook Pages, Instagram, Threads, X, LinkedIn or Telegram accounts in the PostPublish app first, and check that your role or key can read and write posts.

Revoke access

  • Remove the PostPublish connection in LM Studio's MCP or connectors settings.
  • In the PostPublish app, open Settings, then AI agents, and revoke any key you created for this client. A revoked key stops working immediately.
  • To end an OAuth sign-in, remove the connector in the client. Leaving the workspace ends all access for that user.

LM Studio and its logo are the property of their respective owners. They are shown only to indicate compatibility; use does not imply endorsement or partnership.