Skip to main content
Glama
config.py1.01 kB
"""Configuration for Shopify Liquid MCP Server.""" import os from pathlib import Path # Database path - can be overridden with SHOPIFY_LIQUID_DB_PATH env var DEFAULT_DB_PATH = Path.home() / ".mcp" / "shopify-liquid-docs" / "database.db" DB_PATH = Path(os.getenv("SHOPIFY_LIQUID_DB_PATH", DEFAULT_DB_PATH)) # Documentation source path - where the markdown files are located # First try package-relative path (for installed package) DOCS_PATH = Path(__file__).parent.parent / "docs-source" # If not found, try parent directory (for development) if not DOCS_PATH.exists(): DOCS_PATH = Path(__file__).parent.parent.parent / "shopify-liquid-docs" # If still not found, try environment variable if not DOCS_PATH.exists(): env_docs_path = os.getenv("SHOPIFY_LIQUID_DOCS_PATH") if env_docs_path: DOCS_PATH = Path(env_docs_path) # Ensure database directory exists DB_PATH.parent.mkdir(parents=True, exist_ok=True) # FTS5 table name FTS_TABLE = "liquid_docs_fts" DOCS_TABLE = "liquid_docs"

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/florinel-chis/shopify-liquid-mcp'

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