2026-06-26/claude mcp addの引数順なんもわからん
code:sh
claude mcp add --scope user -e IMAGE_READER_MAX_WIDTH=20000 -e IMAGE_READER_MAX_HEIGHT=20000 image_reader_with_crop -- bun run /home/user/p/js/25/image-reader-mcp/bin/cli.js
出力
Invalid environment variable format: image_reader_with_crop, environment variables should be added as: -e KEY1=value1 -e KEY2=value2
code:sh
claude mcp add -e IMAGE_READER_MAX_WIDTH=20000 -e IMAGE_READER_MAX_HEIGHT=20000 --scope user image_reader_with_crop -- bun run /home/user/p/js/25/image-reader-mcp/bin/cli.js
出力
Added stdio MCP server image_reader_with_crop with command: bun run /home/user/p/js/25/image-reader-mcp/bin/cli.js to user config
File modified: /home/user/.claude.json
#Claude Code #Claude