Spaces:
Running
Running
Update example-mcp___.env
Browse files- example-mcp___.env +13 -65
example-mcp___.env
CHANGED
|
@@ -1,40 +1,19 @@
|
|
| 1 |
# ===========================================
|
| 2 |
-
# MCP HUB CONFIGURATION
|
| 3 |
# ===========================================
|
| 4 |
|
| 5 |
-
# App-Modus: 'mcp' oder 'app'
|
| 6 |
APP_MODE="mcp"
|
| 7 |
|
| 8 |
# Transport: 'stdio' (lokal/Claude Desktop) oder 'sse' (HuggingFace/Remote)
|
| 9 |
-
MCP_TRANSPORT="
|
| 10 |
|
| 11 |
-
# Für SSE/HuggingFace Spaces (
|
| 12 |
-
PORT="7860"
|
| 13 |
-
HOST="0.0.0.0"
|
| 14 |
|
| 15 |
# Optional: Die App-URL für OpenRouter HTTP-Referer
|
| 16 |
-
APP_URL="https://huggingface.co/spaces/
|
| 17 |
-
|
| 18 |
-
# ===========================================
|
| 19 |
-
# LLM API KEYS (optional - aktiviert Tools)
|
| 20 |
-
# ===========================================
|
| 21 |
-
# Nur konfigurierte Keys aktivieren ihre Tools - kein Key, kein Tool, kein Crash.
|
| 22 |
-
|
| 23 |
-
#ANTHROPIC_API_KEY="sk-ant-..."
|
| 24 |
-
#OPENROUTER_API_KEY="sk-or-..."
|
| 25 |
-
#HF_TOKEN="hf_..."
|
| 26 |
-
|
| 27 |
-
# ===========================================
|
| 28 |
-
# SEARCH API KEYS (optional)
|
| 29 |
-
# ===========================================
|
| 30 |
-
|
| 31 |
-
#BRAVE_API_KEY="BSA..."
|
| 32 |
-
#TAVILY_API_KEY="tvly-..."
|
| 33 |
-
|
| 34 |
-
# ===========================================
|
| 35 |
-
# MCP HUB CONFIGURATION END
|
| 36 |
-
# ===========================================
|
| 37 |
-
|
| 38 |
|
| 39 |
# .env.example
|
| 40 |
# This file serves as a template for your .env file.
|
|
@@ -42,7 +21,7 @@ APP_URL="https://huggingface.co/spaces/DEIN_USERNAME/DEIN_SPACE"
|
|
| 42 |
# IMPORTANT: Never commit the .env file to version control.
|
| 43 |
|
| 44 |
# ===========================================
|
| 45 |
-
# CORE CONFIGURATION
|
| 46 |
# ===========================================
|
| 47 |
|
| 48 |
# --- Database Connection ---
|
|
@@ -59,10 +38,14 @@ DATABASE_URL="your_database_dsn_here"
|
|
| 59 |
# of security for your data.
|
| 60 |
# Comment out both lines if your app doesn't need encryption
|
| 61 |
# The master key must be a 256-bit key (32 bytes).
|
|
|
|
| 62 |
MASTER_ENCRYPTION_KEY="your_256_bit_key_here"
|
|
|
|
| 63 |
# The salt is a unique, persistent value used with the master key.
|
| 64 |
# It should also be a secure, random string.
|
|
|
|
| 65 |
PERSISTENT_ENCRYPTION_SALT="your_unique_salt_here"
|
|
|
|
| 66 |
|
| 67 |
# ===========================================
|
| 68 |
# LOGGING CONFIGURATION (Optional)
|
|
@@ -81,39 +64,4 @@ LOG_TO_TMP="false"
|
|
| 81 |
ENABLE_PUBLIC_LOGS="true"
|
| 82 |
|
| 83 |
|
| 84 |
-
|
| 85 |
-
# APP-SPECIFIC CONFIGURATION EXAMPLES
|
| 86 |
-
# ===========================================
|
| 87 |
-
# Uncomment and configure based on your application type
|
| 88 |
-
|
| 89 |
-
# Discord Bot Setup
|
| 90 |
-
# ==================
|
| 91 |
-
# Get these from Discord Developer Portal
|
| 92 |
-
#PUBLIC_KEY="your-discord-public-key"
|
| 93 |
-
#APPLICATION_ID="your-discord-app-id"
|
| 94 |
-
#BOT_TOKEN="your-bot-token"
|
| 95 |
-
#GUILD_ID="your-guild-id"
|
| 96 |
-
#BOT_VERSION="1.0.1"
|
| 97 |
-
#ADMIN_USER_IDS="user1,user2,user3"
|
| 98 |
-
# ===========================================
|
| 99 |
-
# API Server CONFIGURATION EXAMPLES
|
| 100 |
-
# ===========================================
|
| 101 |
-
#Flask server
|
| 102 |
-
#PORT="7860"
|
| 103 |
-
|
| 104 |
-
# ML/LLM Setup
|
| 105 |
-
# =============
|
| 106 |
-
#MODEL_PATH="/path/to/your/model"
|
| 107 |
-
#MAX_TOKENS="2048"
|
| 108 |
-
#TEMPERATURE="0.7"
|
| 109 |
-
|
| 110 |
-
# Web Server Setup
|
| 111 |
-
# ================
|
| 112 |
-
#PORT="8000"
|
| 113 |
-
#HOST="0.0.0.0"
|
| 114 |
-
#DEBUG_MODE="false"
|
| 115 |
-
|
| 116 |
-
# API Keys
|
| 117 |
-
# ========
|
| 118 |
-
#OPENAI_API_KEY="your-openai-key"
|
| 119 |
-
#ANTHROPIC_API_KEY="your-anthropic-key"
|
|
|
|
| 1 |
# ===========================================
|
| 2 |
+
# MCP.env HUB CONFIGURATION
|
| 3 |
# ===========================================
|
| 4 |
|
| 5 |
+
# App-Modus: 'mcp' oder 'app' (app ,modus for local)
|
| 6 |
APP_MODE="mcp"
|
| 7 |
|
| 8 |
# Transport: 'stdio' (lokal/Claude Desktop) oder 'sse' (HuggingFace/Remote)
|
| 9 |
+
MCP_TRANSPORT="sse"
|
| 10 |
|
| 11 |
+
# Für SSE/HuggingFace Spaces (added by app/app.py)
|
| 12 |
+
# PORT="7860"
|
| 13 |
+
# HOST="0.0.0.0"
|
| 14 |
|
| 15 |
# Optional: Die App-URL für OpenRouter HTTP-Referer
|
| 16 |
+
APP_URL="https://huggingface.co/spaces/codey-lab/Universal-MCP-Hub"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
# .env.example
|
| 19 |
# This file serves as a template for your .env file.
|
|
|
|
| 21 |
# IMPORTANT: Never commit the .env file to version control.
|
| 22 |
|
| 23 |
# ===========================================
|
| 24 |
+
# PyFundaments CORE CONFIGURATION
|
| 25 |
# ===========================================
|
| 26 |
|
| 27 |
# --- Database Connection ---
|
|
|
|
| 38 |
# of security for your data.
|
| 39 |
# Comment out both lines if your app doesn't need encryption
|
| 40 |
# The master key must be a 256-bit key (32 bytes).
|
| 41 |
+
#
|
| 42 |
MASTER_ENCRYPTION_KEY="your_256_bit_key_here"
|
| 43 |
+
#
|
| 44 |
# The salt is a unique, persistent value used with the master key.
|
| 45 |
# It should also be a secure, random string.
|
| 46 |
+
#
|
| 47 |
PERSISTENT_ENCRYPTION_SALT="your_unique_salt_here"
|
| 48 |
+
#
|
| 49 |
|
| 50 |
# ===========================================
|
| 51 |
# LOGGING CONFIGURATION (Optional)
|
|
|
|
| 64 |
ENABLE_PUBLIC_LOGS="true"
|
| 65 |
|
| 66 |
|
| 67 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|