Address the estate at /v1, not /api/v1

Two defaults carried an /api/ prefix this estate does not serve: the commerce
base and the DNS endpoint.

Neither resource answers at either spelling today — api.hanzo.ai serves commerce
carts under /v1/commerce and none of the products or orders this tool asks for,
and dns.hanzo.ai answers nothing at all. The prefix is the part that was wrong
either way; what those tools reach is a separate question.
This commit is contained in:
2026-08-30 16:29:33 -07:00
parent 90e00d9bb7
commit b1ab1198c1
2 changed files with 4 additions and 4 deletions
@@ -1,6 +1,6 @@
"""MCP tool for Hanzo Commerce -- orders, products, collections, stores.
Wraps the Hanzo Commerce API at api.hanzo.ai/api/v1/.
Wraps the Hanzo Commerce API at api.hanzo.ai/v1/.
Auth: Uses HanzoSession from hanzo-tools-auth for bearer tokens.
"""
@@ -36,7 +36,7 @@ Actions:
- webhooks: List configured webhooks
"""
API_BASE = "https://api.hanzo.ai/api/v1"
API_BASE = "https://api.hanzo.ai/v1"
def _get_session():
+2 -2
View File
@@ -1,7 +1,7 @@
"""CoreDNS (Hanzo DNS) provider.
Manages DNS via Hanzo's CoreDNS API (K8s-native DNS for Hanzo infrastructure).
Endpoint: configurable, defaults to https://dns.hanzo.ai/api/v1
Endpoint: configurable, defaults to https://dns.hanzo.ai/v1
"""
from __future__ import annotations
@@ -12,7 +12,7 @@ import click
from .provider import DNSZone, DNSRecord, DNSProvider, register_provider
DEFAULT_ENDPOINT = "https://dns.hanzo.ai/api/v1"
DEFAULT_ENDPOINT = "https://dns.hanzo.ai/v1"
class CoreDNSProvider(DNSProvider):