Skip to main content
Glama
thanhle74
by thanhle74

Magento Spec & Standards (SSOT & MCP Server)

Этот репозиторий является Центральной библиотекой знаний (Single Source of Truth - SSOT) по стандартам Magento 2.4.8-p5 / PHP 8.3, со встроенным MCP Server Stdio.

Этот репозиторий не содержит процессов или управления задачами/функциями. Вы можете подключить этот MCP Server к любому проекту Magento, чтобы AI Agent в этом проекте мог обращаться к техническим стандартам.


📌 Структура

  • config/ — Источник истины:

    • constitution.md — Технические стандарты PHP 8.3 и Magento core.

    • checklist.md — Критерии Review Gate & DoD.

    • magento-patterns.md — Карта проектирования (Plugin, Event, GraphQL, REST, Admin...).

    • references/ — Подробные примеры кода для каждого компонента.

    • glossary.md — Терминология Magento core.

  • examples/ — Примеры кода по темам (см. examples/INDEX.md для выбора).

  • src/index.js — MCP Server (stdio).


Related MCP server: Coding Tools MCP

⚡ Настройка подключения MCP Server

Claude Code (рекомендуется область user для доступности во всех проектах):

claude mcp add magento-spec -s user -- node /path/to/spec/src/index.js

Cursor (~/.cursor/mcp.json), Antigravity (~/.gemini/antigravity/mcp_config.json) и другие клиенты:

{
  "mcpServers": {
    "magento-spec": {
      "command": "node",
      "args": ["/path/to/spec/src/index.js"]
    }
  }
}

SPEC_ROOT (env) является опциональным — по умолчанию сервер автоматически определяет корневую папку репозитория. Устанавливайте только если репозиторий находится в другом месте и вы хотите переопределить.


🛠️ MCP Tools, предоставляемые AI

Tool

Описание

get_team_standards

Быстрая загрузка Constitution, Checklist и Pattern index.

get_pattern_reference

Получение деталей шаблона кода по имени (например: core/plugin-patterns.md). Если путь не передан → список всех references.

search_standards

Поиск стандартов/правил/blueprint по ключевым словам в config/ и examples/.

get_review_gate

Загрузка чеклиста проверки качества кода перед завершением.

read_spec_file

Чтение любого файла документации в репозитории (config/, examples/, ...).


🔄 Рекомендуемый процесс для AI Agent

  1. Перед кодом: get_team_standards → загрузка Constitution + Checklist + Pattern index.

  2. При реализации: get_pattern_reference / search_standards / read_spec_file для поиска шаблона — не угадывать из памяти.

  3. Перед сообщением о завершении: get_review_gate → раздел §12 Review Gate в checklist.md.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    Provides 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.
    7
    14
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Empower any MCP-compatible AI Agent(MCP Client) with engineering-grade capabilities to understand, modify, run, and deliver real-world code repositories.
    749
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Technology-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.
    47
    269
    20
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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