llms.txt
You can access the documentation in a structured, AI-friendly format at/llms.txt. This file provides a comprehensive overview of the platform and API in a format optimized for large language models.
Markdown and text URLs
Append.md or .txt to any documentation URL to retrieve the page content in plain text format. This makes it easy to programmatically access and process the documentation.
- API reference pages
- Platform guides
- Integration documentation
MCP servers
Layers provides two MCP servers that let AI assistants interact directly with your stores:- Layers MCP Server — Full store management with 37 tools for catalog, merchandising, search tuning, metrics, and more. Authenticates via OAuth.
- Storefront MCP Server — Read-only storefront operations for search, browse, and recommendations. Authenticates with your storefront API token.
Documentation MCP
You can also access Layers documentation through MCP athttps://docs.uselayers.com/mcp. This endpoint provides structured access to the docs for AI tools that need to look up feature details or API reference information.
Use cases
These AI enablement features support various workflows:- Store management: Use AI assistants to create merchandising rules, tune search behavior, build sort orders, and analyze metrics through MCP
- Storefront integration: Build AI-powered product discovery into customer-facing experiences
- Documentation search: AI agents can quickly find relevant information across the docs
- Code generation: LLMs can reference accurate API documentation when generating integration code
- Development tools: Integrate Layers documentation into your IDE or development workflow
Next steps
- Connect MCP servers to manage stores and query storefronts through AI assistants
- Explore the API reference to understand available endpoints
- Learn about Shopify integration for e-commerce use cases
- Review LayersQL for advanced querying capabilities