Magento Spec MCP
Magento 规范与标准(SSOT 和 MCP 服务器)
此仓库是 中央知识库(单一事实来源 - SSOT),涵盖 Magento 2.4.8-p5 / PHP 8.3 标准,并内置了 MCP Server Stdio。
此仓库 不包含流程或任务/功能管理。您可以将此 MCP 服务器连接到任何 Magento 项目,以便该项目的 AI 代理参考技术标准。
📌 结构
config/— 事实来源:constitution.md— PHP 8.3 和 Magento 核心的技术标准。checklist.md— 审查门禁和完成定义(DoD)的标准。magento-patterns.md— 设计地图(插件、事件、GraphQL、REST、Admin 等)。references/— 各组件的详细代码示例指南。glossary.md— Magento 核心术语。
examples/— 按主题分类的代码蓝图(进入examples/INDEX.md选择)。src/index.js— MCP 服务器(stdio)。
Related MCP server: Coding Tools MCP
⚡ MCP 服务器连接配置
Claude Code(建议使用 user 范围,以便在所有项目中可用):
claude mcp add magento-spec -s user -- node /path/to/spec/src/index.jsCursor(~/.cursor/mcp.json)、Antigravity(~/.gemini/antigravity/mcp_config.json)和其他客户端:
{
"mcpServers": {
"magento-spec": {
"command": "node",
"args": ["/path/to/spec/src/index.js"]
}
}
}
SPEC_ROOT(环境变量)为可选 — 默认情况下服务器会自取仓库的根目录。仅当您将仓库放在其他位置并希望覆盖时才设置。
🛠️ 提供给 AI 的 MCP 工具
工具 | 描述 |
| 快速加载宪法、检查清单和模式索引。 |
| 根据名称获取详细代码模式(例如: |
| 在 |
| 加载完成前代码质量检查清单。 |
| 读取仓库中任何文档文件( |
🔄 给 AI 代理的建议流程
在编码前:
get_team_standards→ 加载宪法 + 检查清单 + 模式索引。在实现时: 使用
get_pattern_reference/search_standards/read_spec_file查询模式 — 不要凭记忆猜测。在报告完成前:
get_review_gate→ 通过checklist.md中的第 12 节“审查门禁”。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides AI assistants with comprehensive Magento 2 coding standards, security rules, and theme-specific guidelines to ensure generated code is compliant. It enables real-time code validation, pattern lookup, and security auditing tailored to different Magento frontend stacks.714MIT
- Alicense-qualityBmaintenanceEmpower any MCP-compatible AI Agent(MCP Client) with engineering-grade capabilities to understand, modify, run, and deliver real-world code repositories.749Apache 2.0
- AlicenseAqualityCmaintenanceTechnology-aware MCP server for Magento 2 and Adobe Commerce with intelligent indexing and search, enabling AI assistants to search, navigate, and understand codebases via semantic search and domain-specific pattern detection.4726920MIT
- Flicense-qualityDmaintenanceAutomatically enforces team coding standards in AI-assisted development by providing an MCP server that AI assistants can query for language-specific standards, style guides, and best practices.
Related MCP Connectors
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
One shared context your team's AI tools read & write over MCP. No re-explaining. Free.
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thanhle74/magento-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server