-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
57 lines (44 loc) · 2.1 KB
/
.env.example
File metadata and controls
57 lines (44 loc) · 2.1 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
50
51
52
53
54
55
56
57
# Firefly III Configuration (Required)
# Your Firefly III instance URL
FIREFLY_BASE_URL=https://your-firefly-instance.com
# Personal access token from Firefly III
# Generate at: Profile → OAuth → Personal Access Tokens
FIREFLY_TOKEN=your_firefly_personal_access_token_here
# Logging Configuration (Optional)
# Set the logging level for the application
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# Default: INFO
LOGGING_LEVEL=INFO
# MCP Server Configuration (Optional)
# Transport mode: stdio (default, for local development), http, or sse
MCP_TRANSPORT=stdio
# Host to bind the MCP server to (for http/sse transports)
MCP_HOST=0.0.0.0
# Port to bind the MCP server to (for http/sse transports)
MCP_PORT=3000
# Google OAuth Configuration (Optional - for remote server authentication)
# Only required when running as a remote MCP server with authentication
# All three fields must be provided together or all left blank
# Google OAuth 2.0 Client ID
# Get from: https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
# Google OAuth 2.0 Client Secret
GOOGLE_CLIENT_SECRET=your-client-secret
# Public URL of your FastMCP server
# Examples:
# - Local development: http://localhost:8000
# - Production: https://api.yourdomain.com
SERVER_BASE_URL=http://localhost:8000
# OAuth Token Persistence (Optional - for persistent authentication across restarts)
# Only required when running with Google OAuth authentication enabled
# Both JWT_SIGNING_KEY and OAUTH_STORAGE_ENCRYPTION_KEY must be provided together
# JWT signing key for OAuth tokens
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(32))"
JWT_SIGNING_KEY=your-jwt-signing-key-here
# Fernet encryption key for OAuth token storage
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
OAUTH_STORAGE_ENCRYPTION_KEY=your-fernet-encryption-key-here
# Path for persistent OAuth token storage (optional)
# Default: ~/.local/share/lampyrid/oauth (local installations)
# For Docker: /app/data/oauth (recommended)
# OAUTH_STORAGE_PATH=/app/data/oauth