Magento Spec MCP
Magento 사양 및 표준 (SSOT 및 MCP 서버)
이 저장소는 Magento 2.4.8-p5 / PHP 8.3 표준에 대한 **중앙 지식 라이브러리(Single Source of Truth - SSOT)**이며, MCP Server Stdio가 내장되어 있습니다.
이 저장소는 프로세스나 작업/기능 관리를 포함하지 않습니다. 이 MCP Server를 모든 Magento 프로젝트에 연결하여 해당 프로젝트의 AI Agent가 기술 표준을 참조할 수 있습니다.
📌 구조
config/— 진실의 원천:constitution.md— PHP 8.3 및 Magento 코어 기술 표준.checklist.md— Review Gate 및 DoD 기준.magento-patterns.md— 설계 맵(Plugin, Event, GraphQL, REST, Admin...).references/— 각 구성 요소에 대한 상세 코드 예제 가이드.glossary.md— Magento 코어 용어.
examples/— 주제별 샘플 코드 청사진(examples/INDEX.md에서 선택).src/index.js— MCP Server (stdio).
Related MCP server: Magector
⚡ MCP Server 연결 구성
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(env)는 선택 사항입니다. 기본적으로 서버는 저장소의 루트 디렉토리를 자동으로 가져옵니다. 저장소를 다른 위치에 배치하고 재정의하려는 경우에만 설정하세요.
🛠️ AI에 제공되는 MCP 도구
도구 | 설명 |
| Constitution, Checklist 및 Pattern index를 빠르게 로드합니다. |
| 이름으로 코드 패턴 세부 정보를 가져옵니다(예: |
|
|
| 완료 전 코드 품질 검사 체크리스트를 로드합니다. |
| 저장소 내의 모든 문서 파일을 읽습니다( |
🔄 AI Agent 권장 프로세스
코드 작성 전:
get_team_standards→ Constitution + Checklist + Pattern index를 로드합니다.구현 시:
get_pattern_reference/search_standards/read_spec_file을 사용하여 패턴을 조회합니다. 메모리에서 추측하지 마십시오.완료 보고 전:
get_review_gate→checklist.md의 §12 Review Gate를 통과합니다.
Available Tools
5 toolsget_pattern_referenceA
Get specific Magento pattern reference doc from config/references/ (e.g. core/plugin-patterns.md, core/declarative-schema.md). Call without path to list all available references.
Inputs: path.
get_review_gateA
Load code review gate checklist and DoD criteria for Magento code before marking done.
Inputs: no named parameters.
get_team_standardsA
Load Magento 2.4.8-p5 / PHP 8.3 team standards, constitution, checklist, and pattern index (Single Source of Truth - SSOT).
Inputs: no named parameters.
read_spec_fileA
Read any markdown documentation file in this spec repository — config/, examples/, README.md, etc.
Inputs: path (required).
search_standardsA
Search for Magento standards, rules, patterns, and example blueprints by keyword (scans config/ and examples/).
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The tools are mostly distinct: get_team_standards, get_review_gate, get_pattern_reference, search_standards, and read_spec_file each target different types of content. However, get_team_standards and get_review_gate could be confused as both relate to standards/checklists, and read_spec_file overlaps with get_pattern_reference since pattern references are spec files.
Tool names follow a consistent verb_noun pattern with 'get_' and 'search_' prefixes, and all use snake_case. The mix of 'get_' (4 tools) and 'search_' (1 tool) is slightly unbalanced but still predictable.
With 5 tools, the server is well-scoped for its purpose of providing Magento documentation access. Each tool serves a distinct retrieval function without unnecessary duplication.
The tool set covers core retrieval operations (load standards, search, read files) but lacks any write or update capabilities. Since the server seems focused on reading spec content, this may be intentional, but the absence of logging or progress-tracking tools is a minor gap.
Maintenance
Related MCP Connectors
Compliance frameworks (SOC 2, ISO 27001, CMMC, NIST, more) delivered to AI agents as MCP tools.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
AI-security knowledge as MCP: standards-mapped tools (OWASP, NIST, MITRE) for AI agents.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
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.716MIT
- AlicenseAqualityBmaintenanceTechnology-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.47494 npm20MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that provides a searchable knowledge base of internal development standards, enabling AI coding agents to consistently reference and comply with them.-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage Magento 2 / Adobe Commerce products, stock, orders, and customers through 12 read/write MCP tools with secure, audited access.AGPL 3.0