create-mcp-use-app silently ignores unknown options and extra arguments
Background
create-mcp-use-app accepts a project name and options such as --template. A command with a misspelled option should stop before it creates a project, since otherwise the resulting files may not match what the user requested.
How to reproduce
In a non-interactive shell, run:
npx create-mcp-use-app my-project --templat mcp-apps --no-install --no-skillsThe intended option is --template mcp-apps. With the current parser, --templat is accepted as an unknown option and mcp-apps becomes another positional argument. Neither is reported. The command proceeds with my-project and selects the default mcp-server template, leaving a valid-looking project built from the wrong template.
An extra positional argument is also silently ignored, even though the CLI accepts only one project name.
Why this matters
This is easy to miss in scripts and copy-pasted commands: the process can complete and create files, so there is no clear signal that the user's template choice was discarded. Discovering the mismatch later means inspecting or recreating the generated project.
Expected behavior
Reject unknown options and any extra project name with a clear error before creating files. The documented --no-install and --no-skills forms should remain supported.
I have a fix and argument-parsing regression tests in PR #2657.
Source: mcp-use/mcp-use