> ## Documentation Index
> Fetch the complete documentation index at: https://www.posted.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Call the MCP transport

> Streamable HTTP JSON-RPC endpoint. Use an MCP SDK for initialization, tools/list and tools/call. A static REST API key cannot authorize this transport.

An OAuth bearer token issued for this installation's MCP resource is required. Static REST API keys cannot access /mcp.

Streamable HTTP JSON-RPC endpoint. Use an MCP SDK for initialization, tools/list and tools/call. A static REST API key cannot authorize this transport.

[Request conventions](/api-reference/overview) · [API keys](/api-keys) · [MCP connections](/mcp-connections)


## OpenAPI

````yaml api-reference/openapi.json POST /mcp
openapi: 3.1.0
info:
  title: Posted HTTP API
  version: 0.2.0
  description: >-
    All registered application, account, OAuth, MCP transport and health
    endpoints. Publishing and draft request schemas come from the shared runtime
    validators. Replace the example server with your installation. Documentation
    uses simple request examples and does not execute live publishing requests.
servers:
  - url: https://posted-api.example.com
security: []
paths:
  /mcp:
    post:
      tags:
        - OAuth and MCP transport
      summary: Call the MCP transport
      description: >-
        Streamable HTTP JSON-RPC endpoint. Use an MCP SDK for initialization,
        tools/list and tools/call. A static REST API key cannot authorize this
        transport.


        An OAuth bearer token issued for this installation's MCP resource is
        required. Static REST API keys cannot access /mcp.
      operationId: post_mcp
      parameters:
        - name: Accept
          in: header
          required: true
          schema:
            type: string
          description: application/json, text/event-stream
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  const: '2.0'
                id:
                  type:
                    - string
                    - number
                method:
                  type: string
                params:
                  type: object
                  propertyNames:
                    type: string
                  additionalProperties: {}
              required:
                - jsonrpc
                - method
      responses:
        '200':
          description: >-
            Successful response. Examples are illustrative; field values vary by
            record.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    properties:
                      tools:
                        type: array
                        items: {}
                    additionalProperties: true
                additionalProperties: true
              example:
                jsonrpc: '2.0'
                id: 1
                result:
                  tools: []
        default:
          description: >-
            Request failure. Inspect code, message and requestId; respect
            Retry-After on HTTP 429.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - mcpBearer: []
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - requestId
          properties:
            code:
              type: string
            message:
              type: string
            requestId:
              type: string
  securitySchemes:
    mcpBearer:
      type: http
      scheme: bearer
      description: OAuth bearer token issued for /mcp; REST API keys are not accepted

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.