Skip to content

build(mcp): deploy worker to the hi@ Cloudflare account - #18

Open
mrgoonie wants to merge 1 commit into
mainfrom
feat/hi-account-deploy
Open

mrgoonie wants to merge 1 commit into
mainfrom
feat/hi-account-deploy

Conversation

@mrgoonie

Copy link
Copy Markdown
Contributor

Summary

  • Retarget packages/mcp/wrangler.jsonc account_id from the Digitop account to hi@ (7ac87c90789159ae1b10b7d78f5dcc08), part of the nextlevelbuilder.io zone cutover.

Already done on hi@ (manual, workers.dev only)

  • nlb-directory-mcp deployed: https://nlb-directory-mcp.hi-7ac.workers.dev (version 2c5afffa)
  • nlb-directory-mcp-staging deployed: https://nlb-directory-mcp-staging.hi-7ac.workers.dev (version ebee76ef)
  • The deploy used this config without the mcp.nextlevelbuilder.io route, because the zone is not on hi@ yet.
  • MCP_DELEGATION_SECRET set on both (same value as the hi@ web workers).
  • Verified initialize, tools/list (16 tools) and a public get_stats call; output identical to the live mcp.nextlevelbuilder.io.

Before merging

Merging triggers Deploy MCP on main, which deploys production with the mcp.nextlevelbuilder.io custom-domain route. Merge only when:

  1. The nextlevelbuilder.io zone is Active on hi@ (after the nameserver change).
  2. The repository secrets CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID target hi@. The token needs Workers Scripts: Edit plus Zone/Workers Routes edit on the zone for the custom domain.
  3. WORKER_AUTH_TOKEN on hi@ production matches the Digitop value, if legacy static-token clients must keep working. The hi@ worker kept an older value from a 2026-09-12 upload.

Not changed

  • The staging NLB_OAUTH_RESOURCE still names the Digitop workers.dev host. It is the token audience and must equal the web staging MCP_OAUTH_RESOURCE, which still uses that host. Change both together after cutover.

…count

The nextlevelbuilder.io zone moves to account 7ac87c90789159ae1b10b7d78f5dcc08.
Point the worker's account_id there so the mcp. custom domain can attach
once the zone is active on that account.
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.

1 participant