npm · Capability
npm Public API — Trusted Publishers
npm Public API — Trusted Publishers. 3 operations. Lead operation: List trusted publishers for a package. Self-contained Naftiko capability covering one Npm business surface.
What You Can Do
GET
Listtrustedpublishers
— List trusted publishers for a package
/v1//npm/v1/security/trusted-publishers/packages/{package}
POST
Addtrustedpublisher
— Add a trusted publisher for a package
/v1//npm/v1/security/trusted-publishers/packages/{package}
DELETE
Removetrustedpublisher
— Remove a trusted publisher from a package
/v1//npm/v1/security/trusted-publishers/packages/{package}/{publisher-id}
MCP Tools
list-trusted-publishers-package
List trusted publishers for a package
read-only
idempotent
add-trusted-publisher-package
Add a trusted publisher for a package
remove-trusted-publisher-package
Remove a trusted publisher from a package
idempotent