MM

magebitcom/magento2-mcp-module

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

24 stars 5 forks 质量 65 趋势 24MIT

Magento2 可扩展 MCP 模块——通过任何兼容 MCP 的 AI 代理与你的商店交互

概览

Magento 2 可扩展模型上下文协议服务器。将您的门店连接到任何兼容 MCP 的 AI 代理——读取并变异客户、产品、CMS 或销售数据,获取报表,管理配置等。 基础模块包含传输、认证、ACL、审计日志和工具注册表,以及一小部分用于检查和刷新存储的系统工具。领域专属功能包含在下方列出的可选子模块中——你也可以自行编写。 - 一个带有承载令牌和OAuth 2.1认证的POST /mcp JSON-RPC端点 - 每个工具管理员角色的ACL和两层写杀开关 - 一个带有可配置保留的PII编辑审计日志 - 每个(管理员,工具)速率限制 - 一个为主要AI客户端设定合理默认的起源允许列表 - 用于认证身份的核心工具、缓存类型、索引器、存储视图、安装模块(system.module.

概述(AI 翻译)

Magento 2 可扩展模型上下文协议服务器。将您的门店连接到任何兼容 MCP 的 AI 代理——读取并变异客户、产品、CMS 或销售数据,获取报表,管理配置等。

基础模块包含传输、认证、ACL、审计日志和工具注册表,以及一小部分用于检查和刷新存储的系统工具。领域专属功能包含在下方列出的可选子模块中——你也可以自行编写。

目录

  • 基础模块给你的
  • 快速入门
  • 安装
  • 子模
  • 序模块 — Magebit_McpOrderTools
  • 目录模块 — Magebit_McpCatalogTools
  • 客户模块 — Magebit_McpCustomerTools
  • 库存模块 — Magebit_McpInventoryTools
  • CMS模块 — Magebit_McpCmsTools
  • 市场营销模块 — Magebit_McpMarketingTools
  • 税收与货币模块 — Magebit_McpTaxTools
  • 报告模块 — Magebit_McpReportTools
  • 谷歌分析模块 — Magebit_McpGoogleAnalyticsTools
  • 数据库模块 — Magebit_McpDbTools
  • 设置
  • 管理工具
  • 配置编写
  • 连接人工智能代理
  • 持有人令牌
  • OAuth 2.1
  • 安全
  • 延伸
  • 贡献

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Magento 2 MCP module

Extensible Model Context Protocol server for Magento 2. Connect your store to any MCP-compatible AI agent — read and mutate customer, product, CMS or sales data, fetch reports, manage configuration, and more.

The base module ships the transport, authentication, ACL, audit log, and tool registry, plus a small set of system tools for inspecting and refreshing the store. Domain-specific functionality lives in optional sub-modules listed below — you can also write your own.

Contents

What the base module gives you

  • A POST /mcp JSON-RPC endpoint with bearer-token and OAuth 2.1 authentication
  • Per-tool admin-role ACL and a two-layer write kill-switch
  • A PII-redacting audit log with configurable retention
  • Per-(admin, tool) rate limiting
  • An origin allowlist with sensible defaults for major AI clients
  • Core tools for the authenticated identity, cache types, indexers, store views, installed modules (system.module.list, for checking what the store actually supports before picking a tool), system configuration values and admin notifications
  • Configuration writing (system.config.set), off by default and allowlist-only — see Configuration writing
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →