> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tai42.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List the manifest MCP section's !ENV marker refs (names + set/unset only)

> The ``!ENV ${VAR[:default]}`` markers carried by the manifest's MCP section —
NAMES and BOOLEANS only, never values.

Walks the PRESERVED manifest (markers intact) with the shared marker scan and
returns one row per marker ref, in document order:
``{var, pointer, has_default, set}``. ``pointer`` is the RFC 6901 json-pointer of
the leaf (``/mcp/<i>/config/...``); ``has_default`` is whether the ref carries a
``:default``; ``set`` is whether the var is present in ``os.environ`` — the SAME
effective env the store flows into and the source-marker resolution + dangling
refusals read, so a var supplied only by the deployment environment shows green,
never a false red. Works identically for hand-written marker-bearing entries (a
platform feature, not an mcp-server-kind feature).



## OpenAPI

````yaml /openapi.json get /api/manifest/mcp-env-refs
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 14.0.2
servers: []
security: []
paths:
  /api/manifest/mcp-env-refs:
    get:
      tags:
        - manifest
      summary: >-
        List the manifest MCP section's !ENV marker refs (names + set/unset
        only)
      description: >-
        The ``!ENV ${VAR[:default]}`` markers carried by the manifest's MCP
        section —

        NAMES and BOOLEANS only, never values.


        Walks the PRESERVED manifest (markers intact) with the shared marker
        scan and

        returns one row per marker ref, in document order:

        ``{var, pointer, has_default, set}``. ``pointer`` is the RFC 6901
        json-pointer of

        the leaf (``/mcp/<i>/config/...``); ``has_default`` is whether the ref
        carries a

        ``:default``; ``set`` is whether the var is present in ``os.environ`` —
        the SAME

        effective env the store flows into and the source-marker resolution +
        dangling

        refusals read, so a var supplied only by the deployment environment
        shows green,

        never a false red. Works identically for hand-written marker-bearing
        entries (a

        platform feature, not an mcp-server-kind feature).
      operationId: get_api_manifest_mcp_env_refs
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/McpEnvRefList'
                required:
                  - data
                type: object
          description: Success.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    McpEnvRefList:
      description: The manifest MCP section's ``!ENV`` marker refs, in document order.
      items:
        $ref: '#/components/schemas/McpEnvRef'
      title: McpEnvRefList
      type: array
    Error:
      properties:
        code:
          description: >-
            Stable machine-readable reason a client keys a dedicated error state
            on, present on refusals that opt in (e.g. a 501 not-configured
            refusal). Optional: absent when the error carries only a
            human-readable message.
          type: string
        error:
          type: string
      required:
        - error
      type: object
    McpEnvRef:
      description: >-
        One ``!ENV ${VAR[:default]}`` marker ref carried by the manifest's MCP
        section —

        NAMES and BOOLEANS only. ``pointer`` is the marker leaf's json-pointer;
        ``set`` is

        whether the var is present in the effective environment.
      properties:
        has_default:
          title: Has Default
          type: boolean
        pointer:
          title: Pointer
          type: string
        set:
          title: Set
          type: boolean
        var:
          title: Var
          type: string
      required:
        - var
        - pointer
        - has_default
        - set
      title: McpEnvRef
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````