naftiko: 1.0.0-alpha2 info: label: Copper Developer API — People description: 'Copper Developer API — People. 5 operations. Lead operation: Create a Person. Self-contained Naftiko capability covering one Copper business surface.' tags: - Copper - People created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COPPER_API_KEY: COPPER_API_KEY capability: consumes: - type: http namespace: developer-people baseUri: https://api.copper.com/developer_api/v1 description: Copper Developer API — People business capability. Self-contained, no shared references. resources: - name: people path: /people operations: - name: createperson method: POST description: Create a Person outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: people-search path: /people/search operations: - name: searchpeople method: POST description: Search People outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: people-id path: /people/{id} operations: - name: getperson method: GET description: Get a Person outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateperson method: PUT description: Update a Person outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteperson method: DELETE description: Delete a Person outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-PW-AccessToken value: '{{env.COPPER_API_KEY}}' placement: header exposes: - type: rest namespace: developer-people-rest port: 8080 description: REST adapter for Copper Developer API — People. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/people name: people description: REST surface for people. operations: - method: POST name: createperson description: Create a Person call: developer-people.createperson with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/people/search name: people-search description: REST surface for people-search. operations: - method: POST name: searchpeople description: Search People call: developer-people.searchpeople with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/people/{id} name: people-id description: REST surface for people-id. operations: - method: GET name: getperson description: Get a Person call: developer-people.getperson outputParameters: - type: object mapping: $. - method: PUT name: updateperson description: Update a Person call: developer-people.updateperson with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteperson description: Delete a Person call: developer-people.deleteperson outputParameters: - type: object mapping: $. - type: mcp namespace: developer-people-mcp port: 9090 transport: http description: MCP adapter for Copper Developer API — People. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-person description: Create a Person hints: readOnly: false destructive: false idempotent: false call: developer-people.createperson with: body: tools.body outputParameters: - type: object mapping: $. - name: search-people description: Search People hints: readOnly: true destructive: false idempotent: false call: developer-people.searchpeople with: body: tools.body outputParameters: - type: object mapping: $. - name: get-person description: Get a Person hints: readOnly: true destructive: false idempotent: true call: developer-people.getperson outputParameters: - type: object mapping: $. - name: update-person description: Update a Person hints: readOnly: false destructive: false idempotent: true call: developer-people.updateperson with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-person description: Delete a Person hints: readOnly: false destructive: true idempotent: true call: developer-people.deleteperson outputParameters: - type: object mapping: $.