naftiko: 1.0.0-alpha2 info: label: Nudge Security API — OAuth Grants description: 'Nudge Security API — OAuth Grants. 2 operations. Lead operation: Search OAuth grants. Self-contained Naftiko capability covering one Nudge Security business surface.' tags: - Nudge Security - OAuth Grants created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NUDGE_SECURITY_API_KEY: NUDGE_SECURITY_API_KEY capability: consumes: - type: http namespace: nudge-security-oauth-grants baseUri: https://api.nudgesecurity.io/api/1.0 description: Nudge Security API — OAuth Grants business capability. Self-contained, no shared references. resources: - name: oauth-grants path: /oauth-grants operations: - name: get method: GET description: Search OAuth grants outputRawFormat: json outputParameters: - name: result type: object value: $. - name: oauth-grants-grant_id path: /oauth-grants/{grant_id} operations: - name: get method: GET description: Get OAuth grant outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: grant_id in: path type: string required: true authentication: type: bearer token: '{{env.NUDGE_SECURITY_API_KEY}}' exposes: - type: rest namespace: nudge-security-oauth-grants-rest port: 8080 description: REST adapter for Nudge Security API — OAuth Grants. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/oauth-grants name: oauth-grants description: REST surface for oauth-grants. operations: - method: GET name: get description: Search OAuth grants call: nudge-security-oauth-grants.get outputParameters: - type: object mapping: $. - path: /v1/oauth-grants/{grant-id} name: oauth-grants-grant-id description: REST surface for oauth-grants-grant_id. operations: - method: GET name: get description: Get OAuth grant call: nudge-security-oauth-grants.get with: grant_id: rest.grant_id outputParameters: - type: object mapping: $. - type: mcp namespace: nudge-security-oauth-grants-mcp port: 9090 transport: http description: MCP adapter for Nudge Security API — OAuth Grants. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-oauth-grants description: Search OAuth grants hints: readOnly: true destructive: false idempotent: true call: nudge-security-oauth-grants.get outputParameters: - type: object mapping: $. - name: get-oauth-grant description: Get OAuth grant hints: readOnly: true destructive: false idempotent: true call: nudge-security-oauth-grants.get with: grant_id: tools.grant_id outputParameters: - type: object mapping: $.