Spaces:
Running
Running
# 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 | |