flagsmith · Capability

Flagsmith Flags API — Flags

Flagsmith Flags API — Flags. 1 operations. Lead operation: List all flags for an environment. Self-contained Naftiko capability covering one Flagsmith business surface.

Run with Naftiko FlagsmithFlags

What You Can Do

GET
Listflags — List all flags for an environment
/v1/flags

MCP Tools

list-all-flags-environment

List all flags for an environment

read-only idempotent

Capability Spec

flags-flags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flagsmith Flags API — Flags
  description: 'Flagsmith Flags API — Flags. 1 operations. Lead operation: List all flags for an environment. Self-contained
    Naftiko capability covering one Flagsmith business surface.'
  tags:
  - Flagsmith
  - Flags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FLAGSMITH_API_KEY: FLAGSMITH_API_KEY
capability:
  consumes:
  - type: http
    namespace: flags-flags
    baseUri: https://edge.api.flagsmith.com/api/v1
    description: Flagsmith Flags API — Flags business capability. Self-contained, no shared references.
    resources:
    - name: flags
      path: /flags/
      operations:
      - name: listflags
        method: GET
        description: List all flags for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-Environment-Key
      value: '{{env.FLAGSMITH_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: flags-flags-rest
    port: 8080
    description: REST adapter for Flagsmith Flags API — Flags. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/flags
      name: flags
      description: REST surface for flags.
      operations:
      - method: GET
        name: listflags
        description: List all flags for an environment
        call: flags-flags.listflags
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flags-flags-mcp
    port: 9090
    transport: http
    description: MCP adapter for Flagsmith Flags API — Flags. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-all-flags-environment
      description: List all flags for an environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flags-flags.listflags
      outputParameters:
      - type: object
        mapping: $.