feat(web): add HTTP-mode deploy artifacts, docs, and OAuth e2e test #15
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/http-deploy-artifacts-docs-e2e"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ship the deployment story for the multi-user HTTP transport and prove the full OAuth dance end to end.
compose.ymland.env.examplefor the HTTP service: app-prefixed service / volume / network (youtrack-mcp,youtrack-mcp-data,youtrack-mcp-private), the SQLite state on a named volume, and every real env var the server reads (YT_MCP_PUBLIC_BASE_URL,YT_MCP_HUB_*,YT_MCP_MASTER_KEY,YT_MCP_SESSION_KEY,YT_MCP_BIND_ADDR,YT_MCP_DATABASE_URL, ...). TLS terminates at a reverse proxy, so noports:are published.docs/deployment.md: reverse-proxy TLS termination (Caddy + Traefik), forwarded-header /PUBLIC_BASE_URLanchoring, the/healthzprobe, registering the OAuth service in Hub (redirect URIPUBLIC_BASE_URL/oauth/hub/callback), and the Claude callback allowlist + discovery flow.CLAUDE.md(dual stdio/http profile, the HTTP bootstrap env) andREADME.md(transport overview + pointer to the deployment docs).src/web/it_oauth.rs: an end-to-end integration test driving the real/oauth/hub/callbackagainst a stubbed Hub through register -> authorize -> Hub login -> consent -> token -> authenticated/mcp, plus the non-allowlisted403denial. The existingflow_testsinject a pre-authenticated session and skip this path.Back-compat: stdio mode is untouched.
just checkandjust testare green (67 tests).#YTMCP-8
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com