How simorgh1/shopify_tutorials works
This tutorial demonstrates fetching Shopify products through either direct GraphQL calls or a Shopify MCP server. Users first configure credentials and generate an access token, then run one of the fetchers to retrieve and display product data. The direct Python implementation and MCP client are excerpted; shell-script behavior and environment setup are represented only as described in the README, so their internal steps are not inferred.
Main entry points: get_products.sh Shell fetcher · direct_fetch.py Python fetcher · mcp_fetch_products.py MCP client · create_token.sh Token generator
Components 8
Credentials setup
- Token generator
create_token.sh - Environment helper
init_env.sh
Direct API
- Shell fetcher
get_products.sh - Python fetcher
direct_fetch.py
MCP approach
- MCP client
mcp_fetch_products.py
Other components
- Developer
- Shopify Admin API
- Shopify MCP server
Connections 9
- Developer → Token generator: generates token
Readme.md - Developer → Environment helper: sets environment
Readme.md - Developer → Shell fetcher: runs fetch
Readme.md - Developer → Python fetcher: runs fetch
Readme.md - Developer → MCP client: runs fetch
Readme.md - Shell fetcher → Shopify Admin API: queries products
Readme.md - Python fetcher → Shopify Admin API: posts GraphQL
direct_fetch.py - MCP client → Shopify MCP server: calls tool
mcp_fetch_products.py - Shopify MCP server → Shopify Admin API: fetches products
Readme.md