APIContext · Capability

APIContext Platform API — Directory

APIContext Platform API — Directory. 2 operations. Lead operation: List API directory providers. Self-contained Naftiko capability covering one business surface.

APIContext Platform API — Directory is a Naftiko capability published by APIContext, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the GET method rooted at /v1/directory/providers.

The capability includes 2 read-only operations. Lead operation: List API directory providers. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include APIContext and Directory.

Run with Naftiko APIContextDirectory

What You Can Do

GET
Listdirectoryproviders — List API directory providers
/v1/directory/providers
GET
Getdirectoryprovider — Get an API directory provider
/v1/directory/providers/{provider_id}

MCP Tools

apicontext-listdirectoryproviders

List API directory providers

read-only idempotent
apicontext-getdirectoryprovider

Get an API directory provider

read-only idempotent

Capability Spec

platform-directory.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIContext Platform API — Directory
  description: 'APIContext Platform API — Directory. 2 operations. Lead operation: List API directory providers. Self-contained Naftiko capability covering one business surface.'
  tags:
  - APIContext
  - Directory
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    APICONTEXT_API_KEY: APICONTEXT_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-directory
    baseUri: https://client.apimetrics.io/api/2
    description: APIContext Platform API — Directory business capability. Self-contained, no shared references.
    resources:
    - name: directory-providers
      path: /directory/providers
      operations:
      - name: listdirectoryproviders
        method: GET
        description: List API directory providers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
    - name: directory-providers-provider-id
      path: /directory/providers/{provider_id}
      operations:
      - name: getdirectoryprovider
        method: GET
        description: Get an API directory provider
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: provider_id
          in: path
          type: string
          description: path parameter provider_id.
          required: true
  exposes:
  - type: rest
    namespace: platform-directory-rest
    port: 8080
    description: REST adapter for APIContext Platform API — Directory. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/directory/providers
      name: directory-providers
      description: REST surface for directory-providers.
      operations:
      - method: GET
        name: listdirectoryproviders
        description: List API directory providers
        call: platform-directory.listdirectoryproviders
        with: {}
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/providers/{provider_id}
      name: directory-providers-provider-id
      description: REST surface for directory-providers-provider-id.
      operations:
      - method: GET
        name: getdirectoryprovider
        description: Get an API directory provider
        call: platform-directory.getdirectoryprovider
        with:
          provider_id: rest.provider_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-directory-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIContext Platform API — Directory. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: apicontext-listdirectoryproviders
      description: List API directory providers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-directory.listdirectoryproviders
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: apicontext-getdirectoryprovider
      description: Get an API directory provider
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-directory.getdirectoryprovider
      with:
        provider_id: tools.provider_id
      outputParameters:
      - type: object
        mapping: $.