Threads MCP Authorization API

OAuth 2.1 discovery metadata. The authorization server is Supabase Auth.

GitHub OpenAPI

Operations 4

GET /.well-known/oauth-protected-resource/mcp Get OAuth protected resource metadata for /mcp #
GET /.well-known/oauth-authorization-server Get OAuth authorization server metadata #
GET /.well-known/openid-configuration Get OpenID Connect discovery document #
GET /auth.md Get the authentication guide #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/threads-mcp-app:threads-mcp-app-authorization-api"
All apis
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.

Get an API 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 Specification

threads-mcp-app-authorization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Threads for Claude Authorization 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: Authorization
  description: OAuth 2.1 discovery metadata. The authorization server is Supabase Auth.
paths:
  /.well-known/oauth-protected-resource/mcp:
    get:
      operationId: getProtectedResourceMetadata
      tags:
      - Authorization
      summary: Get OAuth protected resource metadata for /mcp
      description: 'RFC 9728 protected resource metadata for the MCP endpoint: the resource identifier, its authorization server and the scopes to request. `/.well-known/oauth-protected-resource` returns the same document.'
      security: []
      responses:
        '200':
          description: Protected resource metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProtectedResourceMetadata'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /.well-known/oauth-authorization-server:
    get:
      operationId: getAuthorizationServerMetadata
      tags:
      - Authorization
      summary: Get OAuth authorization server metadata
      description: RFC 8414 metadata of the authorization server (Supabase Auth), mirrored on this origin. `issuer` stays `https://xcrbqlttioslgdggfdit.supabase.co/auth/v1`. Returns 502 if the upstream document is unavailable.
      security: []
      parameters:
      - name: If-None-Match
        in: header
        required: false
        description: ETag from a previous response. If the document is unchanged the server answers `304 Not Modified` with no body.
        schema:
          type: string
          examples:
          - '"3f2a9c1e0b7d"'
      responses:
        '200':
          description: Authorization server metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationServerMetadata'
        '304':
          description: 'Not modified: the `If-None-Match` ETag still matches, so there is no body.'
          headers:
            ETag:
              description: Current ETag of the document.
              schema:
                type: string
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The upstream authorization server metadata could not be fetched.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /.well-known/openid-configuration:
    get:
      operationId: getOpenIdConfiguration
      tags:
      - Authorization
      summary: Get OpenID Connect discovery document
      description: OpenID Connect discovery document of the authorization server (Supabase Auth), mirrored on this origin.
      security: []
      parameters:
      - name: If-None-Match
        in: header
        required: false
        description: ETag from a previous response. If the document is unchanged the server answers `304 Not Modified` with no body.
        schema:
          type: string
          examples:
          - '"3f2a9c1e0b7d"'
      responses:
        '200':
          description: OpenID Connect provider metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationServerMetadata'
        '304':
          description: 'Not modified: the `If-None-Match` ETag still matches, so there is no body.'
          headers:
            ETag:
              description: Current ETag of the document.
              schema:
                type: string
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The upstream discovery document could not be fetched.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /auth.md:
    get:
      operationId: getAuthGuide
      tags:
      - Authorization
      summary: Get the authentication guide
      description: Step-by-step OAuth 2.1 guide for agents (discovery, registration, PKCE, token exchange, errors).
      security: []
      responses:
        '200':
          description: Authentication guide in Markdown.
          content:
            text/markdown:
              schema:
                type: string
                description: Authentication guide in Markdown.
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ProtectedResourceMetadata:
      type: object
      description: RFC 9728 protected resource metadata.
      required:
      - resource
      - authorization_servers
      properties:
        resource:
          type: string
          format: uri
          description: Resource identifier (the MCP endpoint).
        authorization_servers:
          type: array
          items:
            type: string
            format: uri
          description: Authorization server issuers.
        scopes_supported:
          type: array
          items:
            type: string
          description: Scopes to request.
        bearer_methods_supported:
          type: array
          items:
            type: string
          description: How to send the token.
        resource_name:
          type: string
        resource_documentation:
          type: string
          format: uri
      additionalProperties: true
    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.
    AuthorizationServerMetadata:
      type: object
      description: RFC 8414 / OpenID Connect discovery metadata of the authorization server.
      required:
      - issuer
      - authorization_endpoint
      - token_endpoint
      properties:
        issuer:
          type: string
          format: uri
        authorization_endpoint:
          type: string
          format: uri
        token_endpoint:
          type: string
          format: uri
        registration_endpoint:
          type: string
          format: uri
        jwks_uri:
          type: string
          format: uri
        userinfo_endpoint:
          type: string
          format: uri
        scopes_supported:
          type: array
          items:
            type: string
        response_types_supported:
          type: array
          items:
            type: string
        response_modes_supported:
          type: array
          items:
            type: string
        grant_types_supported:
          type: array
          items:
            type: string
        subject_types_supported:
          type: array
          items:
            type: string
        id_token_signing_alg_values_supported:
          type: array
          items:
            type: string
        token_endpoint_auth_methods_supported:
          type: array
          items:
            type: string
        claims_supported:
          type: array
          items:
            type: string
        code_challenge_methods_supported:
          type: array
          items:
            type: string
      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