File size: 1,188 Bytes
aee78d5
 
 
c0cfae9
 
aee78d5
 
c0cfae9
aee78d5
 
 
 
c0cfae9
aee78d5
 
c0cfae9
 
aee78d5
c0cfae9
aee78d5
 
 
 
 
 
 
 
 
c0cfae9
 
 
 
 
 
 
 
 
 
 
 
 
aee78d5
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
# Notion configuration
NOTION_SECRET=your_notion_integration_token_here
NOTION_INVENTORY_DB_ID=...
# Optional test database overrides (preferred for demos/tests)
NOTION_INVENTORY_DB_ID_TEST=...
# Optional shopping features
NOTION_SHOPPING_DB_ID=...
NOTION_SHOPPING_DB_ID_TEST=...

# Environment
ENVIRONMENT=development
LOG_LEVEL=INFO
MCP_LOG_LEVEL=INFO

# Remote MCP (auth proxy)
# Use one of the following. You can set multiple via MCP_AUTH_TOKENS (comma-separated).
# Generate a strong token (e.g. python -c "import secrets; print('fw-2025-08-prod-v1.'+secrets.token_urlsafe(48))")
MCP_AUTH_TOKEN=change_me_strong_token
# MCP_AUTH_TOKENS=token1,token2

# Proxy/public port
HOST=0.0.0.0
PORT=7860

# Upstream FastMCP (internal)
UPSTREAM_HOST=127.0.0.1
UPSTREAM_PORT=7870

# Agent MCP client (optional)
# Endpoint the agent will call when USE_MCP_TOOLS=1
MCP_ENDPOINT=http://127.0.0.1:7860/mcp/
# Toggle to have the agent use MCP-backed tools instead of local tools (0/1)
USE_MCP_TOOLS=0

# LLMs / Observability
# Required for agent features that use OpenAI via LangChain
OPENAI_API_KEY=...
# Optional: LangSmith tracing
LANGCHAIN_API_KEY=...
LANGCHAIN_PROJECT=FoodWise-Inventory-Agent