| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Remove unsupported -e flags from claude mcp add and pass environment variables through docker run instead. Fixes incorrect CLI usage that produced 'error: unknown option -e'. Fixes github#3032
There was a problem hiding this comment.
Hi
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fix incorrect claude mcp add Docker install examples that pass -e flags to the Claude CLI, which fails with error: unknown option '-e'. Environment variables are now passed through docker run after --.
Motivation
Fixes #3032. Users following the Claude Docker setup docs hit CLI errors because claude mcp add does not accept -e; only docker run should receive environment flags for containerized servers.
Changes
Tests
Documentation-only change. Verified:
Notes
Claude Desktop JSON configs in the same guide already pass env vars via docker run args and were left unchanged.
Fixes #3032