> ## 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.

# MCP streaming request

> The SDK accepts a GET with Accept: text/event-stream. Posted closes the per-request server after the response is created and does not provide a persistent event session. Use POST JSON-RPC for normal tool calls. Missing the SSE Accept type returns HTTP 406.

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

The SDK accepts a GET with Accept: text/event-stream. Posted closes the per-request server after the response is created and does not provide a persistent event session. Use POST JSON-RPC for normal tool calls. Missing the SSE Accept type returns HTTP 406.

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


## OpenAPI

````yaml api-reference/openapi.json GET /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:
    get:
      tags:
        - OAuth and MCP transport
      summary: MCP streaming request
      description: >-
        The SDK accepts a GET with Accept: text/event-stream. Posted closes the
        per-request server after the response is created and does not provide a
        persistent event session. Use POST JSON-RPC for normal tool calls.
        Missing the SSE Accept type returns HTTP 406.


        An OAuth bearer token issued for this installation's MCP resource is
        required. Static REST API keys cannot access /mcp.
      operationId: get_mcp
      parameters:
        - name: Accept
          in: header
          required: true
          schema:
            type: string
          description: text/event-stream
      responses:
        '200':
          description: >-
            Successful response. Examples are illustrative; field values vary by
            record.
          content:
            text/event-stream:
              schema:
                type: string
        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.