Page 1 of 1

Gesichtsgeräte err_parse_args_invalid_option_value beim Starten des Spring -Startbasis MCP Server mit MCP Inspector

Posted: 11 Aug 2025, 03:35
by Anonymous
Ich bin Neuling im MCP und wollte einen MCP -Server basierend auf dem Spring -Boot -Projekt starten. Ich habe hier ein Beispiel für Spring-Boot-Projekte verwendet.

Code: Select all

Starting MCP inspector...
node:internal/util/parse_args/parse_args:87
throw new ERR_PARSE_ARGS_INVALID_OPTION_VALUE(errorMessage);
^

TypeError [ERR_PARSE_ARGS_INVALID_OPTION_VALUE]: Option '--args' argument is ambiguous.
Did you forget to specify the option argument for '--args'?
To specify an option argument starting with a dash use '--args=-XYZ'.
at checkOptionLikeValue (node:internal/util/parse_args/parse_args:87:11)
at node:internal/util/parse_args/parse_args:383:9
at Array.forEach ()
at parseArgs (node:internal/util/parse_args/parse_args:379:3)
at file:///Users/nadeesh.tv/.npm/_npx/5a9d879542beca3a/node_modules/@modelcontextprotocol/inspector/server/build/index.js:25:20
at ModuleJob.run (node:internal/modules/esm/module_job:371:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:669:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
code: 'ERR_PARSE_ARGS_INVALID_OPTION_VALUE'
}

Jemand weiß, wie man das Problem behebt?>