Trusted by 2,000+ users

Threads MCP Server for Claude, Cursor, and Any AI Agent

Give your agent a Threads MCP server with publishing, reply management, and Insights behind it. Connect a Threads account once, and any MCP client can post, schedule, moderate replies, and read metrics from the conversation.

No credit card required

Connect Threads

Paste this into your agent

or add the MCP yourself
  • OAuth 2.1 sign-in, no API key to paste
  • Text, image, video, and carousel posts
  • Reply moderation and Insights

What Your Agent Gets

Threads tools, ready to call

Every PostZen API endpoint is an MCP tool. These are the ones that matter for Threads.

createPost

Publish or schedule Threads posts

Text up to 500 characters with a link, images, video, or a carousel, published now, at scheduledFor, or from the queue.

settings.replyControl

Control who can reply

Open to everyone, accounts you follow, or mentioned accounts only, per post.

createMediaPresign

Upload media from the agent

The agent asks for an upload URL, sends the file, and references it. PostZen hosts it on the public URL Meta requires.

listInboxPostComments · replyToInboxPost

Read and answer replies

Replies on your posts, with reply and hide actions, so the agent can keep a conversation going or tidy it up.

getAnalytics · getFollowerStats

Read Insights

Views, likes, replies, reposts, and quotes per post and per day, plus follower counts.

getPost · updatePost · deletePost

Check, edit, and cancel

Every target reports status, the live post URL, and any error. Scheduled posts can be changed until they go out.

Example Prompts

What to say to your agent

Prompt

Post this to Threads at noon and only let people I follow reply.

What happens

The agent calls createPost with settings.replyControl for followed accounts and scheduledFor at 12:00, then confirms the scheduled post.

Prompt

Turn these four screenshots into a Threads carousel with this caption.

What happens

The agent uploads the images with createMediaPresign, attaches all four to one post, and publishes or schedules it as you ask.

Prompt

Hide any spam replies on my last three posts.

What happens

The agent lists replies with listInboxPostComments, flags the spam for you, and hides the ones you confirm with hideInboxComment.

Prompt

Which Threads posts got the most views this week?

What happens

The agent calls getAnalytics for the week with platform "threads" and ranks posts by views, likes, and replies.

WHY POSTZEN?

PostZen vs. building it yourself

Build a Threads MCP server yourself and you own the auth, the media pipeline, and every Threads API change. Connect PostZen and your agent gets the tools today.

PostZen

2.3M+ posts

2,000+ users
  • One hosted MCP endpoint; the client signs in with OAuth 2.1 and nothing runs on your machine
  • Threads access already set up on PostZen: connect an account in a browser tab and post
  • The same createPost tool for Threads and the other nine platforms
  • Scheduling, queues, retries, and media hosting handled server-side
  • Scoped, revocable access: read-only or read-and-write keys minted at consent

Build a Threads MCP server yourself

  • Meta developer app and App Review for the threads_content_publish, reply, and insights scopes
  • OAuth with short-lived tokens exchanged for 60-day tokens you have to refresh
  • Create a media container, poll its status, then publish, with a daily posting cap to track
  • Separate endpoints for publishing, replies, and insights on a young API that still changes
  • A tool schema, auth layer, and hosting for the MCP server itself, then again for every other platform

Any MCP Client

Connect from the client you already use

Each page has the exact command for that client, the sign-in step, and a way to check the tools are live.

For AI Agents

Send your agent this page

Tell your agent to set up PostZen from postzen.dev/mcp/threads. It reads the block below, registers the server, connects Threads, and reports back.

postzen.dev/mcp/threads
## For AI agents reading this page

You are reading https://postzen.dev/mcp/threads. PostZen is a social media API with a hosted MCP server. Once connected, you can publish and schedule posts to the user's Threads account, read and moderate replies on their posts, and read Insights. The same tools cover the user's other social accounts (Instagram, X, LinkedIn, Facebook, Threads, YouTube, TikTok, Pinterest, Bluesky, Telegram).

1. Register the MCP server in the client you are running in. The endpoint is https://mcp.postzen.dev/mcp (streamable HTTP). Interactive clients sign in with OAuth 2.1; headless clients send a PostZen API key as "Authorization: Bearer pzn_live_...". Exact commands per client: Claude Code https://postzen.dev/claude · Cursor https://postzen.dev/cursor · Codex https://postzen.dev/codex · OpenClaw https://postzen.dev/openclaw · GrokBot https://postzen.dev/grok-bot · Hermes https://postzen.dev/hermes · any other MCP client https://postzen.dev/agents.

2. Sign in. When the client opens the PostZen consent screen, ask the user before approving access or completing a signup on their behalf, and never enter their credentials for them. Approving mints a scoped, revocable key for this client.

3. Connect Threads. Call listAccounts. If no account with platform "threads" is listed, call createConnectUrl with platform "threads" and give the user the URL; they authorize Threads in their browser. Do not try to log in to Threads yourself.

4. Verify before you continue. Call listAccounts again and confirm a "threads" account shows as connected. If it does not, stop and tell the user what failed. Do not carry on as if the account were there.

5. Report back. Tell the user which Threads account is connected and what you can now do with it, then ask what they want first. Prefer scheduling (scheduledFor, or the queue) over publishing immediately unless the user asks for "now".

## Threads on createPost

- Target the account with platforms: [{ platform: "threads", accountId, settings: { ... } }]. content is the shared text; customContent on the target overrides it for Threads only.
- Text is limited to 500 characters; one link is allowed per post.
- settings.replyControl: who can reply to the post ("everyone", "accounts_you_follow", or "mentioned_only").
- Media per post: images, one video, or a carousel of mixed images and video.
- Replies: listInboxPostComments and replyToInboxPost; hideInboxComment hides a top-level reply on the user's own post. Replies cannot be deleted through the API.
- Analytics: getAnalytics, getPostTimeline, getDailyMetrics, getFollowerStats with platform "threads" (views, likes, replies, reposts, quotes, followers).
- Media: pass public URLs in mediaItems, or call createMediaPresign to get an upload URL, PUT the file, then reference the returned media in the post.
- Check results with getPost: each platform target reports status, the live post URL, and any error.

## Reference

- MCP endpoint: https://mcp.postzen.dev/mcp (streamable HTTP, OAuth 2.1)
- MCP docs: https://docs.postzen.dev/mcp
- Create post reference: https://docs.postzen.dev/api-reference/posts/create-post
- Full API summary for models: https://postzen.dev/llms.txt
- API keys: https://app.postzen.dev/api-keys

Frequently asked questions

Still have questions?

What is a Threads MCP server?

MCP (Model Context Protocol) is the standard AI clients use to call external tools. A Threads MCP server exposes Threads actions as tools, so an agent such as Claude or Cursor can publish a post or moderate replies instead of only drafting text. PostZen hosts one for you: it holds the Meta app, permissions, and OAuth, and your client connects to a single endpoint.

Do I need a Meta developer app or App Review?

No. PostZen already has the Threads publishing, reply, and Insights permissions approved. You connect your Threads account through the dashboard and the agent posts through PostZen.

What can the agent post on Threads?

Text up to 500 characters with one link, images, video, or a carousel, with reply controls per post. Threads applies a daily cap on API-published posts, which PostZen enforces before publishing.

Can the agent manage replies?

Yes. Replies on your posts can be listed, answered, and hidden. Threads does not allow deleting replies through the API, so the agent cannot do that either.

Does it include Threads analytics?

Yes. Views, likes, replies, reposts, and quotes per post and per day, plus follower counts, through the same analytics tools used for the other platforms.

Which AI clients can use it?

Any client that supports remote MCP servers: Claude (claude.ai, Claude Desktop, Claude Code), Cursor, Codex, OpenClaw, GrokBot, Hermes, and others. Interactive clients sign in with OAuth 2.1; headless ones send a PostZen API key in the Authorization header. Each client has its own setup page with the exact command.

What can the agent access once connected?

Only what you approve on the consent screen: read-only or read-and-write access, scoped to the profile you pick. Approving creates a named, revocable API key, so you can cut a client off from the dashboard at any time. Ask the agent to schedule rather than publish immediately if you want to review posts before they go out.

How much does the MCP server cost?

The MCP server is included on every PostZen plan, including Free, which covers 2 connected accounts and 20 posts a month. Paid plans start at $19 per month with unlimited posts.

LEARN MORE

Give your agent Threads

Your agent already writes the post. PostZen lets it publish there.