AI agents

Connect n8n, Make or a script with an API key

Create a PostDaily API key for n8n, Make, Cline, JetBrains AI or your own code, connect it to the key-only MCP URL, or start from a ready-made n8n workflow.

Updated · 4 min read

Most AI apps sign in with PostDaily. Automations and a few apps can't: n8n, Make, your own scripts, Cline and JetBrains AI Assistant. They use an API key and a separate server URL, https://mcp.postdaily.app/key/mcp.

Create a key

  1. 1
    Open Settings → AI agents and select API key
  2. 2
    Name it, and choose what it can do

    Use a name you'll recognise later, such as "n8n weekly digest". Pick Full access, Drafts only or Read only, and only the workspaces the automation needs.

  3. 3
    Choose when it expires

    30 days, 90 days, 1 year or never. A shorter life limits the damage if it leaks.

  4. 4
    Copy the key straight away

    It's shown only once. Store it in your automation's credentials or a password manager.

Connect your tool

  • URL: https://mcp.postdaily.app/key/mcp
  • Header: Authorization: Bearer followed by your key
  • Transport: Streamable HTTP
  • n8n and Make: use their MCP client step with the three settings above.
  • Cline: add a server with type streamableHttp. Without it, Cline uses the older SSE transport, which PostDaily doesn't support.
  • JetBrains AI Assistant: it can't sign in to remote servers yet, so it connects through mcp-remote with the key. Settings → AI agents → JetBrains AI has the exact entry to paste.

Start from a ready-made n8n workflow

Blog posts to PostDaily drafts reads your blog's RSS feed every morning and turns each new article into a post: the title, a short excerpt, the link and the article's image. Posts arrive as drafts for you to check. Articles already sent are skipped, and anything PostDaily refuses goes to a Needs attention step you can connect to Slack or email.

  1. 1
    Create a Drafts only API key

    Follow Create a key above and pick the workspace the posts should go to.

  2. 2
    Import the workflow into n8n

    Open https://www.postdaily.app/n8n/rss-to-postdaily-drafts.json, select all and copy it. In n8n, open a new workflow, click the empty canvas and paste (⌘V on a Mac, Ctrl+V elsewhere).

  3. 3
    Add your key

    Open the Create PostDaily post step, create a Bearer Auth credential and paste the key as the token.

  4. 4
    Set your feed and channels

    In the Settings step, set your feed URL and channels, such as instagram, linkedin. Run the workflow once, then open Calendar in PostDaily, switch to List and select Drafts.

For X, Bluesky or Mastodon, set excerptLength to 0 in Settings so the title and link fit the network's character limit.

Good habits for automations

  • Give each automation its own key, so revoking one doesn't break the others, and Settings → AI agents shows which one was used last.
  • Use Drafts only for anything that writes posts unattended. A person then schedules them in PostDaily after checking them.
  • Send an idempotency key with every write. If your workflow retries a step, PostDaily recognises the repeat and doesn't create the post twice.
  • No MCP support in your tool? The same key works with the PostDaily REST API, which any HTTP request step can call.

When a key stops working

A key stops working when it expires, when you revoke it, and when you change or reset your PostDaily password, which revokes every key you created. Create a new one and update your automation.

Still stuck?
Browse all help guides, or write to us: we usually reply within one business day.
Contact support

Guides and tools