Threads integrationThreads logo

Threads integration for AI agents.

Threads integration for AI agents with secure authentication and server-side credential injection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves Threads tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.

What your agents can do

Real Threads actions, managed and audited.

Your user connects Threads once; your agent can then create, publish, read, manage, and analyze Threads content through the Meta Threads API — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 1

    Your user grants Threads access once (OAuth) — the token lands in the vault.

  2. 2

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 3

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported Threads tools.

29 tools are generated from the published Threads catalog. Descriptions are plain text; each action remains subject to its configured authentication and tool allowlist.

Showing 29 tools. All published catalog entries are included in this page's server-rendered HTML.

1.1 Create Text Container
Use the `POST` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/posts#step-1--create-a-threads-media-container) to create a text container.
Read And Manage ThreadsRead and Manage Threads Replies
2. Publish Threads Post
Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step.
Post to ThreadsQuote Threads Posts
Check Container's Publishing Status
Use `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/troubleshooting#publishing-does-not-return-a-media-id) to check a container's publishing status.
Troubleshooting
Debug Access Token
Debug Access Token
Troubleshooting
Delete Threads Post
Delete Threads Post
Read And Manage ThreadsDelete Threads Media Objects
Embed a Threads Post
Embed a Threads Post
Display Threads
Exchange the Code For a Token
Once you receive a code, exchange it for a short-lived access token by sending a `POST` request to the /oauth/access_token [endpoint](https://developers.facebook.com/docs/threads/get-started/get-access-tokens-and-permissions#step-2--exchange-the-code-for-a-token)
Authorization
Get Account Insights
Use the `GET` /{threads-user-id}/threads_insights [endpoint](https://developers.facebook.com/docs/threads/insights#user-insights) to return the insights of a given Threads user.
Read Threads Insights
Get a List of All a User's Replies
Use the `GET` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/threads-media#retrieve-a-list-of-all-a-user-s-threads) to return a paginated list of all threads created by a user.
Read And Manage ThreadsRead Replies Media Objects
Get a List of All a User's Threads
Use the `GET` /{threads-user-id}/threads [endpoint](https://developers.facebook.com/docs/threads/threads-media#retrieve-a-list-of-all-a-user-s-threads) to return a paginated list of all threads created by a user.
Read And Manage ThreadsRetrieve Threads Media Objects
Get App Access Token
Get App Access Token
Authorization
Get App-Scoped User's Profile Information
Use the `GET` /{threads-user-id}?fields=id,username,... [endpoint](https://developers.facebook.com/docs/threads/threads-profiles#retrieve-a-threads-user-s-profile-information) to return profile information about a Threads user.
Read And Manage ThreadsRetrieve Threads Profiles
Get Long-Lived Access Token
Use the `GET` /access_token [endpoint](https://developers.facebook.com/docs/threads/get-started/long-lived-tokens#get-a-long-lived-token) to exchange a short-lived Threads user access token for a long-lived token.
Authorization
Get Mentioned Threads Posts
Get Mentioned Threads Posts
Discover Threads
Get Post Insights
Use the `GET` /{threads-media-id}/insights [endpoint](https://developers.facebook.com/docs/threads/insights#media-insights) to return the insights of a given Threads post.
Read Threads Insights
Get Public Threads User's Profile Information
Get Public Threads User's Profile Information
Read And Manage ThreadsRetrieve Threads Profiles
Get Threads Conversations
Use `GET` /conversation [endpoint](https://developers.facebook.com/docs/threads/reply-management#conversations) to fetch a paginated and flattened list of all top-level and nested replies.
Read And Manage ThreadsRead and Manage Threads Replies
Get Threads Pending Replies
Use `GET` /pending_replies [endpoint](https://developers.facebook.com/docs/threads/reply-management#retrieve-pending-replies) to fetch a paginated list of all pending replies.
Read And Manage ThreadsRead and Manage Threads Replies
Get Threads Post Details
Use the `GET` /{threads-media-id} [endpoint](https://developers.facebook.com/docs/threads/threads-media#retrieve-a-single-threads-media-object) to return an individual Threads media object.
Read And Manage ThreadsRetrieve Threads Media Objects
Get Threads Replies
Use `GET` /replies [endpoint](https://developers.facebook.com/docs/threads/reply-management#replies) to fetch a paginated list of all top-level replies.
Read And Manage ThreadsRead and Manage Threads Replies
Hide Replies
Use `POST` /manage_reply [endpoint](https://developers.facebook.com/docs/threads/reply-management#hide-replies) to hide/unhide any top-level replies.
Read And Manage ThreadsRead and Manage Threads Replies
Manage Pending Replies
Use `POST` /manage_pending_reply [endpoint](https://developers.facebook.com/docs/threads/reply-management#manage-pending-replies) to approve or ignore pending replies.
Read And Manage ThreadsRead and Manage Threads Replies
Refresh Access Token
Refresh Access Token
Authorization
Repost Threads Post
Use the `POST` /{threads-user-id}/threads_publish [endpoint](https://developers.facebook.com/docs/threads/posts#step-2--publish-a-threads-media-container) to publish the container ID returned in the previous step.
Post to ThreadsRepost Threads Posts
Retrieve a List of a Public Profile's Threads
Retrieve a List of a Public Profile's Threads
Read And Manage ThreadsRetrieve Threads Media Objects
Retrieve Publishing Quota Limit
Use `GET` /threads_publishing_limit [endpoint](https://developers.facebook.com/docs/threads/troubleshooting#retrieve-publishing-quota-limit) to check a user's publishing API quota limit.
Troubleshooting
Retrieve Threads Location
Retrieve Threads Location
Post to ThreadsLocation Search and Retrieval
Search for Locations
Search for Locations
Post to ThreadsLocation Search and Retrieval
Search for Threads Posts
Search for Threads Posts
Discover Threads
FAQ

Threads integration, answered

How do AI agents use Threads through Open Connector?
Your user connects Threads once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Threads tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a Threads MCP server?
Yes. Open Connector can serve Threads as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Threads actions with credentials injected server-side.
Where do Threads credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents Threads — keep the keys.

Open source, self-hostable, with Threads credentials that never leave your infrastructure. Run it from source today.