> ## 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 session termination request

> Accepts transport termination with an empty HTTP 200 response. Posted allocates no persistent MCP session, so this does not revoke the OAuth grant. Revoke the grant in account settings or through the OAuth revocation endpoint.

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

Accepts transport termination with an empty HTTP 200 response. Posted allocates no persistent MCP session, so this does not revoke the OAuth grant. Revoke the grant in account settings or through the OAuth revocation endpoint.

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


## OpenAPI

````yaml api-reference/openapi.json DELETE /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:
    delete:
      tags:
        - OAuth and MCP transport
      summary: MCP session termination request
      description: >-
        Accepts transport termination with an empty HTTP 200 response. Posted
        allocates no persistent MCP session, so this does not revoke the OAuth
        grant. Revoke the grant in account settings or through the OAuth
        revocation endpoint.


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