HashiCorp Nomad · Capability

HashiCorp Nomad HTTP API — ACL

HashiCorp Nomad HTTP API — ACL. 2 operations. Lead operation: List ACL policies. Self-contained Naftiko capability covering one Hashicorp Nomad business surface.

Run with Naftiko Hashicorp NomadACL

What You Can Do

GET
Get — List ACL policies
/v1/acl/policies
GET
Get — List ACL tokens
/v1/acl/tokens

MCP Tools

list-acl-policies

List ACL policies

read-only idempotent
list-acl-tokens

List ACL tokens

read-only idempotent

Capability Spec

hashicorp-nomad-acl.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: HashiCorp Nomad HTTP API — ACL
  description: 'HashiCorp Nomad HTTP API — ACL. 2 operations. Lead operation: List ACL policies. Self-contained Naftiko capability
    covering one Hashicorp Nomad business surface.'
  tags:
  - Hashicorp Nomad
  - ACL
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HASHICORP_NOMAD_API_KEY: HASHICORP_NOMAD_API_KEY
capability:
  consumes:
  - type: http
    namespace: hashicorp-nomad-acl
    baseUri: http://127.0.0.1:4646/v1
    description: HashiCorp Nomad HTTP API — ACL business capability. Self-contained, no shared references.
    resources:
    - name: acl-policies
      path: /acl/policies
      operations:
      - name: get
        method: GET
        description: List ACL policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: acl-tokens
      path: /acl/tokens
      operations:
      - name: get
        method: GET
        description: List ACL tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.HASHICORP_NOMAD_API_KEY}}'
  exposes:
  - type: rest
    namespace: hashicorp-nomad-acl-rest
    port: 8080
    description: REST adapter for HashiCorp Nomad HTTP API — ACL. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/acl/policies
      name: acl-policies
      description: REST surface for acl-policies.
      operations:
      - method: GET
        name: get
        description: List ACL policies
        call: hashicorp-nomad-acl.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/acl/tokens
      name: acl-tokens
      description: REST surface for acl-tokens.
      operations:
      - method: GET
        name: get
        description: List ACL tokens
        call: hashicorp-nomad-acl.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hashicorp-nomad-acl-mcp
    port: 9090
    transport: http
    description: MCP adapter for HashiCorp Nomad HTTP API — ACL. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-acl-policies
      description: List ACL policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hashicorp-nomad-acl.get
      outputParameters:
      - type: object
        mapping: $.
    - name: list-acl-tokens
      description: List ACL tokens
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hashicorp-nomad-acl.get
      outputParameters:
      - type: object
        mapping: $.