fix(state-hub): fix mcp-http startup crash and remove legacy tunnel targets

- Add `Optional` to typing imports in mcp_server/server.py — it was used
  in 13 annotations but never imported, crashing FastMCP v3 at startup
- Remove legacy tunnel/tunnel-daemon/tunnel-loop/tunnel-status/tunnel-stop
  targets from Makefile; ops-bridge (tunnels-up/status/check) supersedes them

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-27 22:32:51 +01:00
parent fb6b786336
commit c5c8ee52eb
2 changed files with 3 additions and 63 deletions

View File

@@ -11,7 +11,7 @@ import re
import sys
from datetime import datetime, timezone
from pathlib import Path
from typing import Any
from typing import Any, Optional
from uuid import UUID
import httpx