frp · Capability

frp Server Admin API — Health

frp Server Admin API — Health. 1 operations. Lead operation: Health check. Self-contained Naftiko capability covering one Frp business surface.

Run with Naftiko FrpHealth

What You Can Do

GET
Gethealthz — Health check
/v1/healthz

MCP Tools

health-check

Health check

read-only idempotent

Capability Spec

server-admin-health.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: frp Server Admin API — Health
  description: 'frp Server Admin API — Health. 1 operations. Lead operation: Health check. Self-contained Naftiko capability
    covering one Frp business surface.'
  tags:
  - Frp
  - Health
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FRP_API_KEY: FRP_API_KEY
capability:
  consumes:
  - type: http
    namespace: server-admin-health
    baseUri: http://{host}:{port}
    description: frp Server Admin API — Health business capability. Self-contained, no shared references.
    resources:
    - name: healthz
      path: /healthz
      operations:
      - name: gethealthz
        method: GET
        description: Health check
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.FRP_USER}}'
      password: '{{env.FRP_PASS}}'
  exposes:
  - type: rest
    namespace: server-admin-health-rest
    port: 8080
    description: REST adapter for frp Server Admin API — Health. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/healthz
      name: healthz
      description: REST surface for healthz.
      operations:
      - method: GET
        name: gethealthz
        description: Health check
        call: server-admin-health.gethealthz
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: server-admin-health-mcp
    port: 9090
    transport: http
    description: MCP adapter for frp Server Admin API — Health. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: health-check
      description: Health check
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: server-admin-health.gethealthz
      outputParameters:
      - type: object
        mapping: $.