Skip to main content
Glama
sellersmith

TailorKit MCP

Official
by sellersmith

TailorKit MCP

TailorKit MCP是一个强大的电商产品定制框架,帮助商家打造交互式个性化体验。它具备模板管理、层级控制和 Shopify 集成功能,能够以最小的开发工作量提供可定制的产品。

TailorKit MCP

概述

该 MCP(模型上下文协议)服务器将 Claude 和其他 AI 助手连接到 TailorKit API,使其能够管理电商平台的可定制产品模板。借助 TailorKit MCP,AI 助手可以直接通过自然语言对话创建、检索和操作产品模板及其层级。

Related MCP server: Terminal.shop MCP Server

工具

  1. get_list_templates

    • 获取带有商店域名的模板列表

    • 必需输入:

      • shopDomain (字符串):以 .myshopify.com 结尾的商店域名

    • 可选输入:

      • limit (数字,默认值:5):返回的最大模板数量

      • page (数字,默认值:1):分页的页码

      • sort (字符串,默认值:“updatedAt__desc”):排序顺序

      • filter (字符串):模板搜索的过滤字符串

    • 返回:模板及其详细信息的列表

  2. get_detail_template

    • 获取有关特定模板的详细信息

    • 必需输入:

      • _id (字符串):模板的ID

      • shopDomain (字符串):以 .myshopify.com 结尾的商店域名

    • 返回:包括层和设置在内的详细模板信息

  3. create_template

    • 为商店创建新模板

    • 必需输入:

      • shopDomain (字符串):以 .myshopify.com 结尾的商店域名

      • name (字符串,默认值:“新模板”):模板的名称

      • dimension (对象):宽度、高度、测量单位和分辨率

    • 可选输入:

      • _id (字符串,格式:uuid):模板的自定义 ID

      • layers (数组):初始层配置

    • 返回:模板创建确认,带有模板 ID

  4. get_list_layers_of_template

    • 获取特定模板的所有层

    • 必需输入:

      • _id (字符串):模板的ID

      • shopDomain (字符串):以 .myshopify.com 结尾的商店域名

    • 返回:模板中所有层及其属性的列表

设置

与 Claude Desktop 一起使用

将以下内容添加到您的claude_desktop_config.json中:

{ "mcpServers": { "tailorkit-mcp": { "command": "node", "args": ["path/to/your/dist/index.js"], "env": { "HOST": "https://your-api-host.com", "ACCESS_TOKEN": "your-access-token" } } } }

环境变量

  1. HOST :必需。您的 TailorKit API 的主机 URL。

  2. ACCESS_TOKEN :必需。用于身份验证的 TailorKit API 访问令牌。

访问令牌

转到Settings -> Preferences -> Generate access token

TailorKit 访问令牌

安装

来自 npm

npm install @sellersmith/tailorkit-mcp

来自 GitHub

git clone https://github.com/sellersmith/tailorkit-mcp.git cd tailorkit-mcp npm install npm run build

发展

# Install dependencies npm install # Build the project npm run build # Run the server locally node dist/index.js

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

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/sellersmith/tailorkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server