naftiko: 1.0.0-alpha2 info: label: Paragon Users API — Users description: 'Paragon Users API — Users. 2 operations. Lead operation: Paragon Get current user. Self-contained Naftiko capability covering one Paragon business surface.' tags: - Paragon - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PARAGON_API_KEY: PARAGON_API_KEY capability: consumes: - type: http namespace: users-users baseUri: https://api.useparagon.com description: Paragon Users API — Users business capability. Self-contained, no shared references. resources: - name: projects-projectId-sdk-me path: /projects/{projectId}/sdk/me operations: - name: getuser method: GET description: Paragon Get current user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: Your Paragon Project ID. required: true - name: updateuser method: PATCH description: Paragon Update user metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: Your Paragon Project ID. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.PARAGON_API_KEY}}' exposes: - type: rest namespace: users-users-rest port: 8080 description: REST adapter for Paragon Users API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/sdk/me name: projects-projectid-sdk-me description: REST surface for projects-projectId-sdk-me. operations: - method: GET name: getuser description: Paragon Get current user call: users-users.getuser with: projectId: rest.projectId outputParameters: - type: object mapping: $. - method: PATCH name: updateuser description: Paragon Update user metadata call: users-users.updateuser with: projectId: rest.projectId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: users-users-mcp port: 9090 transport: http description: MCP adapter for Paragon Users API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: paragon-get-current-user description: Paragon Get current user hints: readOnly: true destructive: false idempotent: true call: users-users.getuser with: projectId: tools.projectId outputParameters: - type: object mapping: $. - name: paragon-update-user-metadata description: Paragon Update user metadata hints: readOnly: false destructive: false idempotent: true call: users-users.updateuser with: projectId: tools.projectId body: tools.body outputParameters: - type: object mapping: $.