Skip to content

chore(mcp-gateway): use kilosessions gateway hostname#3778

Merged
pandemicsyn merged 2 commits into
mainfrom
chore/mcp-gateway-production-hostname
Jun 5, 2026
Merged

chore(mcp-gateway): use kilosessions gateway hostname#3778
pandemicsyn merged 2 commits into
mainfrom
chore/mcp-gateway-production-hostname

Conversation

@pandemicsyn
Copy link
Copy Markdown
Contributor

@pandemicsyn pandemicsyn commented Jun 5, 2026

Summary

  • Update the MCP gateway production hostname from mcp.kilo.ai to mcp.kilosessions.ai.
  • Update the Worker route, production gateway base URL, app fallback gateway URL, generated Worker bindings, and related test fixtures so canonical MCP resource URLs use the new hostname consistently.
  • Keep the app OAuth origin on app.kilo.ai; only the protected-resource/runtime hostname changes.

Verification

  • No manual verification performed; this change only updates configuration and test fixtures, and validation was limited to automated checks.
  • Additional manual verification details:

Visual Changes

N/A

Reviewer Notes

  • This is a production hostname migration only; there are no existing configs
  • The Worker route now targets the kilosessions.ai zone, so DNS/TLS setup for mcp.kilosessions.ai must exist before deployment.

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented Jun 5, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

Incremental review of one additional commit (fix(mcp-gateway): use custom domain route): switches wrangler.jsonc Worker routing from a zone-route pattern (mcp.kilosessions.ai/* + zone_name) to a Cloudflare custom domain entry (custom_domain: true). The change is correct and no new issues found across all reviewed files.

Files Reviewed (9 files)
  • apps/web/src/lib/mcp-gateway/config.ts — fallback gatewayBaseUrl default updated
  • apps/web/src/lib/mcp-gateway/oauth-flow.test.ts — test fixture updated
  • apps/web/src/lib/user/index.test.tscanonical_url fixture updated
  • packages/mcp-gateway/src/index.test.tsbuildScopedConnectCanonicalUrl test updated
  • services/mcp-gateway/src/lib/upstream-proxy.test.ts — 4 request URL fixtures updated
  • services/mcp-gateway/src/mcp-gateway.worker.test.ts — env binding and request helper updated
  • services/mcp-gateway/worker-configuration.d.ts — generated type literal updated
  • services/mcp-gateway/wrangler.jsonc[incremental] switched from zone_name/wildcard route to custom_domain: true; correct wrangler v3 shorthand, no /* wildcard needed for custom domains
  • All hostname references consistently updated to mcp.kilosessions.ai with no stale mcp.kilo.ai references remaining

Note (from PR description): DNS/TLS for mcp.kilosessions.ai must be provisioned before deployment.


Reviewed by claude-4.6-sonnet-20260217 · 313,076 tokens

Review guidance: REVIEW.md from base branch main

@pandemicsyn pandemicsyn merged commit 1aeca07 into main Jun 5, 2026
55 checks passed
@pandemicsyn pandemicsyn deleted the chore/mcp-gateway-production-hostname branch June 5, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants