swagger: '2.0'
info:
  title: DataDriven MCP
  description: >-
    Model Context Protocol (streamable HTTP) server for DataDriven.ro — Romanian
    public-procurement tenders, awards, company data and tender documents.
    Authenticated with a DataDriven API key (Premium plan).
  version: '1.0'
host: api.datadriven.ro
basePath: /
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
paths:
  /mcp:
    post:
      summary: DataDriven MCP Server
      description: Streamable-HTTP MCP endpoint. Copilot Studio handles the JSON-RPC envelope.
      operationId: InvokeMCP
      # This single extension turns the connector into an MCP tool source.
      # Copilot Studio auto-discovers the server's tools (tools/list) at runtime.
      x-ms-agentic-protocol: mcp-streamable-1.0
      responses:
        '200':
          description: Success
securityDefinitions:
  api_key:
    type: apiKey
    in: header
    name: Ocp-Apim-Subscription-Key
security:
  - api_key: []
