adwise/magento2-mcp-hyva-cms
Composer 安装命令:
composer require adwise/magento2-mcp-hyva-cms
包简介
Hyvä CMS guidance, prompts, and page editing tools for Adwise Magento MCP.
README 文档
README
Adwise_McpHyvaCms
Extension module for Adwise_Mcp that adds Hyvä CMS guidance, prompts, and page editing tools.
Installation
composer require adwise/magento2-mcp-hyva-cms bin/magento module:enable Adwise_McpHyvaCms bin/magento setup:upgrade
Tools
hyva_cms_component_list- list installed Hyvä CMS components, optionally with field definitions.hyva_cms_component_get- fetch one component declaration, fields, variants, children support, and example JSON.hyva_cms_page_list- list CMS pages with Hyvä Liveview status.hyva_cms_page_get- fetch a CMS page and its Hyvä draft/published content.hyva_cms_page_get_raw- fetch stored Hyvä JSON without decoding.hyva_cms_page_validate- validate Hyvä CMS JSON without saving.hyva_cms_page_create- create a Magento CMS page and optionally create/enable its Hyvä CMS Liveview record.hyva_cms_page_update- update draft and/or published Hyvä CMS JSON content and settings.hyva_cms_page_publish/hyva_cms_page_unpublish- explicit publishing controls.hyva_cms_page_preview_url- get frontend/admin URLs for QA.hyva_cms_page_render_check- fetch frontend URL and detect HTTP/template/component errors.hyva_cms_page_clone- clone CMS pages and optionally Hyvä content.
Resources
hyva-cms://guidancehyva-cms://liveview-content-formathyva-cms://components
Prompts
hyva_cms_edit_pagehyva_cms_create_component_json
Recommended edit flow
- Read
hyva-cms://guidanceandhyva-cms://liveview-content-format. - Use
hyva_cms_page_listto find the page, orhyva_cms_page_createwhen the page does not exist. - Use
hyva_cms_page_getwithdecode_json=true. - Make the smallest JSON change possible.
- Use
hyva_cms_page_updatewithdraft_content. - Only pass
publish_draft=truewhen explicitly asked to publish. - Component
childrenarrays contain nested component objects, not UID strings. - Spacer sizes are stored in
rem, not pixels. Convert px to rem first, e.g. 24px =1.5, not24. - Avoid raw HTML/code block components unless explicitly requested; prefer structured Hyvä CMS components.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-03