naftiko: 1.0.0-alpha2 info: label: Braintree Subscriptions API — Plans description: 'Braintree Subscriptions API — Plans. 1 operations. Lead operation: List plans. Self-contained Naftiko capability covering one Braintree business surface.' tags: - Braintree - Plans created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BRAINTREE_API_KEY: BRAINTREE_API_KEY capability: consumes: - type: http namespace: subscriptions-plans baseUri: https://api.braintreegateway.com/merchants/{merchantId} description: Braintree Subscriptions API — Plans business capability. Self-contained, no shared references. resources: - name: plans path: /plans operations: - name: listplans method: GET description: List plans outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.BRAINTREE_USER}}' password: '{{env.BRAINTREE_PASS}}' exposes: - type: rest namespace: subscriptions-plans-rest port: 8080 description: REST adapter for Braintree Subscriptions API — Plans. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/plans name: plans description: REST surface for plans. operations: - method: GET name: listplans description: List plans call: subscriptions-plans.listplans outputParameters: - type: object mapping: $. - type: mcp namespace: subscriptions-plans-mcp port: 9090 transport: http description: MCP adapter for Braintree Subscriptions API — Plans. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-plans description: List plans hints: readOnly: true destructive: false idempotent: true call: subscriptions-plans.listplans outputParameters: - type: object mapping: $.