{"version":"2.1.281","anchor":"mcp-url-normalisation-also-strips-a-trailing-slash-from-the","canonical_anchor":"mcp-url-normalisation-also-strips-a-trailing-slash-from-the","heading":"MCP URL normalisation also strips a trailing slash from the path","tier":"internal","area":"MCP","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/mcp-url-normalisation-also-strips-a-trailing-slash-from-the","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### MCP URL normalisation also strips a trailing slash from the path\n\nMCP-related URLs are now normalised without a trailing slash, as well as without credentials, query or hash\n\n**Unclear.** The finding does not say where these tidied URLs are used or compared.\n\n**What**\n\nMCP (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:\n\n- clears the query, which is the part after `?`\n\n- clears the hash, which is the part after `#`\n\n- removes a trailing `\/` from the path\n\n**Why**\n\nTwo URLs that differ only by a trailing slash now come out the same after tidying.\n\n- Area: MCP\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}