[Bug] Claude Code didn't even know it's own syntax for `mcp add`
Resolved 💬 5 comments Opened Jan 12, 2026 by ascheman Closed Feb 27, 2026
Bug Description
Wanted to add an MCP server via command line and got proposed the following command from Claude Code itself:
claude mcp add slack stdio docker -- run -i --rm \
--entrypoint /usr/local/bin/mcp-server \
-e SLACK_MCP_XOXC_TOKEN \
-e SLACK_MCP_XOXD_TOKEN \
ghcr.io/korotovsky/slack-mcp-server:latest \
--transport stdio
This does not work (it adds a new mcp server to ~/.claude.json with command = stdio).
Environment Info
- Platform: darwin
- Terminal: webstorm
- Version: 2.1.5
- Feedback ID: 638171d5-71f2-4703-bb77-a55308799b37
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗