Threads MCP MCP API
The Model Context Protocol endpoint (JSON-RPC 2.0 over streamable HTTP).
The Model Context Protocol endpoint (JSON-RPC 2.0 over streamable HTTP).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/threads-mcp-app:threads-mcp-app-mcp-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Threads for Claude MCP API
version: 0.1.0
summary: Remote MCP server for one user's Threads (threads.com) account.
description: 'Threads for Claude is a remote Model Context Protocol (MCP) server. Its only API is the MCP endpoint `POST https://threads-mcp.app/mcp` (JSON-RPC 2.0 over streamable HTTP, OAuth 2.1 bearer tokens). Tools are discovered at runtime with the MCP `tools/list` method and called with `tools/call`; their JSON schemas are also published in https://threads-mcp.app/.well-known/mcp/server-card.json. The other operations here are public, read-only discovery documents.
Tools that publish, reply, repost or delete act publicly on the user''s behalf: show the user the exact text and get explicit confirmation before calling them.
Authentication guide: https://threads-mcp.app/auth.md. Agent overview: https://threads-mcp.app/llms.txt.'
termsOfService: https://threads-mcp.app/terms
contact:
name: Threads for Claude
url: https://threads-mcp.app/developers
x-privacy-policy: https://threads-mcp.app/privacy
servers:
- url: https://threads-mcp.app
description: Production
tags:
- name: MCP
description: The Model Context Protocol endpoint (JSON-RPC 2.0 over streamable HTTP).
paths:
/mcp:
post:
operationId: mcpJsonRpc
tags:
- MCP
summary: Send an MCP JSON-RPC message
description: 'Streamable HTTP transport of the Model Context Protocol (protocol version 2025-06-18). Send one JSON-RPC 2.0 request, e.g. `initialize`, `tools/list`, `tools/call`, `resources/list` or `resources/read`, with `Accept: application/json, text/event-stream`. The response is a JSON-RPC response, either as `application/json` or as a single `message` event on a `text/event-stream`.
Without a valid token the server answers `401` with `WWW-Authenticate: Bearer resource_metadata="https://threads-mcp.app/.well-known/oauth-protected-resource/mcp"` (RFC 9728); follow it to start OAuth.
Available tools (call via `tools/call` with `params.name`): `threads_list_accounts`, `threads_use_account`, `threads_get_profile`, `threads_list_posts`, `threads_get_post`, `threads_check_draft`, `threads_create_post`, `threads_create_carousel`, `threads_create_thread`, `threads_reply`, `threads_repost`, `threads_publish_container`, `threads_delete_post`, `threads_get_replies`, `threads_hide_reply`, `threads_get_mentions`, `threads_get_activity`, `threads_keyword_search`, `threads_profile_lookup`, `threads_get_profile_posts`, `threads_get_post_insights`, `threads_get_posts_insights`, `threads_get_account_insights`, `threads_audit_posts`, `threads_get_publishing_limit`.'
security:
- oauth2:
- openid
- profile
- email
- offline_access
parameters:
- name: MCP-Protocol-Version
in: header
required: false
description: MCP protocol version negotiated during `initialize`, sent on subsequent requests.
schema:
type: string
examples:
- '2025-06-18'
requestBody:
required: true
description: A JSON-RPC 2.0 request or notification.
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcRequest'
examples:
listTools:
summary: List tools
value:
jsonrpc: '2.0'
id: 1
method: tools/list
callTool:
summary: Call a tool
value:
jsonrpc: '2.0'
id: 2
method: tools/call
params:
name: threads_get_profile
arguments: {}
responses:
'200':
description: 'JSON-RPC response (a tool failure is a result with `isError: true`, not an HTTP error).'
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcResponse'
text/event-stream:
schema:
type: string
description: Server-sent events; each `message` event's data is a JSON-RPC response.
'202':
description: 'Accepted: the request was a JSON-RPC notification, so there is no response body.'
'400':
description: Malformed JSON-RPC message.
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcErrorResponse'
'401':
description: Missing, expired or invalid access token.
headers:
WWW-Authenticate:
description: Bearer challenge with `resource_metadata` pointing to the protected resource metadata.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'406':
description: The Accept header does not include both application/json and text/event-stream.
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcErrorResponse'
'429':
description: Rate limited. Back off exponentially and retry.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
JsonRpcErrorResponse:
type: object
description: JSON-RPC 2.0 error response.
required:
- jsonrpc
- error
properties:
jsonrpc:
type: string
const: '2.0'
id:
type:
- string
- integer
- 'null'
error:
$ref: '#/components/schemas/JsonRpcError'
JsonRpcResponse:
type: object
description: 'JSON-RPC 2.0 response: `result` on success, `error` on protocol failure.'
required:
- jsonrpc
properties:
jsonrpc:
type: string
const: '2.0'
id:
type:
- string
- integer
- 'null'
description: Id of the request this answers.
result:
type: object
description: 'Method result. For `tools/call`: `{ content, structuredContent?, isError? }`.'
additionalProperties: true
error:
$ref: '#/components/schemas/JsonRpcError'
Error:
type: object
description: Error returned by this server for HTTP-level failures.
required:
- error
properties:
error:
type: string
description: Machine-readable error code, e.g. `invalid_token`, `not_found`.
error_description:
type: string
description: Human-readable explanation (OAuth-style).
message:
type: string
description: Human-readable explanation.
status:
type: integer
description: HTTP status code.
hint:
type: string
description: What to do next.
documentation_url:
type: string
format: uri
description: Where to read more.
JsonRpcError:
type: object
description: JSON-RPC 2.0 error object.
required:
- code
- message
properties:
code:
type: integer
description: JSON-RPC error code, e.g. -32600 (invalid request), -32601 (method not found).
message:
type: string
description: Error message.
data:
description: Additional error data.
JsonRpcRequest:
type: object
description: JSON-RPC 2.0 request (with `id`) or notification (without `id`).
required:
- jsonrpc
- method
properties:
jsonrpc:
type: string
const: '2.0'
description: JSON-RPC version.
id:
type:
- string
- integer
description: Request id, echoed in the response. Omit for notifications.
method:
type: string
description: MCP method.
examples:
- initialize
- notifications/initialized
- tools/list
- tools/call
- resources/list
- resources/read
- ping
params:
type: object
description: 'Method parameters. For `tools/call`: `{ name, arguments }`.'
properties:
name:
type: string
description: Tool name for `tools/call`.
enum:
- threads_list_accounts
- threads_use_account
- threads_get_profile
- threads_list_posts
- threads_get_post
- threads_check_draft
- threads_create_post
- threads_create_carousel
- threads_create_thread
- threads_reply
- threads_repost
- threads_publish_container
- threads_delete_post
- threads_get_replies
- threads_hide_reply
- threads_get_mentions
- threads_get_activity
- threads_keyword_search
- threads_profile_lookup
- threads_get_profile_posts
- threads_get_post_insights
- threads_get_posts_insights
- threads_get_account_insights
- threads_audit_posts
- threads_get_publishing_limit
arguments:
type: object
description: Tool arguments, matching the tool's input schema.
additionalProperties: true
additionalProperties: true
securitySchemes:
oauth2:
type: oauth2
description: 'OAuth 2.1 authorization code flow with PKCE (S256) and dynamic client registration (https://xcrbqlttioslgdggfdit.supabase.co/auth/v1/oauth/clients/register). The user signs in with Threads. These scopes identify the user; what the server may do on Threads is limited by the Threads permissions granted on Meta''s consent screen: threads_basic, threads_content_publish, threads_read_replies, threads_manage_replies, threads_manage_insights, threads_delete, threads_manage_mentions, threads_keyword_search, threads_profile_discovery.'
flows:
authorizationCode:
authorizationUrl: https://xcrbqlttioslgdggfdit.supabase.co/auth/v1/oauth/authorize
tokenUrl: https://xcrbqlttioslgdggfdit.supabase.co/auth/v1/oauth/token
refreshUrl: https://xcrbqlttioslgdggfdit.supabase.co/auth/v1/oauth/token
scopes:
openid: Identify the signed-in user (OpenID Connect).
profile: Read the user's basic profile (Threads username) on this server.
email: Read the internal account email of the user on this server.
offline_access: Receive a refresh token so the MCP client stays connected.
externalDocs:
description: Developer docs
url: https://threads-mcp.app/developers