Add Node/TypeScript pre-fill button and improve repo setup UX#12
Merged
BillJr99 merged 1 commit intoMay 25, 2026
Merged
Conversation
Most stdio Node/TS MCP repos (linkedin-mcpserver, typical fastmcp projects, etc.) follow the same pattern: tsc compiles src/*.ts to build/*.js and the executable entry is build/index.js. Surface that as the recommended setup so users don't paste `npm run start:dev` (a long-running server command) into Build commands and break startup. - Wizard repository step: spawn-command placeholder is now `node build/index.js`; the Build commands help text recommends `npm install` + `npm run build`; one-click "⚡ Pre-fill Node/TS" button populates all three at once. - README "Part 3.5" walkthrough: new "Recommended for Node/TypeScript repos" callout with the field/value table, and an explicit warning not to put long-running server commands in Build commands. - README YAML example: switched to `node build/index.js` and the real LINKEDIN_CLIENT_ID / LINKEDIN_CLIENT_SECRET keys from the repo.
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.
Summary
Improves the repository provider setup wizard with a one-click pre-fill feature for Node/TypeScript MCP servers and enhanced documentation to guide users through the common setup pattern.
Key Changes
Added "⚡ Pre-fill Node/TS" button in the Build commands section that automatically populates:
npm installandnpm run buildnode build/index.jsUpdated UI layout for the Build commands label to accommodate the new button using flexbox (
d-flex justify-content-between align-items-center)Improved placeholder and helper text:
node dist/main.jstonode build/index.jsUpdated README documentation:
node build/index.jspatternImplementation Details
The
wzPrefillRepoNodeTs()function:_wzListAdd()node build/index.jsThis provides a frictionless onboarding experience for the most common MCP server setup pattern while maintaining flexibility for other configurations.
https://claude.ai/code/session_01R2Vi6NE4wGxwv6rZ2HEXji