openapi: 3.0.3
info:
  title: Quantly MCP API
  version: 0.1.0
  description: Model Context Protocol server for Quantly trading workflows.
  contact:
    name: Quantly Support
    url: https://quantly.trade
servers:
  - url: https://api.quantly.trade/mcp
security:
  - bearerAuth: []
paths:
  /:
    post:
      summary: MCP streamable HTTP endpoint
      operationId: mcpRequest
      description: JSON-RPC over streamable HTTP for MCP tools, resources, and prompts.
      responses:
        '200':
          description: MCP response
        '401':
          description: Authentication required
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth access token or Quantly API key
