forked from bearded-giant/Recharge-Storefront-API-MCP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (42 loc) · 2.18 KB
/
.env.example
File metadata and controls
49 lines (42 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Recharge Storefront API Configuration
# Store Configuration
# Your Shopify store domain (required - must end with .myshopify.com)
# Example: your-shop.myshopify.com (without https://)
# IMPORTANT: Use exact format - no trailing slashes, no protocol prefix
# Correct: your-shop.myshopify.com
# Incorrect: https://your-shop.myshopify.com/ or your-shop.myshopify.com/
RECHARGE_STOREFRONT_DOMAIN=your-shop.myshopify.com
# Authentication
# ONLY TOKEN YOU NEED: Admin API Token
# Recharge Admin API Token (NOT Storefront API token)
# Used for: customer lookup by email, creating customer sessions
# Get this from your Recharge admin panel under API tokens
# IMPORTANT: Must be Admin API token, NOT customer session token (st_...)
# Admin tokens typically start with your store prefix or "sk_"
# This token will auto-create customer session tokens (st_...) as needed
RECHARGE_ADMIN_TOKEN=your_admin_api_token_here
# Optional: Recharge API URL (defaults to production)
# IMPORTANT: Only specify this if you want to use a non-production environment
# If invalid URL is specified, server will fail to start (no fallback to production)
# SECURITY: Must use HTTPS protocol for security
# Production: https://api.rechargeapps.com (default)
# Staging: https://api.stage.rechargeapps.com
# Sandbox: https://api.sandbox.rechargeapps.com
# Development: https://api.dev.rechargeapps.com
# Custom/Test: Any HTTPS URL for testing purposes
# Leave commented out to use production API
#RECHARGE_API_URL=https://api.stage.rechargeapps.com
# Optional: Default customer session token (if you have one)
# Customer session tokens start with "st_" and are customer-specific
# Most users won't need this - the system creates them automatically
RECHARGE_SESSION_TOKEN=
# Customer session tokens (st_...) are AUTO-GENERATED - no manual configuration needed
# The system creates customer session tokens automatically using your Admin API token
# MCP Server Configuration
# Server identification (optional - for logging and debugging)
MCP_SERVER_NAME=recharge-storefront-api-mcp
MCP_SERVER_VERSION=1.0.0
# Development Configuration
# Enable debug logging (optional)
# Set to 'true' for detailed logging, 'false' or omit for production
DEBUG=false