Shoplazza MCP Tool
Provides access to documentation for Shoplazza LessJS components, extracting component properties, methods, events, and example code in a structured format.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Shoplazza MCP Toolget the documentation for the spz-button component"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shoplazza MCP 工具
这是一个用于Cursor的MCP (Model Context Protocol) 工具,可以获取Shoplazza LessJS组件的文档信息。
功能
获取LessJS组件的完整文档
提取组件的属性、方法、事件和示例代码
提供结构化的JSON格式输出
Related MCP server: Zendesign MCP Server
安装和配置
1. 构建项目
npm install
npm run build2. 在Cursor中配置MCP
在Cursor中,你需要配置MCP服务器。有两种方式:
方式一:通过Cursor设置界面
打开Cursor
进入设置 (Settings)
搜索 "MCP" 或 "Model Context Protocol"
添加新的MCP服务器配置:
{
"command": "node",
"args": ["/path/to/your/shoplazza-mcp/build/index.js"],
"env": {}
}方式二:通过配置文件
在你的Cursor配置目录中创建或编辑MCP配置文件:
macOS: ~/Library/Application Support/Cursor/User/globalStorage/mcp-config.json
Windows: %APPDATA%\Cursor\User\globalStorage\mcp-config.json
Linux: ~/.config/Cursor/User/globalStorage/mcp-config.json
{
"mcpServers": {
"shoplazza-mcp": {
"command": "node",
"args": ["/path/to/your/shoplazza-mcp/build/index.js"],
"env": {}
}
}
}3. 重启Cursor
配置完成后,重启Cursor以使MCP工具生效。
使用方法
配置完成后,你可以在Cursor的对话中直接使用以下工具:
get-lessjs
获取LessJS组件的文档信息。
参数:
componentName(string): LessJS组件名称
使用示例:
请帮我获取spz-accordion组件的文档信息返回数据:
组件名称和描述
使用场景
属性列表(名称、类型、默认值、是否必需)
方法列表(名称、参数)
事件列表
代码示例
支持的组件
目前支持所有在 https://lessjs.shoplazza.com/latest/components/ 上可用的组件,包括但不限于:
故障排除
工具未响应: 确保路径正确且文件存在
权限错误: 确保build/index.js有执行权限
网络错误: 检查网络连接和API地址是否可访问
开发
项目结构
shoplazza-mcp/
├── src/
│ ├── index.ts # MCP服务器主文件
│ └── extractor.ts # HTML解析和数据提取
├── build/ # 编译后的文件
├── package.json
└── README.md添加新功能
在
src/index.ts中添加新的工具定义在
src/extractor.ts中添加相应的数据提取逻辑重新构建项目:
npm run build重启Cursor
Available Tools
1 toolget-lessjsD
| Name | Required | Description | Default |
|---|---|---|---|
| componentName | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Tool has no description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Tool has no description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool has no description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Tool has no description.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool stands alone with no other tools to confuse it with.
A single tool inherently has perfect naming consistency, as there are no other tool names to compare it against. The naming pattern cannot be inconsistent when only one exists.
One tool is too few for a server named 'Shoplazza MCP Tool', which suggests an e-commerce or store management domain. A single tool cannot provide meaningful coverage for such a broad purpose, making it severely under-scoped.
The server is severely incomplete for its implied e-commerce domain. With only a 'get-lessjs' tool (which lacks a description but seems unrelated to core store operations), there are no tools for managing products, orders, customers, or other essential store functions, leaving major gaps.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
The official Svelte MCP server providing docs and autofixing tools for Svelte development
MCP server for accessing curated awesome list documentation
MCP server for innovationlab documentation, generated by doc2mcp.
MCP server for developer documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.7MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that allows Cursor users to fetch real-time information about Zendesign design system components.MIT
- AlicenseAqualityAmaintenanceMCP server that provides access to Livewire Flux components and layouts documentation, enabling AI assistants to fetch and search through documentation on demand.41029MIT
- FlicenseNot gradedqualityDmaintenanceA TypeScript MCP server for querying React component documentation, searching articles, and managing development rules, designed to work with Cursor or other MCP clients.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Lingzhhiiii/shoplazza-mcps'
If you have feedback or need assistance with the MCP directory API, please join our Discord server