What
claude mcp add --web adds an MCP server, an outside program that gives Claude extra tools, as a claude.ai connector linked to your account. Its refusals are now more specific:
- When
--webis unavailable, the message names the cause, such as a provider or an environment variable that is set. Before, it showed one general message. - Local, private and IPv6 addresses are refused, because claude.ai connectors connect from Anthropic's servers and can't reach them. The message suggests removing
--weband using--transport httpto add the server to your local config instead. - Local http addresses get their own error before the general http error.
- URLs that look like they contain a secret are refused.
- Connectors turned off by your organization's settings are refused.
The code that reads IP addresses is now built into Claude Code instead of coming from an outside library.
Why
If you try to add a local server with --web, you get a clear refusal and the command to use instead, rather than a connector that silently fails to connect.
Names in the bundleclaude mcp add --web