Juniper Networks · Capability

Juniper Networks Juniper Mist Cloud API — Authentication

Juniper Networks Juniper Mist Cloud API — Authentication. 3 operations. Lead operation: Juniper Networks Get current user information. Self-contained Naftiko capability covering one Juniper Networks business surface.

Run with Naftiko Juniper NetworksAuthentication

What You Can Do

GET
Getself — Juniper Networks Get current user information
/v1/self
GET
Listapitokens — Juniper Networks List API tokens
/v1/self/apitokens
POST
Createapitoken — Juniper Networks Create API token
/v1/self/apitokens

MCP Tools

juniper-networks-get-current-user

Juniper Networks Get current user information

read-only idempotent
juniper-networks-list-api-tokens

Juniper Networks List API tokens

read-only idempotent
juniper-networks-create-api-token

Juniper Networks Create API token

Capability Spec

mist-authentication.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Juniper Networks Juniper Mist Cloud API — Authentication
  description: 'Juniper Networks Juniper Mist Cloud API — Authentication. 3 operations. Lead operation: Juniper Networks Get
    current user information. Self-contained Naftiko capability covering one Juniper Networks business surface.'
  tags:
  - Juniper Networks
  - Authentication
  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-authentication
    baseUri: https://api.mist.com/api/v1
    description: Juniper Networks Juniper Mist Cloud API — Authentication business capability. Self-contained, no shared references.
    resources:
    - name: self
      path: /self
      operations:
      - name: getself
        method: GET
        description: Juniper Networks Get current user information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: self-apitokens
      path: /self/apitokens
      operations:
      - name: listapitokens
        method: GET
        description: Juniper Networks List API tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createapitoken
        method: POST
        description: Juniper Networks Create API token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.JUNIPER_NETWORKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: mist-authentication-rest
    port: 8080
    description: REST adapter for Juniper Networks Juniper Mist Cloud API — Authentication. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/self
      name: self
      description: REST surface for self.
      operations:
      - method: GET
        name: getself
        description: Juniper Networks Get current user information
        call: mist-authentication.getself
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/self/apitokens
      name: self-apitokens
      description: REST surface for self-apitokens.
      operations:
      - method: GET
        name: listapitokens
        description: Juniper Networks List API tokens
        call: mist-authentication.listapitokens
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapitoken
        description: Juniper Networks Create API token
        call: mist-authentication.createapitoken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: mist-authentication-mcp
    port: 9090
    transport: http
    description: MCP adapter for Juniper Networks Juniper Mist Cloud API — Authentication. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: juniper-networks-get-current-user
      description: Juniper Networks Get current user information
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: mist-authentication.getself
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-list-api-tokens
      description: Juniper Networks List API tokens
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: mist-authentication.listapitokens
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-create-api-token
      description: Juniper Networks Create API token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: mist-authentication.createapitoken
      outputParameters:
      - type: object
        mapping: $.