Azure Pipelines · Capability

Azure Pipelines REST API — Pipelines

Azure Pipelines REST API — Pipelines. 3 operations. Lead operation: Azure Pipelines List pipelines. Self-contained Naftiko capability covering one Microsoft Azure Pipelines business surface.

Run with Naftiko Microsoft Azure PipelinesPipelines

What You Can Do

GET
Listpipelines — Azure Pipelines List pipelines
/v1/pipelines
POST
Createpipeline — Azure Pipelines Create a pipeline
/v1/pipelines
GET
Getpipeline — Azure Pipelines Get a pipeline
/v1/pipelines/{pipelineid}

MCP Tools

azure-pipelines-list-pipelines

Azure Pipelines List pipelines

read-only idempotent
azure-pipelines-create-pipeline

Azure Pipelines Create a pipeline

azure-pipelines-get-pipeline

Azure Pipelines Get a pipeline

read-only idempotent

Capability Spec

azure-pipelines-rest-pipelines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Pipelines REST API — Pipelines
  description: 'Azure Pipelines REST API — Pipelines. 3 operations. Lead operation: Azure Pipelines List pipelines. Self-contained
    Naftiko capability covering one Microsoft Azure Pipelines business surface.'
  tags:
  - Microsoft Azure Pipelines
  - Pipelines
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_PIPELINES_API_KEY: MICROSOFT_AZURE_PIPELINES_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-pipelines-rest-pipelines
    baseUri: https://dev.azure.com/{organization}/{project}/_apis
    description: Azure Pipelines REST API — Pipelines business capability. Self-contained, no shared references.
    resources:
    - name: pipelines
      path: /pipelines
      operations:
      - name: listpipelines
        method: GET
        description: Azure Pipelines List pipelines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orderBy
          in: query
          type: string
          description: Sort order for pipelines (e.g., name asc, createdDate desc)
        - name: $top
          in: query
          type: integer
          description: Maximum number of pipelines to return
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results returned by a previous call
      - name: createpipeline
        method: POST
        description: Azure Pipelines Create a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pipelines-pipelineId
      path: /pipelines/{pipelineId}
      operations:
      - name: getpipeline
        method: GET
        description: Azure Pipelines Get a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pipelineVersion
          in: query
          type: integer
          description: Specific version of the pipeline definition to retrieve
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_PIPELINES_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-pipelines-rest-pipelines-rest
    port: 8080
    description: REST adapter for Azure Pipelines REST API — Pipelines. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/pipelines
      name: pipelines
      description: REST surface for pipelines.
      operations:
      - method: GET
        name: listpipelines
        description: Azure Pipelines List pipelines
        call: azure-pipelines-rest-pipelines.listpipelines
        with:
          orderBy: rest.orderBy
          $top: rest.$top
          continuationToken: rest.continuationToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createpipeline
        description: Azure Pipelines Create a pipeline
        call: azure-pipelines-rest-pipelines.createpipeline
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pipelines/{pipelineid}
      name: pipelines-pipelineid
      description: REST surface for pipelines-pipelineId.
      operations:
      - method: GET
        name: getpipeline
        description: Azure Pipelines Get a pipeline
        call: azure-pipelines-rest-pipelines.getpipeline
        with:
          pipelineVersion: rest.pipelineVersion
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-pipelines-rest-pipelines-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Pipelines REST API — Pipelines. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: azure-pipelines-list-pipelines
      description: Azure Pipelines List pipelines
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-pipelines-rest-pipelines.listpipelines
      with:
        orderBy: tools.orderBy
        $top: tools.$top
        continuationToken: tools.continuationToken
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-pipelines-create-pipeline
      description: Azure Pipelines Create a pipeline
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-pipelines-rest-pipelines.createpipeline
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-pipelines-get-pipeline
      description: Azure Pipelines Get a pipeline
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-pipelines-rest-pipelines.getpipeline
      with:
        pipelineVersion: tools.pipelineVersion
      outputParameters:
      - type: object
        mapping: $.