infipostdocs
MCP

Client Setup

Configure your AI client to connect to the Infipost MCP server

Claude Desktop

Add the following to your Claude Desktop MCP configuration file:

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "postiz": {
      "url": "https://mcp.infipost.asia/mcp/your-api-key"
    }
  }
}

Your API key lives in Infipost under Settings → Developers → Public API. Click the reveal icon to show it, then copy. You can rotate it from the same place, rotating immediately invalidates the old key, so update anything using it (scripts, n8n, MCP clients, the CLI) at the same time.

Claude Code

The fastest way is the CLI:

bash
claude mcp add postiz --transport http --url https://mcp.infipost.asia/mcp/your-api-key

Or add it to your Claude Code config directly:

json
{
  "mcpServers": {
    "postiz": {
      "url": "https://mcp.infipost.asia/mcp/your-api-key"
    }
  }
}

The Bearer-token transport works too, pick whichever your client supports better. Both authenticate the same way:

bash
claude mcp add postiz --transport http \
  --url https://mcp.infipost.asia/mcp \
  --header "Authorization: Bearer your-api-key"

Cursor

In Cursor, go to Settings > MCP and add a new server:

  • Name: Infipost
  • Type: HTTP
  • URL: https://mcp.infipost.asia/mcp/your-api-key

Other MCP Clients

Any MCP-compatible client can connect to Infipost. Use the streamable HTTP transport:

  • URL: https://mcp.infipost.asia/mcp/your-api-key
  • Transport: Streamable HTTP

Or, if your client supports Bearer token authentication:

  • URL: https://mcp.infipost.asia/mcp
  • Transport: Streamable HTTP
  • Authorization: Bearer your-api-key

Base URL

Every URL on this page assumes Infipost Cloud. On a self-hosted instance, swap the host:

Where Infipost runsBase URL
Infipost Cloudhttps://api.infipost.asia
Self-hostedyour NEXT_PUBLIC_BACKEND_URL
Self-hosted, official Docker imagehttp://localhost:4007/api (the compose file maps host 4007 to container 5000)
Self-hosted, running from sourcehttp://localhost:3000 (frontend is on 4200)

So the endpoint becomes https://your-postiz-server.com/mcp/your-api-key.

Verify Connection

Once connected, ask your AI agent:

"List my connected social media accounts"

If the connection is working, the agent will call the integrationList tool and return your connected accounts.