Juniper Networks · Capability

Juniper Networks Juniper Mist Cloud API — Inventory

Juniper Networks Juniper Mist Cloud API — Inventory. 2 operations. Lead operation: Juniper Networks List organization inventory. Self-contained Naftiko capability covering one Juniper Networks business surface.

Run with Naftiko Juniper NetworksInventory

What You Can Do

GET
Listorginventory — Juniper Networks List organization inventory
/v1/orgs/{org-id}/inventory
PUT
Updateorginventory — Juniper Networks Update inventory assignment
/v1/orgs/{org-id}/inventory

MCP Tools

juniper-networks-list-organization-inventory

Juniper Networks List organization inventory

read-only idempotent
juniper-networks-update-inventory-assignment

Juniper Networks Update inventory assignment

idempotent

Capability Spec

mist-inventory.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Juniper Networks Juniper Mist Cloud API — Inventory
  description: 'Juniper Networks Juniper Mist Cloud API — Inventory. 2 operations. Lead operation: Juniper Networks List organization
    inventory. Self-contained Naftiko capability covering one Juniper Networks business surface.'
  tags:
  - Juniper Networks
  - Inventory
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JUNIPER_NETWORKS_API_KEY: JUNIPER_NETWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: mist-inventory
    baseUri: https://api.mist.com/api/v1
    description: Juniper Networks Juniper Mist Cloud API — Inventory business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org_id-inventory
      path: /orgs/{org_id}/inventory
      operations:
      - name: listorginventory
        method: GET
        description: Juniper Networks List organization inventory
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: serial
          in: query
          type: string
          description: Filter by device serial number.
        - name: model
          in: query
          type: string
          description: Filter by device model.
        - name: type
          in: query
          type: string
          description: Filter by device type.
      - name: updateorginventory
        method: PUT
        description: Juniper Networks Update inventory assignment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.JUNIPER_NETWORKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: mist-inventory-rest
    port: 8080
    description: REST adapter for Juniper Networks Juniper Mist Cloud API — Inventory. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/orgs/{org-id}/inventory
      name: orgs-org-id-inventory
      description: REST surface for orgs-org_id-inventory.
      operations:
      - method: GET
        name: listorginventory
        description: Juniper Networks List organization inventory
        call: mist-inventory.listorginventory
        with:
          serial: rest.serial
          model: rest.model
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateorginventory
        description: Juniper Networks Update inventory assignment
        call: mist-inventory.updateorginventory
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: mist-inventory-mcp
    port: 9090
    transport: http
    description: MCP adapter for Juniper Networks Juniper Mist Cloud API — Inventory. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: juniper-networks-list-organization-inventory
      description: Juniper Networks List organization inventory
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: mist-inventory.listorginventory
      with:
        serial: tools.serial
        model: tools.model
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-update-inventory-assignment
      description: Juniper Networks Update inventory assignment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: mist-inventory.updateorginventory
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.