What
MCP (Model Context Protocol) is the way Claude Code connects to outside tools and services. Code near the MCP directory tidies URLs into a standard form. It still removes any username and password from the URL. It then passes the URL to a shared helper that:
- clears the query, which is the part after
? - clears the hash, which is the part after
# - removes a trailing
/from the path
Why
Two URLs that differ only by a trailing slash now come out the same after tidying.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding does not say where these tidied URLs are used or compared.