naftiko: 1.0.0-alpha2 info: label: n8n Public API — CommunityPackage description: 'n8n Public API — CommunityPackage. 4 operations. Lead operation: List installed community packages. Self-contained Naftiko capability covering one N8n business surface.' tags: - N8n - CommunityPackage created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: N8N_API_KEY: N8N_API_KEY capability: consumes: - type: http namespace: n8n-communitypackage baseUri: https://app.n8n.cloud/api/v1 description: n8n Public API — CommunityPackage business capability. Self-contained, no shared references. resources: - name: community-packages path: /community-packages operations: - name: listcommunitypackages method: GET description: List installed community packages outputRawFormat: json outputParameters: - name: result type: object value: $. - name: installcommunitypackage method: POST description: Install a community package outputRawFormat: json outputParameters: - name: result type: object value: $. - name: community-packages-name path: /community-packages/{name} operations: - name: uninstallcommunitypackage method: DELETE description: Uninstall a community package outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: updatecommunitypackage method: PATCH description: Update a community package outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true authentication: type: bearer token: '{{env.N8N_API_KEY}}' exposes: - type: rest namespace: n8n-communitypackage-rest port: 8080 description: REST adapter for n8n Public API — CommunityPackage. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/community-packages name: community-packages description: REST surface for community-packages. operations: - method: GET name: listcommunitypackages description: List installed community packages call: n8n-communitypackage.listcommunitypackages outputParameters: - type: object mapping: $. - method: POST name: installcommunitypackage description: Install a community package call: n8n-communitypackage.installcommunitypackage outputParameters: - type: object mapping: $. - path: /v1/community-packages/{name} name: community-packages-name description: REST surface for community-packages-name. operations: - method: DELETE name: uninstallcommunitypackage description: Uninstall a community package call: n8n-communitypackage.uninstallcommunitypackage with: name: rest.name outputParameters: - type: object mapping: $. - method: PATCH name: updatecommunitypackage description: Update a community package call: n8n-communitypackage.updatecommunitypackage with: name: rest.name outputParameters: - type: object mapping: $. - type: mcp namespace: n8n-communitypackage-mcp port: 9090 transport: http description: MCP adapter for n8n Public API — CommunityPackage. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-installed-community-packages description: List installed community packages hints: readOnly: true destructive: false idempotent: true call: n8n-communitypackage.listcommunitypackages outputParameters: - type: object mapping: $. - name: install-community-package description: Install a community package hints: readOnly: false destructive: false idempotent: false call: n8n-communitypackage.installcommunitypackage outputParameters: - type: object mapping: $. - name: uninstall-community-package description: Uninstall a community package hints: readOnly: false destructive: true idempotent: true call: n8n-communitypackage.uninstallcommunitypackage with: name: tools.name outputParameters: - type: object mapping: $. - name: update-community-package description: Update a community package hints: readOnly: false destructive: false idempotent: true call: n8n-communitypackage.updatecommunitypackage with: name: tools.name outputParameters: - type: object mapping: $.