naftiko: 1.0.0-alpha2 info: label: Lichess API — Messaging description: 'Lichess API — Messaging. 1 operation. Lead operation: Send a private message. Self-contained Naftiko capability covering one Lichess business surface.' tags: - Lichess - Messaging created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: LICHESS_API_TOKEN: LICHESS_API_TOKEN capability: consumes: - type: http namespace: messaging baseUri: https://lichess.org description: Lichess Messaging business capability. Self-contained, no shared references. resources: - name: inbox-username path: /inbox/{username} operations: - name: inboxusername method: POST description: 'Send a private message' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: username in: path type: string required: true - name: body in: body type: object required: false authentication: type: bearer value: '{{env.LICHESS_API_TOKEN}}' placement: header exposes: - type: rest namespace: messaging-rest port: 8080 description: REST adapter for Lichess Messaging. One Spectral-compliant resource per consumed operation. resources: - path: /v1/inbox/{username} name: inbox-username description: REST surface for inbox-username. operations: - method: POST name: inboxusername description: 'Send a private message' call: messaging.inboxusername with: username: rest.path.username body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: messaging-mcp port: 9090 transport: http description: MCP adapter for Lichess Messaging. One tool per consumed operation. tools: - name: lichess-inboxusername description: 'Send a private message' hints: readOnly: false destructive: false idempotent: false call: messaging.inboxusername with: username: tools.username body: tools.body outputParameters: - type: object mapping: $.