Configuration
Environment variables and integration setup for Edward.
Required
Everything else is optional. Edward works out of the box with just the API key — additional variables unlock integrations.
Database
| Variable | Default | Description |
|---|
DB_USER | edward | PostgreSQL username |
DB_PASSWORD | edward | PostgreSQL password |
DB_NAME | edward | PostgreSQL database name |
DB_HOST | localhost | Database host |
DB_PORT | 5432 | Database port |
Authentication
| Variable | Description |
|---|
JWT_SECRET_KEY | Secret for signing JWT tokens. Defaults to a dev key — change this in production |
Messaging
Twilio (SMS & WhatsApp)
| Variable | Description |
|---|
TWILIO_ACCOUNT_SID | Twilio account SID |
TWILIO_AUTH_TOKEN | Twilio auth token |
TWILIO_PHONE_NUMBER | Your Twilio phone number (e.g. +1234567890) |
TWILIO_WEBHOOK_URL | Public URL for SMS webhooks |
TWILIO_WHATSAPP_WEBHOOK_URL | Public URL for WhatsApp webhooks |
WhatsApp MCP Bridge
| Variable | Description |
|---|
MCP_WHATSAPP_ENABLED | Set to true to enable the whatsapp-mcp Go bridge |
MCP_WHATSAPP_SERVER_DIR | Path to the whatsapp-mcp-server directory |
iMessage
No environment variables needed — iMessage works via AppleScript on macOS. Enable the imessage_applescript skill in Settings.
Apple Services
| Variable | Description |
|---|
MCP_APPLE_ENABLED | Set to true to enable Calendar, Reminders, Notes, Mail, Contacts, and Maps |
Apple Services runs as an MCP subprocess and requires macOS with the relevant apps configured (Calendar, Mail, etc.).
Web Search
| Variable | Description |
|---|
BRAVE_SEARCH_API_KEY | Brave Search API key for web search and page content extraction |
HTML Hosting
| Variable | Description |
|---|
HTML_HOSTING_API_KEY | API key for html.zyroi.com hosting service |
HTML_HOSTING_URL | Hosting URL (defaults to https://html.zyroi.com) |
Custom MCP Servers
| Variable | Description |
|---|
GITHUB_TOKEN | GitHub personal access token — used for searching MCP server packages |
Observability
| Variable | Description |
|---|
LANGCHAIN_TRACING_V2 | Set to true to enable LangSmith tracing |
LANGCHAIN_API_KEY | LangSmith API key |
LANGCHAIN_PROJECT | LangSmith project name (e.g. edward) |
Push Notifications
| Variable | Description |
|---|
VAPID_PUBLIC_KEY | VAPID public key for Web Push |
VAPID_PRIVATE_KEY | VAPID private key for Web Push |
Generate VAPID keys with: npx web-push generate-vapid-keys
File Storage
| Variable | Default | Description |
|---|
FILE_STORAGE_ROOT | ./storage | Directory for persistent file storage |
See all available integrations in the Skills & Integrations guide.