slinedev/Sline-Dev-MCP
If you are the rightful owner of Sline-Dev-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Sline Dev MCP Server is a Model Context Protocol server designed to interact with various SHOPLINE APIs, facilitating seamless integration and communication.
SHOPLINE Dev MCP (Third-Party Development)
⚠️ Important Notice: This is a third-party developer initiative. SHOPLINE has not officially released any MCP services. This project hopes for official support in developing related features.
Third-party MCP server providing community-driven SHOPLINE development resources. The SHOPLINE Dev Model Context Protocol (MCP) server enables AI assistants to access community documentation, template conversion tools, and development guidance for the SHOPLINE ecosystem.
View Demo | Third-Party Service
Features
Core Capabilities
- Sline Template Engine: Official SHOPLINE template language documentation and tools
- Community Documentation: Third-party compiled API references and guides
- Template Validation: Syntax checking for Sline templates and theme files
- Development Guidance: Community-driven best practices and tutorials
Third-Party Implementation Notes
- Built on publicly available SHOPLINE documentation
- Community-maintained with hopes for official support
- Limited by current public API access
- Template engine support is based on official Sline documentation
Quick Start
Prerequisites
- Node.js 18 or higher
- AI client that supports MCP (Claude Desktop, Cursor, etc.)
Installation
Run the MCP server:
npx -y @slinedev/dev-mcp@latest
Basic Configuration
Claude Desktop
Add to your MCP configuration:
{
"mcpServers": {
"shopline-dev-mcp": {
"command": "npx",
"args": ["-y", "@slinedev/dev-mcp@latest"]
}
}
}
Cursor
Add in Cursor settings:
{
"mcpServers": {
"shopline-dev-mcp": {
"command": "npx",
"args": ["-y", "@slinedev/dev-mcp@latest"]
}
}
}
Advanced Configuration
Enable Sline Template Support
For Sline template validation and tools:
{
"mcpServers": {
"shopline-dev-mcp": {
"command": "npx",
"args": ["-y", "@slinedev/dev-mcp@latest"],
"env": {
"SLINE": "true",
"SLINE_VALIDATION_MODE": "partial"
}
}
}
}
Validation Modes:
"full"
: Validate entire theme directories"partial"
: Validate individual template files
Disable Telemetry
{
"mcpServers": {
"shopline-dev-mcp": {
"command": "npx",
"args": ["-y", "@slinedev/dev-mcp@latest"],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}
API Reference
Available MCP Tools
learn_shopline_api
(Third-Party Implementation)
Provides guidance about SHOPLINE APIs based on community documentation.
Note: Results are based on third-party analysis and may not reflect current official APIs.
search_docs_chunks
(Third-Party Implementation)
Search community-compiled documentation for relevant information.
Best for: General research across development topics with community insights.
fetch_full_docs
(Third-Party Implementation)
Retrieve complete documentation pages from community sources.
Use when: You need comprehensive details from available third-party documentation.
validate_theme_codeblocks
Validates Sline template syntax and supporting files (CSS, JS, JSON).
Requirements: SLINE=true
in configuration.
validate_theme
Validates entire theme directories using SHOPLINE's theme validation rules.
Requirements: SLINE=true
and SLINE_VALIDATION_MODE=full
in configuration.
Usage Examples
Sline Template Development
Question: "How do Sline templates differ from Liquid?"
The AI assistant will search community documentation to explain:
- Syntax differences between Sline and Liquid
- Available filters and tags
- Migration considerations
- Best practices for Sline development
Template Validation
Question: "Validate this Sline template syntax"
{% for product in products %}
<div class="product">
<h3>{{ product.title }}</h3>
<p>{{ product.price | money }}</p>
</div>
{% endfor %}
The AI assistant will:
- Check Sline syntax validity
- Verify filter usage
- Identify potential issues
- Suggest improvements
API Development Guidance
Question: "How do I create a product using the Admin API?"
The AI assistant will provide:
- Community-compiled API examples
- Basic GraphQL query structures
- Common patterns and best practices
- Third-party implementation notes
Theme Development
Question: "What's the proper theme folder structure?"
The AI assistant will explain:
- SHOPLINE theme directory layout
- Required files and configurations
- Asset organization
- Development workflow
Technical Specifications
- Protocol: Model Context Protocol (MCP)
- Transport: stdio
- Source: Community-maintained third-party project
- Documentation Format: JSON-based resource management
- Search Capabilities: Semantic search across SHOPLINE docs
- Coverage: Sline template syntax, basic API patterns, theme structure
Resources
Development Resources:
- SHOPLINE Developer Platform
- Sline Template Documentation
- SHOPLINE Admin API Reference
- Theme Development Guide
Community Resources:
Third-party Services:
- MCP Server Host - Developer-maintained service
- AI Development Assistant - Community tools and resources
License
This project is licensed under the MIT License - see the file for details.
Contributing
We welcome contributions from the SHOPLINE developer community:
- Fork the repository
- Create a feature branch
- Add documentation or improvements
- Submit a pull request
Support
For technical support:
- Create an issue on GitHub
- Visit the SHOPLINE Developer Community
- Check the sline.dev documentation
Note: This is a third-party community project. For official SHOPLINE API support, please contact SHOPLINE directly.
- Sline Template Engine - SHOPLINE's template language documentation (Official)
- Community Tools - Developer tools and utilities (Community-driven)
🤝 Contributing
We welcome contributions to improve SHOPLINE Dev MCP! Please see our for details.
Development Setup
- Clone the repository from GitHub
- Install dependencies:
npm install
- Run in development mode:
npm run dev
- Run tests:
npm test
📄 License
This project is licensed under the MIT License - see the file for details.
Support
- 📖 Documentation
- 🐛 Issue Tracker
- 💬 Discussions
- 🌐 SHOPLINE Platform (Official)
🙏 Acknowledgments
- Model Context Protocol - The protocol that makes this possible
- SHOPLINE Platform - The e-commerce platform we're building for
Connect your AI assistant to SHOPLINE's development resources and accelerate your development workflow!
Built with ❤️ by the Third-Party SHOPLINE Developer Community at sline.dev