A
securityF
licenseA
qualityA Model Context Protocol server implementation for interacting with Salesforce through its REST API.
Last updated -
4
10
TypeScript
这是一个连接到 Magento 2 REST API 的模型上下文协议 (MCP) 服务器,允许 Claude 和其他 MCP 客户端从 Magento 商店查询产品信息。
which node
mcpServers
中添加以下代码片段:/path/to/your/node
替换为您在步骤 1 中检查的路径/path/to/mcp-server.js
替换为您克隆此 repo 的路径该服务器公开以下工具:
get_product_by_sku
:通过 SKU 获取产品的详细信息search_products
:使用 Magento 搜索条件搜索产品get_product_categories
:按 SKU 获取特定产品的类别get_related_products
:按 SKU 获取与特定产品相关的产品get_product_stock
:按 SKU 获取产品的库存信息get_product_attributes
:按 SKU 获取产品的所有属性get_product_by_id
:通过产品 ID 获取产品的详细信息advanced_product_search
:使用高级过滤选项搜索产品update_product_attribute
:按 SKU 更新产品的特定属性get_customer_ordered_products_by_email
:通过电子邮件地址获取客户订购的所有产品get_order_count
:获取给定日期范围内的订单数量get_revenue
:获取给定日期范围内的总收入get_revenue_by_country
:获取给定日期范围内按国家/地区过滤的收入get_product_sales
:获取给定日期范围内销售产品数量的统计信息一旦 MCP 服务器连接到 Claude Desktop,您就可以提出以下问题:
出于开发目的,服务器已配置为绕过 SSL 证书验证。在生产环境中,您应该使用正确的 SSL 证书,并从callMagentoApi
函数中移除httpsAgent
配置。
要添加新工具,请遵循现有代码中的模式。每个工具的定义如下:
国际学习中心
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
连接到 Magento 2 REST API 的模型上下文协议服务器,允许 Claude 和其他 MCP 客户端从 Magento 商店查询产品信息、客户数据和订单统计信息。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/boldcommerce/magento2-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server