Microsoft · Capability

Microsoft Azure DevOps REST API — Projects

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

Run with Naftiko MicrosoftProjects

What You Can Do

GET
Listprojects — Microsoft List projects
/v1/apis/projects
POST
Createproject — Microsoft Create a project
/v1/apis/projects
GET
Getproject — Microsoft Get a project
/v1/apis/projects/{projectid}

MCP Tools

microsoft-list-projects

Microsoft List projects

read-only idempotent
microsoft-create-project

Microsoft Create a project

microsoft-get-project

Microsoft Get a project

read-only idempotent

Capability Spec

azure-devops-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure DevOps REST API — Projects
  description: 'Microsoft Azure DevOps REST API — Projects. 3 operations. Lead operation: Microsoft List projects. Self-contained
    Naftiko capability covering one Microsoft business surface.'
  tags:
  - Microsoft
  - Projects
  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-projects
    baseUri: https://dev.azure.com/{organization}
    description: Microsoft Azure DevOps REST API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: _apis-projects
      path: /_apis/projects
      operations:
      - name: listprojects
        method: GET
        description: Microsoft List projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $top
          in: query
          type: integer
          description: Maximum number of projects to return
        - name: $skip
          in: query
          type: integer
          description: Number of projects to skip
        - name: stateFilter
          in: query
          type: string
          description: Filter on team project state
      - name: createproject
        method: POST
        description: Microsoft Create a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: _apis-projects-projectId
      path: /_apis/projects/{projectId}
      operations:
      - name: getproject
        method: GET
        description: Microsoft Get a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-devops-projects-rest
    port: 8080
    description: REST adapter for Microsoft Azure DevOps REST API — Projects. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/apis/projects
      name: apis-projects
      description: REST surface for _apis-projects.
      operations:
      - method: GET
        name: listprojects
        description: Microsoft List projects
        call: azure-devops-projects.listprojects
        with:
          $top: rest.$top
          $skip: rest.$skip
          stateFilter: rest.stateFilter
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproject
        description: Microsoft Create a project
        call: azure-devops-projects.createproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/projects/{projectid}
      name: apis-projects-projectid
      description: REST surface for _apis-projects-projectId.
      operations:
      - method: GET
        name: getproject
        description: Microsoft Get a project
        call: azure-devops-projects.getproject
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-devops-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure DevOps REST API — Projects. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-list-projects
      description: Microsoft List projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-devops-projects.listprojects
      with:
        $top: tools.$top
        $skip: tools.$skip
        stateFilter: tools.stateFilter
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-create-project
      description: Microsoft Create a project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-devops-projects.createproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-get-project
      description: Microsoft Get a project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-devops-projects.getproject
      outputParameters:
      - type: object
        mapping: $.