Skip to content

fix: point gateway-setup deep link at /mcp-gateways/new#40

Merged
sdserranog merged 2 commits into
mainfrom
fix/gateway-setup-new-route
Jul 7, 2026
Merged

fix: point gateway-setup deep link at /mcp-gateways/new#40
sdserranog merged 2 commits into
mainfrom
fix/gateway-setup-new-route

Conversation

@sdserranog

Copy link
Copy Markdown
Contributor

What

The post-scaffold "Click here to create your MCP gateway" link builds:

https://app.arcade.dev/mcp-gateways?create=true&tools=<JSON>

The dashboard moved gateway creation to a dedicated /mcp-gateways/new page and removed the list route's legacy ?create / ?tools params (ArcadeAI/monorepo#1904). With that shipped, the old link lands on the gateways list with no prefill and no create flow — every npx @arcadeai/create-agent run that shows the gateway setup step is affected.

This updates the link to:

https://app.arcade.dev/mcp-gateways/new?tools=<JSON>

Why it's safe / keeps working

  • The tools payload is unchanged — still encodeURIComponent(JSON.stringify([...])). The new route validates tools with the exact same z.array(z.string()) schema the list route used, so the JSON-array param parses and pre-fills the picker identically (it's literally what the old list→/new redirect forwarded).
  • Only this one deep link changed. All other app.arcade.dev/mcp-gateways links (list page) are untouched and still valid.
  • tsc --noEmit, eslint, prettier --check, and tsc build all pass.

Ordering

Should merge with or shortly after ArcadeAI/monorepo#1904 reaches production (the /mcp-gateways/new route must exist). Until then the current ?create=true link still resolves via the compatibility redirect on the old build.

The dashboard moved gateway creation to a dedicated /mcp-gateways/new page and
dropped the list route's ?create / ?tools params (ArcadeAI/monorepo#1904). Update
the post-scaffold 'create your MCP gateway' link to /mcp-gateways/new?tools=…;
the JSON-encoded tools param is unchanged and parses on the new route.
@sdserranog sdserranog requested a review from teallarson July 6, 2026 19:44

@teallarson teallarson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you bump the version, too?

@sdserranog sdserranog merged commit 805e353 into main Jul 7, 2026
@sdserranog sdserranog deleted the fix/gateway-setup-new-route branch July 7, 2026 15:35
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