Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a16a260f1 | ||
|
|
f29dc299b2 | ||
|
|
5d97b31c12 |
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
**The AI-native management hub for WordPress, WooCommerce, and self-hosted services.**
|
**The AI-native management hub for WordPress, WooCommerce, and self-hosted services.**
|
||||||
|
|
||||||
**Version 3.0.1** — 596 tools across 9 plugins. Connect your sites, stores, repos, and databases — manage them all through Claude, ChatGPT, Cursor, or any MCP client.
|
596 tools across 9 plugins. Connect your sites, stores, repos, and databases — manage them all through Claude, ChatGPT, Cursor, or any MCP client.
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Connect your sites, stores, repos, and databases — manage them all through Claude, ChatGPT, Cursor, or any MCP client.
|
Connect your sites, stores, repos, and databases — manage them all through Claude, ChatGPT, Cursor, or any MCP client.
|
||||||
|
|
||||||
[](https://github.com/airano-ir/mcphub/releases)
|
[](https://github.com/airano-ir/mcphub/releases)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://www.python.org/)
|
[](https://www.python.org/)
|
||||||
[](https://pypi.org/project/mcphub-server/)
|
[](https://pypi.org/project/mcphub-server/)
|
||||||
|
|||||||
@@ -1986,7 +1986,7 @@ def get_registered_plugins() -> list:
|
|||||||
|
|
||||||
|
|
||||||
def _get_project_version() -> str:
|
def _get_project_version() -> str:
|
||||||
"""Read version from pyproject.toml."""
|
"""Read version from pyproject.toml, falling back to package metadata."""
|
||||||
try:
|
try:
|
||||||
toml_path = os.path.join(os.path.dirname(os.path.dirname(TEMPLATES_DIR)), "pyproject.toml")
|
toml_path = os.path.join(os.path.dirname(os.path.dirname(TEMPLATES_DIR)), "pyproject.toml")
|
||||||
with open(toml_path) as f:
|
with open(toml_path) as f:
|
||||||
@@ -1995,7 +1995,12 @@ def _get_project_version() -> str:
|
|||||||
return line.split("=")[1].strip().strip('"').strip("'")
|
return line.split("=")[1].strip().strip('"').strip("'")
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
return "3.0.1"
|
try:
|
||||||
|
from importlib.metadata import version
|
||||||
|
|
||||||
|
return version("mcphub-server")
|
||||||
|
except Exception:
|
||||||
|
return "unknown"
|
||||||
|
|
||||||
|
|
||||||
def get_about_info() -> dict:
|
def get_about_info() -> dict:
|
||||||
|
|||||||
@@ -139,7 +139,7 @@
|
|||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<p class="text-center text-gray-500 text-sm mt-6">
|
<p class="text-center text-gray-500 text-sm mt-6">
|
||||||
MCP Hub v{{ version|default('3.0.1') }}
|
MCP Hub v{{ version }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "mcphub-server"
|
name = "mcphub-server"
|
||||||
version = "3.0.2"
|
version = "3.0.4"
|
||||||
description = "AI-native management hub for WordPress, WooCommerce, and self-hosted services via Model Context Protocol (MCP)"
|
description = "AI-native management hub for WordPress, WooCommerce, and self-hosted services via Model Context Protocol (MCP)"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "MCP Hub", email = "contact@mcphub.dev"}
|
{name = "MCP Hub", email = "contact@mcphub.dev"}
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ import warnings
|
|||||||
from datetime import UTC, datetime
|
from datetime import UTC, datetime
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
from dotenv import find_dotenv, load_dotenv
|
||||||
|
|
||||||
|
load_dotenv(find_dotenv(usecwd=True)) # Always search from CWD (needed for PyPI mcphub.exe)
|
||||||
|
|
||||||
# Suppress noisy deprecation warning from websockets (transitive dependency)
|
# Suppress noisy deprecation warning from websockets (transitive dependency)
|
||||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="websockets")
|
warnings.filterwarnings("ignore", category=DeprecationWarning, module="websockets")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user