Envoy Proxy · Capability

Envoy Proxy Admin API — Profiling

Envoy Proxy Admin API — Profiling. 2 operations. Lead operation: Envoy Proxy Enable or Disable CPU Profiler. Self-contained Naftiko capability covering one Envoy Proxy business surface.

Run with Naftiko Envoy ProxyProfiling

What You Can Do

POST
Postcpuprofiler — Envoy Proxy Enable or Disable CPU Profiler
/v1/cpuprofiler
POST
Postheapprofiler — Envoy Proxy Enable or Disable Heap Profiler
/v1/heapprofiler

MCP Tools

envoy-proxy-enable-disable-cpu

Envoy Proxy Enable or Disable CPU Profiler

envoy-proxy-enable-disable-heap

Envoy Proxy Enable or Disable Heap Profiler

Capability Spec

admin-profiling.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Envoy Proxy Admin API — Profiling
  description: 'Envoy Proxy Admin API — Profiling. 2 operations. Lead operation: Envoy Proxy Enable or Disable CPU Profiler.
    Self-contained Naftiko capability covering one Envoy Proxy business surface.'
  tags:
  - Envoy Proxy
  - Profiling
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENVOY_PROXY_API_KEY: ENVOY_PROXY_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-profiling
    baseUri: http://localhost:9901
    description: Envoy Proxy Admin API — Profiling business capability. Self-contained, no shared references.
    resources:
    - name: cpuprofiler
      path: /cpuprofiler
      operations:
      - name: postcpuprofiler
        method: POST
        description: Envoy Proxy Enable or Disable CPU Profiler
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: enable
          in: query
          type: string
          description: Enable (y) or disable (n) the CPU profiler.
    - name: heapprofiler
      path: /heapprofiler
      operations:
      - name: postheapprofiler
        method: POST
        description: Envoy Proxy Enable or Disable Heap Profiler
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: enable
          in: query
          type: string
          description: Enable (y) or disable (n) the heap profiler.
  exposes:
  - type: rest
    namespace: admin-profiling-rest
    port: 8080
    description: REST adapter for Envoy Proxy Admin API — Profiling. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/cpuprofiler
      name: cpuprofiler
      description: REST surface for cpuprofiler.
      operations:
      - method: POST
        name: postcpuprofiler
        description: Envoy Proxy Enable or Disable CPU Profiler
        call: admin-profiling.postcpuprofiler
        with:
          enable: rest.enable
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/heapprofiler
      name: heapprofiler
      description: REST surface for heapprofiler.
      operations:
      - method: POST
        name: postheapprofiler
        description: Envoy Proxy Enable or Disable Heap Profiler
        call: admin-profiling.postheapprofiler
        with:
          enable: rest.enable
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-profiling-mcp
    port: 9090
    transport: http
    description: MCP adapter for Envoy Proxy Admin API — Profiling. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: envoy-proxy-enable-disable-cpu
      description: Envoy Proxy Enable or Disable CPU Profiler
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-profiling.postcpuprofiler
      with:
        enable: tools.enable
      outputParameters:
      - type: object
        mapping: $.
    - name: envoy-proxy-enable-disable-heap
      description: Envoy Proxy Enable or Disable Heap Profiler
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-profiling.postheapprofiler
      with:
        enable: tools.enable
      outputParameters:
      - type: object
        mapping: $.