Developers

Threads for Claude is a remote MCP server. Any MCP client that supports streamable HTTP and OAuth can use it to act on a user's Threads account. There is no REST API and no API key: each user connects their own account.

Quickstart

  1. Point your MCP client at
    https://threads-mcp.app/mcp
  2. Claude Code:
    claude mcp add --transport http threads https://threads-mcp.app/mcp
    then run /mcp and choose Authenticate. Or install the Claude Code plugin, which adds the server and the prompts below as slash commands:
    /plugin marketplace add pawlek/threads-plugin
    /plugin install threads@threads-for-claude
  3. MCP Inspector:
    npx @modelcontextprotocol/inspector
    choose Streamable HTTP, paste the URL and click Connect; the OAuth flow opens in the browser.
  4. Call threads_get_profile to check the connection.

Authentication

OAuth 2.1 authorization code with PKCE (S256) and dynamic client registration, discovered from the 401 WWW-Authenticate header of the MCP endpoint. The user signs in with Threads and approves the client; access tokens are short-lived JWTs with refresh tokens. Step by step: auth.md.

Users can see, switch or disconnect the connected account on their connection page.

Testing

There is no separate sandbox: Threads has no test mode, so posts are real. Connect a spare Threads account while developing, use the read-only tools first, and check threads_get_publishing_limit before bulk tests (250 posts and 1,000 replies per 24 hours).

Tools

Tools that write act publicly as the user. Show the exact text and get explicit confirmation before calling them.

Writing and audit tools

threads_check_draft checks a draft locally before publishing: it strips invisible characters, em dashes, curly quotes and stock AI phrases, flags structures to rewrite by hand, enforces Threads limits (500 characters, 5 links, unfilled placeholders) and returns cleaned_text with a 0–100 score. It never publishes and is a heuristic check, not an AI detector. threads_audit_posts ranks the user's own posts by engagement rate, reply ratio and reach (views per follower), compares formats, length, questions, links, topic tags and timing with sample sizes, and declines to name patterns from fewer than 6 posts.

Prompts

Not every client shows MCP prompts. Those that do list them in a prompt menu; the Claude Code CLI lists them as /mcp__<server>__write_post, where the middle part is the name you chose in claude mcp add. Elsewhere the same flows run from a plain request.

MCP Apps

Discovery

Developers · Threads for Claude