diff --git a/pyproject.toml b/pyproject.toml index 843a954..2e0ffde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mcphub-server" -version = "3.0.2" +version = "3.0.3" description = "AI-native management hub for WordPress, WooCommerce, and self-hosted services via Model Context Protocol (MCP)" authors = [ {name = "MCP Hub", email = "contact@mcphub.dev"} diff --git a/server.py b/server.py index c019357..0a6f805 100644 --- a/server.py +++ b/server.py @@ -27,6 +27,10 @@ import warnings from datetime import UTC, datetime from typing import Optional +from dotenv import load_dotenv + +load_dotenv() # Load .env from current working directory + # Suppress noisy deprecation warning from websockets (transitive dependency) warnings.filterwarnings("ignore", category=DeprecationWarning, module="websockets")