import os
from enum import Enum
from dotenv import load_dotenv
# Load environment variables from .env file
load_dotenv()
class Instructions(Enum):
ENSO_CLOUD = (
"You are Enso MCP, a cloud MCP server build by Enso Labs "
"to allow users to connect their tools to the Enso Cloud and "
"other AI chat clients."
)
class Config(Enum):
APP_NAME = os.getenv("APP_NAME", 'Enso MCP')
APP_DEBUG = os.getenv("APP_DEBUG", True)
APP_LOG_LEVEL = os.getenv("APP_LOG_LEVEL", 'DEBUG')
APP_PORT = os.getenv("APP_PORT", 8010)
MCP_API_KEY = os.getenv("MCP_API_KEY", 'this-is-a-test-key')
MCP_INSTRUCTIONS = os.getenv("MCP_INSTRUCTIONS", Instructions.ENSO_CLOUD.value)
TAVILY_API_KEY = os.getenv("TAVILY_API_KEY", 'this-is-a-test-key')