PackagePackagetypeA library you install and call yourself.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

@sap/cds-mtxs

Multitenancy, tenant provisioning and model extensibility for CAP.

Facts

Latestv4.2.0ReleasedLicenceSAP DEVELOPER LICENSE AGREEMENT 3.2 CAP

Where it sits

Lives in
Provides
Schema evolutionCAPSchema evolutioncapabilityGetting a model change into a database that already holds data, in every tenant, without losing any of it. Generating the initial schema and migrating one that already holds data are often treated as the same step.MultitenancyCAPMultitenancycapabilityServing many tenants from one deployment — onboarding, tenant-isolated data, per-tenant schema deployment and the operational tooling around it. It is decided once, before anything is built, and narrows the artifacts in almost every capability downstream: most sharply in [caching](capability:caching) and anything else holding state in process.Tenant extensibilityCAPTenant extensibilitycapabilityLetting a customer extend the model of a running SaaS application with extra fields and entities per tenant, without forking the application, as distinct from extending the application's code for every customer at once.Feature togglesCAPFeature togglescapabilityTurning behaviour on and off per tenant or per user at runtime, without redeploying, and knowing which toggles are live. System-level switches for delivered objects and runtime flags for unfinished features share the name.
Flavors
Node.jsfrom its runtime
Requires
@sap/cds≥ 9@sap/cdsartifactThe peer range, as published.
Designs
Multitenant SaaS Application using CAPMultitenant SaaS Application using CAPreference architecturemultitenancy, feature toggles and extensibility

What it declares

Every artifact

Type
Package
Origin
By SAP
Runtime
Node.js

As a package

Declared for
>=9
Where it runs
does not say
Distributed through
does not say

Connections5

Install

npm add @sap/cds-mtxs

Derived from the package name. No recipe recorded; the README has the configuration.

Learn more2

Readings
  1. Custom Business Logic Extensibility in CAP (CDS-Oyster)Nick Josipovic, DJ Adams, YouTube — SAP Developers playlists
  2. Developing CAP java/node.js mixed mono Multitenant SaaS Applications with Shared Databasexuelong, SAP Community
What changed
  1. v2.0.1

    @sap/instance-manager is no longer supported as a fallback to the built-in Service Manager client, which is the only client used from this release.

    Makes stale:

    Multitenancy setups that keep @sap/instance-manager in the project as the way @sap/cds-mtxs creates tenant containers.

README

quoted from @sap/cds-mtxs@4.1.1, read
@sap/cds-mtxs@4.1.1/README.mdOn npm

@sap/cds-mtxs

Library for multitenancy, feature toggle and extensibility support for the SAP Cloud Application Programming Model (CAP).

excerpt, SAP DEVELOPER LICENSE AGREEMENT 3.2 CAP, read licencethe rest, on npm

History

Latest

v4.2.0

Features 3, Fixes 13

  1. v4.1.1

    Features 2, Fixes 8

  2. v4.1.0

    Features 4, Fixes 4

  3. v4.0.4

    Fixes 1

  4. v4.0.3

    Features 1, Changed 1, Fixes 3

  5. v4.0.2

    Changed 1, Fixes 2

  6. v4.0.1

    Changed 4, Fixes 1

  7. v3.9.6

    Fixes 7

  8. v3.9.5

    Changed 1

  9. v3.9.4

    Features 1, Changed 2, Fixes 3

  10. v3.9.3

    Features 1

  11. v3.9.2

    Fixes 2

  12. v3.9.1

    Fixes 8

  13. v3.9.0

    Features 5

  14. v3.8.1

    Fixes 3

  15. v3.8.0

    Features 1, Fixes 2

  16. v3.7.1

    Changed 1, Fixes 1

  17. v3.7.0

    Features 2, Changed 1, Fixes 4

  18. v3.6.2

    Changed 1, Fixes 4

  19. v3.6.1

    Fixes 1

  20. v3.6.0

    Features 1

  21. v3.5.1

    Fixes 3

  22. v3.5.0

    Features 1, Changed 1, Fixes 4

  23. v3.4.4

    Features 3, Changed 2, Fixes 2

  24. v3.4.3

    Changed 1, Fixes 6

  25. v3.4.2

    Fixes 1

  26. v3.4.1

    Fixes 4

  27. v3.4.0

    Fixes 1

  28. v3.3.1

    Features 1, Fixes 2

  29. v3.3.0

    Features 2, Fixes 1

  30. v3.2.0

    Changed 2, Fixes 2

  31. v3.1.0

    Changed 2, Fixes 2

  32. v3.0.1

    Features 2, Changed 10, Fixes 3

  33. v2.7.5

    Changed 1, Fixes 1

  34. v2.7.4

    Fixes 1

  35. v2.7.3

    Fixes 2

  36. v2.7.2

    Fixes 2

  37. v2.7.1

    Fixes 3

  38. v2.7.0

    Features 3, Fixes 1

  39. v2.6.1

    Fixes 2

  40. v2.6.0

    Features 4, Fixes 1

  41. v2.5.1

    Fixes 2

  42. v2.5.0

    Features 3, Fixes 3

  43. v2.4.2

    Fixes 1

  44. v2.4.1

    Fixes 1

  45. v2.4.0

    Features 3, Fixes 1

  46. v2.3.1

    Features 2, Fixes 4

  47. v2.3.0

    Features 2, Fixes 5

  48. v2.2.0

    Features 1, Changed 4, Fixes 3

  49. v2.1.0

    Fixes 4

  50. v2.0.6

    Fixes 4

  51. v2.0.5

    Fixes 2

  52. v2.0.4

    Features 1, Fixes 4

  53. v2.0.3

    Other 1

  54. v2.0.2

    Changed 1, Fixes 1

  55. v2.0.1

    Removed 1, Features 2, Fixes 3

  56. v2.0.0

    Features 2, Changed 4

  57. v1.18.2

    Changed 1, Fixes 3

  58. v1.18.1

    Changed 3, Fixes 2

  59. v1.18.0

    Features 1, Changed 1, Fixes 2

  60. v1.17.0

    Features 3, Changed 2, Fixes 3

  61. v1.16.0

    Features 1, Changed 2, Fixes 3

  62. v1.15.0

    Features 1, Fixes 2

  63. v1.14.4

    Fixes 1

  64. v1.14.3

    Changed 1, Fixes 3

  65. v1.14.2

    Fixes 3

  66. v1.14.1

    Changed 2, Fixes 3

  67. v1.14.0

    Changed 2

  68. v1.13.4

    Changed 1

  69. v1.13.3

    Fixes 2

  70. v1.13.2

    Fixes 3

  71. v1.13.1

    Features 2, Changed 1

  72. v1.13.0

    Features 1, Changed 1

  73. v1.12.1

    Features 1, Fixes 2

  74. v1.12.0

    Features 6, Changed 2, Fixes 4

  75. v1.11.0

    Features 3, Fixes 4

  76. v1.10.0

    Features 2, Changed 1

  77. v1.9.2

    Changed 1, Fixes 3

  78. v1.9.1

    Fixes 2

  79. v1.9.0

    Features 4

  80. v1.8.4

    Fixes 1

  81. v1.8.3

    Fixes 3

  82. v1.8.2

    Changed 1, Fixes 2

  83. v1.8.1

    Fixes 5

  84. v1.8.0

    Features 1, Changed 1, Fixes 1

  85. v1.7.2

    Fixes 4

  86. v1.7.1

    Fixes 3

  87. v1.7.0

    Changed 3, Fixes 1

  88. v1.6.3

    Fixes 3

  89. v1.6.2

    Fixes 1

  90. v1.6.1

    Fixes 1

  91. v1.6.0

    Features 2, Fixes 1

  92. v1.5.1

    Features 2, Changed 1, Fixes 4

  93. v1.5.0

    Features 4, Fixes 2

  94. v1.4.5

    Other 1

  95. v1.4.4

    Changed 2, Fixes 3

  96. v1.4.3

    Fixes 3

  97. v1.4.2

    Fixes 2

  98. v1.4.1

    Fixes 3

  99. v1.4.0

    Changed 3

  100. v1.3.3

    Features 3, Changed 1, Fixes 3

  101. v1.3.2

    Features 2, Changed 1, Fixes 1

  102. v1.3.1

    Changed 1

  103. v1.3.0

    Features 5, Changed 1, Fixes 1

  104. v1.2.0

    Features 6, Changed 6

  105. v1.1.2

    Features 1

  106. v1.1.1

    Changed 1, Fixes 1

  107. v1.1.0

    Features 1

  108. v1.0.1

    Features 1

  109. v1.0.0

  110. v0.1.0

75,736downloads per week, npm
Weekly downloads for @sap/cds-mtxs26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 75736.20 Apr – 26 Apr: 198,44627 Apr – 3 May: 178,2864 May – 10 May: 197,09811 May – 17 May: 205,26018 May – 24 May: 210,69625 May – 31 May: 194,6581 Jun – 7 Jun: 168,7468 Jun – 14 Jun: 213,28415 Jun – 21 Jun: 210,90422 Jun – 28 Jun: 203,80229 Jun – 5 Jul: 205,4246 Jul – 12 Jul: 196,66513 Jul – 19 Jul: 205,67920 Jul – 26 Jul: 202,68627 Jul – 2 Aug: 194,7803 Aug – 9 Aug: 198,45810 Aug – 16 Aug: 154,54517 Aug – 23 Aug: 176,46024 Aug – 30 Aug: 173,36531 Aug – 6 Sept: 125,6747 Sept – 13 Sept: 104,91614 Sept – 20 Sept: 124,83821 Sept – 27 Sept: 153,28228 Sept – 4 Oct: 159,3855 Oct – 11 Oct: 139,71712 Oct – 18 Oct: 75,736

Others providing16

Schema evolution
  1. @cap-js-community/commonSix CAP features in one package, from replication cache to rate limitsfrom CAP
  2. cds-dbmDelta deployment and migrations for CAP database adaptersfrom CAP
  3. @quadrio/cds-dbmFork of cds-dbm with deploy, load, diff and drop tasksfrom CAP
  4. @sap/cdsCAP Node.js runtimefrom CAP
  5. @sap/hdi-deployNode.js deployer for SAP HANA Deployment Infrastructure containersfrom CAP
Multitenancy
  1. SAP Software-as-a-Service Provisioning serviceRegisters a multitenant application for subaccount subscriptionsfrom BTP/BAIP
  2. com.sap.cds:cds-feature-mtMultitenancy for CAP Java: tenant lifecycle and per-tenant containersfrom CAP
  3. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versionsfrom CAP
  4. @cap-js-community/mtx-toolCLI for operating tenants of multitenant CAP applicationsfrom CAP
  5. @sap/cds-oysterWebAssembly sandbox for tenant-specific extension code in CAPfrom CAP
  6. @sap/cdsCAP Node.js runtimefrom CAP
Tenant extensibility
  1. dynamic-external-cds-joinCAP plugin joining external entities with internal tables at queryfrom CAP
Feature toggles
  1. FeaturetoggleFeature toggle framework for ABAP with a UI5 GUIfrom ABAP
  2. SAP Feature Flags serviceBoolean and string flags read by applications at runtimefrom BTP/BAIP
  3. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versionsfrom CAP
  4. @cap-js-community/feature-toggle-libraryLive-updatable feature toggles for CAP, backed by Redisfrom CAP
  5. abap-feature-toggleFeature toggle for ABAP read via is_active on view ZFEAT_TOGGLEfrom ABAP
  6. cds-feature-toggleFeature-toggle pattern for CAP CDSfrom CAP

Details

Sources4
npm registrydiscovered herechecked
GitHub APIdiscovered here, cap-jschecked
npm registry, @sap/cds-mtxsversion, releases, installschecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
runtimesnode
declared for>=9
latestv4.2.0
first release
releases and cadence112, ~0d median
discovered vianpm registry, GitHub API · cap-js
first seen in the atlas
ecosystem and domaincap, operations-and-runtime
History in the atlas1
  1. First seen.
For your agent