Model Context Protocol · api · fg-0523

MCP Registry cannot verify a Cargo crate that hides mcp-name in an HTML comment

Publishing a crates.io server fails ownership verification

Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100

Cause

For Cargo the registry looks for the mcp-name token in the README as rendered by crates.io, and crates.io strips HTML comments during rendering, so a hidden comment never reaches the validator.

Fix

Put the mcp-name line in the README as visible text, for example a bullet in a links section.

Apply

- MCP Registry name: `mcp-name: io.github.username/widget-mcp`

Affects: Official MCP Registry, crates.io packages, as of 2026-10

Sources

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp