File size: 2,233 Bytes
3060aa0
4cfc59a
3060aa0
 
4cfc59a
3060aa0
 
 
4cfc59a
3060aa0
4cfc59a
 
 
3060aa0
 
4cfc59a
3060aa0
 
 
 
 
 
 
4cfc59a
3060aa0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4cfc59a
3060aa0
4cfc59a
3060aa0
 
4cfc59a
3060aa0
4cfc59a
3060aa0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4cfc59a
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
58
59
60
61
62
63
64
65
66
67
68
# ===========================================
# MCP.env HUB CONFIGURATION
# ===========================================

# App-Modus: 'mcp' oder 'app' (app ,modus for local)
APP_MODE="mcp"

# Transport: 'stdio' (lokal/Claude Desktop) oder 'sse' (HuggingFace/Remote)
MCP_TRANSPORT="sse"

# Für SSE/HuggingFace Spaces (added by app/app.py)
# PORT="7860"
# HOST="0.0.0.0"

# Optional: Die App-URL für OpenRouter HTTP-Referer
APP_URL="https://huggingface.co/spaces/codey-lab/Universal-MCP-Hub"

# .env.example
# This file serves as a template for your .env file.
# Copy this file to a new file named .env and fill in the values.
# IMPORTANT: Never commit the .env file to version control.

# ===========================================
# PyFundaments CORE CONFIGURATION
# ===========================================

# --- Database Connection ---
# The complete Data Source Name (DSN) for your PostgreSQL database.
# This works for both local instances and cloud providers like Neon.tech.
# Example for Neon: postgresql://user:password@host.eu-central-1.aws.neon.tech/neondb?sslmode=require
# Example for local: postgresql://user:password@localhost:5432/mydb
# Leave empty or comment out if your app doesn't need database
DATABASE_URL="your_database_dsn_here"

# --- Application-Level Encryption Keys ---
# These keys are used by the application itself to encrypt sensitive data
# before it is written to the database. This provides an additional layer
# of security for your data.
# Comment out both lines if your app doesn't need encryption
# The master key must be a 256-bit key (32 bytes).
#
MASTER_ENCRYPTION_KEY="your_256_bit_key_here"
#
# The salt is a unique, persistent value used with the master key.
# It should also be a secure, random string.
#
PERSISTENT_ENCRYPTION_SALT="your_unique_salt_here"
#

# ===========================================
# LOGGING CONFIGURATION (Optional)
# ===========================================

# PyFundaments Debug Mode (true/false)
PYFUNDAMENTS_DEBUG="true"

# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL="DEBUG"

# Store logs in /tmp directory (cleared on restart)
LOG_TO_TMP="false"

# Enable public logging (disable for production security)
ENABLE_PUBLIC_LOGS="true"