Microsoft · Capability

Microsoft Azure DevOps REST API — Pipelines

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

Run with Naftiko MicrosoftPipelines

What You Can Do

GET
Listpipelines — Microsoft List pipelines
/v1/{project}/apis/pipelines
POST
Runpipeline — Microsoft Run a pipeline
/v1/{project}/apis/pipelines/{pipelineid}/runs

MCP Tools

microsoft-list-pipelines

Microsoft List pipelines

read-only idempotent
microsoft-run-pipeline

Microsoft Run a pipeline

Capability Spec

azure-devops-pipelines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure DevOps REST API — Pipelines
  description: 'Microsoft Azure DevOps REST API — Pipelines. 2 operations. Lead operation: Microsoft List pipelines. Self-contained
    Naftiko capability covering one Microsoft business surface.'
  tags:
  - Microsoft
  - Pipelines
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_API_KEY: MICROSOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-devops-pipelines
    baseUri: https://dev.azure.com/{organization}
    description: Microsoft Azure DevOps REST API — Pipelines business capability. Self-contained, no shared references.
    resources:
    - name: project-_apis-pipelines
      path: /{project}/_apis/pipelines
      operations:
      - name: listpipelines
        method: GET
        description: Microsoft List pipelines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $top
          in: query
          type: integer
    - name: project-_apis-pipelines-pipelineId-runs
      path: /{project}/_apis/pipelines/{pipelineId}/runs
      operations:
      - name: runpipeline
        method: POST
        description: Microsoft Run a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pipelineId
          in: path
          type: integer
          description: Pipeline ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-devops-pipelines-rest
    port: 8080
    description: REST adapter for Microsoft Azure DevOps REST API — Pipelines. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/{project}/apis/pipelines
      name: project-apis-pipelines
      description: REST surface for project-_apis-pipelines.
      operations:
      - method: GET
        name: listpipelines
        description: Microsoft List pipelines
        call: azure-devops-pipelines.listpipelines
        with:
          $top: rest.$top
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/{project}/apis/pipelines/{pipelineid}/runs
      name: project-apis-pipelines-pipelineid-runs
      description: REST surface for project-_apis-pipelines-pipelineId-runs.
      operations:
      - method: POST
        name: runpipeline
        description: Microsoft Run a pipeline
        call: azure-devops-pipelines.runpipeline
        with:
          pipelineId: rest.pipelineId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-devops-pipelines-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure DevOps REST API — Pipelines. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-list-pipelines
      description: Microsoft List pipelines
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-devops-pipelines.listpipelines
      with:
        $top: tools.$top
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-run-pipeline
      description: Microsoft Run a pipeline
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-devops-pipelines.runpipeline
      with:
        pipelineId: tools.pipelineId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.