Repository navigation
fix(build): map the figma-mcp site to the figma package and folder - #560
Merged
Merged
Conversation
The platform builds a monorepo MCP with DECO_SITE_NAME=<site> and build-mcp.ts uses that name as the package filter and the dist folder. The site is figma-mcp (figma is taken) but the MCP lives in figma/, so the build would find no package and no folder. Same mapping as github-mcp -> github. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/blog-generator
October 13, 2026 17:57
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/content-scraper
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/deco-news-weekly-digest
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/discord-read
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-analytics
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-big-query
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-calendar
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-calendar-sa
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-drive
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-meet
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-search-console
October 13, 2026 17:58
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-sheets
October 13, 2026 17:59
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-slides
October 13, 2026 17:59
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-tag-manager
October 13, 2026 17:59
Destroyed
yuriassuncx
enabled auto-merge (squash)
October 13, 2026 17:59
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/google-workspace
October 13, 2026 17:59
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/object-storage
October 13, 2026 17:59
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/whatsappagent
October 13, 2026 18:00
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/youtube-channel-admin
October 13, 2026 18:00
Destroyed
deco-hosting
Bot
temporarily deployed
to
preview/pr-560/youtube-search
October 13, 2026 18:00
Destroyed
tlgimenes
approved these changes
Oct 13, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The platform builds a monorepo MCP by running the root build with
DECO_SITE_NAME=<site>.scripts/build-mcp.tsthen uses that name both as the package filter (bun run --filter=<site> build) and as the folder whosedistit moves to the root.Since #559 the site is
figma-mcp, becausefigmais taken by an unrelated storefront. The MCP's package and folder are bothfigma, so the build would find no package and nofigma-mcp/dist.What
"figma-mcp": "figma"is added toFOLDER_OVERRIDESandPKG_NAME_OVERRIDES. It is the same mappinggithub-mcp→githubalready uses.Verified
bun run --filter=figma buildproducesfigma/dist/server/main.js(2.68 MB)../distgives the./dist/server/main.jsentrypoint fromdeploy.json.🤖 Generated with Claude Code
Summary by cubic
Fixes the MCP build so the
figma-mcpsite resolves to thefigmapackage and folder, which previously caused the build to fail since the site name didn't match the package or directory. Adds the same override mapping thatgithub-mcp→githubalready uses.Written for commit 0a03464. Summary will update on new commits.