
Magento 2 和 Mage-OS 的 AI 辅助开发工具包。一个 MCP(模型上下文协议)服务器,使 AI 编码代理能够通过...... 与 Magento 和 Mage-OS 安装交互。
概览
一个MCP服务器,为AI编码代理提供了对Magento 2的运行时可视化。代理读取源文件时无法掌握全貌——DI偏好、插件链、EAV属性和事件观察器在运行时跨越数十个模块解析。Bricklayer暴露了运行时状态,使代理能够做出明智的架构决策,而非猜测。 Bricklayer 是一个 Composer 库,实现了 Magento 2 的 MCP 服务器。启动后,它展示了 84 个 AI 代理可以调用的工具: - — 查看所有已安装模块的实际插件链、DI解析、偏好设置和事件观察器 - 检查运行时存在的数据库模式、EAV属性和系统配置 - 带完整上下文诊断错误(例外 + 栈跟踪 + DI + 插件链 + 修复建议) - 分析索引、缓存、cron和查询模式的性能 - 通过Magento服务层管理产品、订单和客户 - 生成符合Magento标准的模块支架......
概述(AI 翻译)
一个MCP服务器,为AI编码代理提供了对Magento 2的运行时可视化。代理读取源文件时无法掌握全貌——DI偏好、插件链、EAV属性和事件观察器在运行时跨越数十个模块解析。Bricklayer暴露了运行时状态,使代理能够做出明智的架构决策,而非猜测。
目录
- 什么是砌砖工?
- 代理如何使用Bricklayer(砖匠)
- 要求
- 安装
- 快速入门
- 支持的AI代理
- 可用命令
- 安装
- 初始化
- MCP
- 检查
- 更新
- 验证
- Docker / 容器环境
- 自动容器检测
- MCP 工具概述
- 应用与模块工具
- 数据库工具
- EAV 工具
- 配置与DI工具
- 路由与API工具
- GraphQL 工具
- 查看工具
- 消息队列工具
- 目录工具
- 订单工具
- 客户工具
- 开发工具
- 测井工具
- 诊断工具
- 代码跑者工具
- 代码生成工具
- 开发上下文工具
- 上下文感知提示
- 页码
- MCP资源
- 指南资源
- 编码标准资源
- 技能资源
- 模板与参考资源
- 配置
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Magento Bricklayer
An MCP server that gives AI coding agents runtime visibility into Magento 2. Agents reading source files miss the full picture — DI preferences, plugin chains, EAV attributes, and event observers are resolved at runtime across dozens of modules. Bricklayer exposes this runtime state so agents make informed architectural decisions instead of guessing.
Table of Contents
- What is Bricklayer?
- How Agents Use Bricklayer
- Requirements
- Installation
- Quick Start
- Supported AI Agents
- Available Commands
- Docker / Container Environments
- MCP Tools Overview
- Application & Module Tools
- Database Tools
- EAV Tools
- Configuration & DI Tools
- Routing & API Tools
- GraphQL Tools
- View Tools
- Message Queue Tools
- Catalog Tools
- Order Tools
- Customer Tools
- Development Tools
- Log Tools
- Diagnostic Tools
- Code Runner Tool
- Code Generation Tools
- Development Context Tool
- Context-Aware Hints
- Pagination
- MCP Resources
- Configuration
- Architecture
- Project-Local Overrides
- Extending Bricklayer
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"magento-bricklayer": {
"command": "vendor/inchoo/magento-bricklayer/bin/bricklayer-mcp-docker",
"args": []
}
}
}