v0.8.0
Create microCMS APIs from JSON with schema and custom-field validation, dry-run review, and explicit approval for potentially chargeable API creation.
mcms-cli v0.8.0 adds microcms api create, which creates APIs through the microCMS Management API from JSON files.
Released September 6, 2026.
Changes
- Create an API from a JSON file.
- Fill in or override basic API settings with
--name,--endpoint, and--type. - Validate the API schema and custom-field structure before sending the create request.
- Use
--dry-run --jsonto review the request before creating the API. - Send permission for additional charges only when
--allow-additional-chargeis explicitly set. - Update operation risk information, the
api-createtask guide, the command specification, and AI/CI skills.
Install
npm install @mrmtsu/mcms-cli@0.8.0
Create an API
microcms api create \
--file articles-api.json \
--name articles \
--endpoint articles \
--type list \
--dry-run \
--json
After reviewing the dry-run result, remove --dry-run to create the API. Add --allow-additional-charge only when you intend to allow additional charges.
See the mcms-cli overview or open the release on GitHub.