SPDX Pairwise Compatibility · Both Directions

MPL-2.0 & AGPL-3.0-only License Compatibility

Directional engineering analysis comparing Mozilla Public License 2.0 and GNU Affero GPL v3.0 only across dependency linking, patent terms, and redistribution obligations.

MPL-2.0 (Dep) → AGPL-3.0-only (Project) COMPATIBLE

Compatible via MPL-2.0 §3.3 Secondary License clause (unless explicitly excluded)

MPL-2.0 automatically permits creating a Larger Work distributed under AGPL-3.0-only via its Secondary License clause (§3.3), unless the upstream repo carries Exhibit B ("Incompatible With Secondary Licenses").

  • Inspect upstream MPL-2.0 file headers for Exhibit B (Incompatible With Secondary Licenses).
  • Keep MPL-2.0 files available under MPL-2.0 as well as the Secondary License.
  • Distribute the combined Larger Work under AGPL-3.0-only.
AGPL-3.0-only (Dep) → MPL-2.0 (Project) INCOMPATIBLE

AGPL-3.0-only network copyleft conflicts with MPL-2.0

AGPL-3.0-only requires full source disclosure even for SaaS/network interaction (§13) and propagates across combined works, which is incompatible with keeping a project under MPL-2.0.

  • Do not link AGPL-3.0-only dependencies into a MPL-2.0 service or package.
  • Isolate as a separate network service or upgrade the entire combined application to AGPL-3.0-only.

Side-by-Side SPDX License Obligations

Attribute MPL-2.0 AGPL-3.0-only
Full Name Mozilla Public License 2.0 GNU Affero GPL v3.0 only
OSI Approved Yes Yes
Copyleft Scope Weak (File-level) Strong + Network (§13)
Patent Terms Explicit grant + retaliation Explicit grant + anti-Tivoization
Key Rule File-level weak copyleft allowing Larger Works with proprietary or permissive code, plus Secondary License compatibility for GPL/LGPL/AGPL. Strong copyleft extending source-code disclosure duties to network/SaaS users interacting with modified versions remotely (§13).

Interactive Compatibility Explorer

Informational engineering matrix based on SPDX / FSF / OSI guidance — not formal legal advice. Consult qualified counsel for commercial license exceptions.
MPL-2.0 (Dependency) → AGPL-3.0-only (Project) COMPATIBLE

Compatible via MPL-2.0 §3.3 Secondary License clause (unless explicitly excluded)

MPL-2.0 automatically permits creating a Larger Work distributed under AGPL-3.0-only via its Secondary License clause (§3.3), unless the upstream repo carries Exhibit B ("Incompatible With Secondary Licenses").

Engineering Obligations & Actions
  • Inspect upstream MPL-2.0 file headers for Exhibit B (Incompatible With Secondary Licenses).
  • Keep MPL-2.0 files available under MPL-2.0 as well as the Secondary License.
  • Distribute the combined Larger Work under AGPL-3.0-only.

Frequently Asked Questions

Can a AGPL-3.0-only project use a MPL-2.0 dependency?

COMPATIBLE: MPL-2.0 automatically permits creating a Larger Work distributed under AGPL-3.0-only via its Secondary License clause (§3.3), unless the upstream repo carries Exhibit B ("Incompatible With Secondary Licenses").

Can a MPL-2.0 project use a AGPL-3.0-only dependency?

INCOMPATIBLE: AGPL-3.0-only requires full source disclosure even for SaaS/network interaction (§13) and propagates across combined works, which is incompatible with keeping a project under MPL-2.0.

Is this matrix formal legal advice?

No. This is an informational engineering compatibility matrix based on SPDX, FSF, and OSI licensing guidance. Consult qualified legal counsel for binding commercial or dual-licensing reviews.