Merged
Size
L
Change Breakdown
Feature90%
Docs10%
#27637feat(core): Enable community package management via Public API

Community packages now manageable via Public API

Community packages now manageable via Public API

The n8n Public API now exposes four endpoints for managing community packages — install, list, update, and uninstall — with granular API key scopes for each operation.

n8n instances gain programmatic control over community nodes and packages. The Public API now includes dedicated endpoints for installing, listing, updating, and uninstalling community packages — work previously confined to the UI or command line.

Each operation maps to a distinct API key scope: communityPackage:install, communityPackage:list, communityPackage:update, and communityPackage:uninstall. This granularity lets administrators scope access precisely — an integration might list available packages without gaining install or uninstall permissions.

The endpoints delegate to the existing CommunityPackagesLifecycleService, which already handles npm operations, validation, and error management. A new mapper layer transforms the internal data structures into a clean API response format including package name, installed version, author details, included nodes, and update availability.

Community package management joins a growing list of programmable operations in the n8n API, enabling automation scenarios like batch node updates across multiple instances or scripted deployment pipelines that provision community nodes on demand.

This capability lands in the n8n CLI package, with OpenAPI specifications generated for documentation.

View Original GitHub Description

Summary

  • Adds four Public API endpoints for community package management: POST (install), GET (list), PATCH (update), DELETE (uninstall)
  • Permissions are checked via API key scopes communityPackage:{install,list,update,uninstall}`
  • Added OpenAPI specs for all operations
  • Delegates to shared community package service

https://www.loom.com/share/223fcc44f6e9433eafe2d3829c48d9eb

Related Linear ticket

https://linear.app/n8n/issue/LIGO-391

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)
© 2026 · via Gitpulse