Naftiko · Capability

Dealer Customer Context Composition

A capability composing dealer DMS + CRM into a unified customer context for automotive sales-floor agents.

Run with Naftiko NaftikoAutomotiveDealerCRM

What You Can Do

GET
Get customer context
/customers/{{customer_id}}/context

MCP Tools

get-customer-context

read-only

Capability Spec

dealer-customer-context-composition.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: Dealer Customer Context Composition
  description: A capability composing dealer DMS + CRM into a unified customer context for automotive sales-floor agents.
  tags: [Naftiko, Automotive, Dealer, CRM]
  created: '2026-05-01'
  modified: '2026-05-04'
binds:
- namespace: dms-env
  keys: {DMS_HOST: DMS_HOST, DMS_TOKEN: DMS_TOKEN}
capability:
  consumes:
  - namespace: dms
    type: http
    baseUri: https://{{DMS_HOST}}
    authentication: {type: bearer, token: '{{DMS_TOKEN}}'}
    resources:
    - name: customer
      path: /api/v1/customers/{{customer_id}}
      operations:
      - {name: get-customer, method: GET, inputParameters: [{name: customer_id, in: path}]}
    - name: customer-deals
      path: /api/v1/customers/{{customer_id}}/deals
      operations:
      - {name: list-customer-deals, method: GET, inputParameters: [{name: customer_id, in: path}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: dealer-customer-context-composition-rest
    description: REST surface for dealer customer context.
    resources:
    - name: customer-context
      path: /customers/{{customer_id}}/context
      operations:
      - {method: GET, name: get-customer-context, inputParameters: [{name: customer_id, in: path, type: string}], call: dms.get-customer}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: dealer-customer-context-composition-mcp
    description: MCP for dealer customer context.
    tools:
    - name: get-customer-context
      hints: {readOnly: true}
      inputParameters: [{name: customer_id, type: string, required: true}]
      call: dms.get-customer
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: dealer-customer-context-composition-skills
    description: Skill for dealer context.
    skills:
    - name: dealer-customer-context-composition
      description: Dealer customer context.
      location: file:///opt/naftiko/skills/dealer-customer-context-composition
      allowed-tools: get-customer-context
      tools:
      - {name: get-customer-context, from: {sourceNamespace: dealer-customer-context-composition-mcp, action: get-customer-context}}