Portainer · Capability

PortainerCE API — ldap

PortainerCE API — ldap. 1 operations. Lead operation: Test LDAP connectivity. Self-contained Naftiko capability covering one Portainer business surface.

Run with Naftiko Portainerldap

What You Can Do

POST
Ldapcheck — Test LDAP connectivity
/v1/ldap/check

MCP Tools

test-ldap-connectivity

Test LDAP connectivity

read-only

Capability Spec

portainer-ldap.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PortainerCE API — ldap
  description: 'PortainerCE API — ldap. 1 operations. Lead operation: Test LDAP connectivity. Self-contained Naftiko capability
    covering one Portainer business surface.'
  tags:
  - Portainer
  - ldap
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PORTAINER_API_KEY: PORTAINER_API_KEY
capability:
  consumes:
  - type: http
    namespace: portainer-ldap
    baseUri: ''
    description: PortainerCE API — ldap business capability. Self-contained, no shared references.
    resources:
    - name: ldap-check
      path: /ldap/check
      operations:
      - name: ldapcheck
        method: POST
        description: Test LDAP connectivity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          description: details
          required: true
  exposes:
  - type: rest
    namespace: portainer-ldap-rest
    port: 8080
    description: REST adapter for PortainerCE API — ldap. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/ldap/check
      name: ldap-check
      description: REST surface for ldap-check.
      operations:
      - method: POST
        name: ldapcheck
        description: Test LDAP connectivity
        call: portainer-ldap.ldapcheck
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: portainer-ldap-mcp
    port: 9090
    transport: http
    description: MCP adapter for PortainerCE API — ldap. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: test-ldap-connectivity
      description: Test LDAP connectivity
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: portainer-ldap.ldapcheck
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.