naftiko: 1.0.0-alpha2 info: label: Appium Server API — Sessions description: 'Appium Server API — Sessions. 2 operations. Lead operation: Appium Create Session. Self-contained Naftiko capability covering one Appium business surface.' tags: - Appium - Sessions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPIUM_API_KEY: APPIUM_API_KEY capability: consumes: - type: http namespace: server-sessions baseUri: http://localhost:4723 description: Appium Server API — Sessions business capability. Self-contained, no shared references. resources: - name: session path: /session operations: - name: createsession method: POST description: Appium Create Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: session-sessionId path: /session/{sessionId} operations: - name: deletesession method: DELETE description: Appium Delete Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sessionId in: path type: string description: The unique session identifier required: true exposes: - type: rest namespace: server-sessions-rest port: 8080 description: REST adapter for Appium Server API — Sessions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/session name: session description: REST surface for session. operations: - method: POST name: createsession description: Appium Create Session call: server-sessions.createsession with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/session/{sessionid} name: session-sessionid description: REST surface for session-sessionId. operations: - method: DELETE name: deletesession description: Appium Delete Session call: server-sessions.deletesession with: sessionId: rest.sessionId outputParameters: - type: object mapping: $. - type: mcp namespace: server-sessions-mcp port: 9090 transport: http description: MCP adapter for Appium Server API — Sessions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: appium-create-session description: Appium Create Session hints: readOnly: false destructive: false idempotent: false call: server-sessions.createsession with: body: tools.body outputParameters: - type: object mapping: $. - name: appium-delete-session description: Appium Delete Session hints: readOnly: false destructive: true idempotent: true call: server-sessions.deletesession with: sessionId: tools.sessionId outputParameters: - type: object mapping: $.