- Home
- MCP servers
- Shoplazza
Shoplazza
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"lingzhhiiii-shoplazza-mcps": {
"command": "node",
"args": [
"/path/to/your/shoplazza-mcp/build/index.js"
]
}
}
}You can run a Lightweight MCP server for Shoplazza’s LessJS components inside Cursor. This tool fetches complete documentation for LessJS components, including properties, methods, events, and practical code examples, and outputs them in structured JSON for easy consumption by your workflows.
How to use
After you have the MCP server running, you interact with it from Cursor through the built-in MCP tools. The primary capability here is to retrieve the documentation for any LessJS component by name. You can request information such as the component description, usage scenarios, a full list of properties (name, type, default, required), methods (names and parameters), events, and representative code samples. The tool returns a structured JSON payload suitable for further processing or display in your UI.
How to install
Prerequisites: Node.js must be available on your system. Ensure you have a Cursor setup that can host an MCP server.
# 1) Install dependencies
npm install
# 2) Build the MCP server
npm run build
Configuration and start of the MCP server within Cursor
You configure a local MCP server so Cursor can start and connect to it. The following examples show how to run the server via a local node process and how to declare the configuration for Cursor.
{
"mcpServers": {
"shoplazza_mcp": {
"command": "node",
"args": ["/path/to/your/shoplazza-mcp/build/index.js"],
"env": {}
}
}
}
Troubleshooting
If the tool does not respond, verify that the path to the built index is correct and the file exists. Ensure the build output is present and that Cursor can execute the node process. If you encounter permission issues, confirm the index.js file has execute permissions. For network or runtime issues, check that the Cursor instance can access the local MCP server and that the command line for the server is valid.
Development notes
The MCP server is structured to expose a single primary tool to extract documentation. If you want to extend capabilities, add new tool definitions in the server entry point and implement corresponding extraction logic in the parser module. Rebuild and restart Cursor after any change to runtime code.
Other configuration options
You can also configure MCP via a configuration file in your Cursor setup. The same server can be registered there with its command and arguments, allowing Cursor to restart and connect automatically when it launches.
Available tools
get-lessjs
Fetches the full documentation for a specified LessJS component, including component description, usage scenarios, properties, methods, events, and example code in a structured JSON format.