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'
}
Я новичок в MCP и хотел запустить MCP -сервер на основе Spring Boot Project. Отсюда я использовал образец пружинного загрузочного проекта.[code]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' }
Я новичок в MCP и хотел запустить MCP -сервер на основе Spring Boot Project. Отсюда я использовал образец пружинного загрузочного проекта. Starting MCP inspector...
node:internal/util/parse_args/parse_args:87
throw new...
Я использую следующий код
const Ort::Value &img_file_to_tensor(std::string input_img_path) {
// Load the image using OpenCV
cv::Mat input_mat = cv::imread(input_img_path);
// Convert to float
cv::cvtColor(input_mat, input_mat, cv::COLOR_BGR2RGB);...
В настоящее время я разрабатываю сервер MCP с помощью Spring AI. Я определил инструменты, используя аннотацию @Tool и интегрировал их с Claude/Copilot. Этот SessionID передается как параметр запроса в URL-адресе запроса, например:
post /mcp...
В настоящее время я разрабатываю сервер MCP с помощью Spring AI. Я определил инструменты, используя аннотацию @Tool и интегрировал их с Claude/Copilot. Этот SessionID передается как параметр запроса в URL-адресе запроса, например:
post /mcp...
В настоящее время я разрабатываю сервер MCP с помощью Spring AI. Я определил инструменты, используя аннотацию @Tool и интегрировал их с Claude/Copilot. Этот SessionID передается как параметр запроса в URL-адресе запроса, например:
post /mcp...