swagger: '2.0'
info:
  title: LeanIX Pathfinder MCP Server
  description: Model Context Protocol server for LeanIX Pathfinder API with 20+ enterprise architecture tools for Microsoft Copilot Studio integration
  version: 1.0.0
host: your-server.com
basePath: /
schemes:
  - https
paths:
  /mcp:
    post:
      summary: LeanIX Pathfinder MCP Server
      description: Streamable MCP endpoint for Microsoft Copilot Studio integration
      x-ms-agentic-protocol: mcp-streamable-1.0
      operationId: InvokeMCP
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: MCP request payload
          required: true
          schema:
            type: object
            properties:
              jsonrpc:
                type: string
                example: "2.0"
              method:
                type: string
                example: "tools/call"
              params:
                type: object
              id:
                type: string
      responses:
        '200':
          description: Success
          schema:
            type: object
            properties:
              jsonrpc:
                type: string
              result:
                type: object
              id:
                type: string
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
