Microsoft Dynamics · Capability

Microsoft Dynamics 365 Business Central API — Companies

Microsoft Dynamics 365 Business Central API — Companies. 1 operations. Lead operation: Microsoft Dynamics List companies. Self-contained Naftiko capability covering one Microsoft Dynamics business surface.

Run with Naftiko Microsoft DynamicsCompanies

What You Can Do

GET
Listcompanies — Microsoft Dynamics List companies
/v1/companies

MCP Tools

microsoft-dynamics-list-companies

Microsoft Dynamics List companies

read-only idempotent

Capability Spec

business-central-companies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Dynamics 365 Business Central API — Companies
  description: 'Microsoft Dynamics 365 Business Central API — Companies. 1 operations. Lead operation: Microsoft Dynamics
    List companies. Self-contained Naftiko capability covering one Microsoft Dynamics business surface.'
  tags:
  - Microsoft Dynamics
  - Companies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_DYNAMICS_API_KEY: MICROSOFT_DYNAMICS_API_KEY
capability:
  consumes:
  - type: http
    namespace: business-central-companies
    baseUri: https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/v2.0
    description: Microsoft Dynamics 365 Business Central API — Companies business capability. Self-contained, no shared references.
    resources:
    - name: companies
      path: /companies
      operations:
      - name: listcompanies
        method: GET
        description: Microsoft Dynamics List companies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_DYNAMICS_API_KEY}}'
  exposes:
  - type: rest
    namespace: business-central-companies-rest
    port: 8080
    description: REST adapter for Microsoft Dynamics 365 Business Central API — Companies. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/companies
      name: companies
      description: REST surface for companies.
      operations:
      - method: GET
        name: listcompanies
        description: Microsoft Dynamics List companies
        call: business-central-companies.listcompanies
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: business-central-companies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Dynamics 365 Business Central API — Companies. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-dynamics-list-companies
      description: Microsoft Dynamics List companies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-central-companies.listcompanies
      outputParameters:
      - type: object
        mapping: $.