README
🚀 Adobe Commerce 开发 MCP 服务器
本项目搭建了一个可与 Adobe Commerce 交互的 Model Context Protocol (MCP) 服务器。该协议为各类工具提供支持,使其能够与 Adobe Commerce GraphQL API 进行交互。
🚀 快速开始
此项目实现了一个与 Adobe Commerce 交互的 MCP 服务器,支持多种工具与 Adobe Commerce GraphQL API 进行交互。
📦 安装指南
使用 npx 运行 Adobe Commerce MCP 服务器,请运行以下命令:
npx -y @rafaelcg/adobe-commerce-dev-mcp@latest
📚 详细文档
配置指南(适用于 Cursor 或 Claude Desktop)
在你的配置文件中添加以下内容。如需更多详细信息,请参阅 Cursor MCP 文档 或 Claude Desktop MCP 指南。
{
"mcpServers": {
"adobe-commerce-dev-mcp": {
"command": "npx",
"args": ["-y", "@rafaelcg/adobe-commerce-dev-mcp@latest"]
}
}
}
⚠️ 重要提示
在 Windows 系统上,可能需要使用以下替代配置:
{
"mcpServers": {
"adobe-commerce-dev-mcp": {
"command": "cmd",
"args": ["/k", "npx", "-y", "@rafaelcg/adobe-commerce-dev-mcp@latest"]
}
}
}
提供的工具
此 MCP 服务器提供以下工具: | 工具名称 | 描述 | | ----------------------- | ---------------------------------------------- | | introspect_admin_schema | 访问和搜索 Adobe Commerce GraphQL 模式 |
可用提示
此 MCP 服务器提供以下提示: | 提示名称 | 描述 | | --------------------- | ----------------------------------------------------------- | | adobe_commerce_graphql | 帮助编写 Adobe Commerce API 的 GraphQL 操作 |
开发指南
该服务器使用 MCP SDK 构建,并与 Adobe Commerce 进行通信。开发步骤如下:
npm install- 修改源文件
- 运行
npm run build以编译 - 运行
npm run test执行测试 - 添加一个运行以下命令的 MCP 服务器:
node <项目绝对路径>/dist/index.js
📄 许可证
本项目采用 ISC 许可证。
微信扫一扫