Description
Follow-up to #1877 / #1919 — the namespace prefix stripping now takes the segment after the last / as the default server name. This works well for most cases (io.github.stacklok/fetch → fetch), but some registry entries have generic trailing segments that produce unhelpful default names.
Example: com.paypal/mcp → mcp
The name mcp is valid and duplicate detection would catch collisions, but it's not a useful default — it tells the user nothing about the server.
Options considered
- Combine org + name (e.g.,
paypal-mcp): Works for the PayPal case but produces awkward results elsewhere — io.github.stacklok/fetch → stacklok-fetch (implies Stacklok built the server, which usually isn't true), com.postman/postman-mcp-server → postman-postman-mcp-server
- Replace all
/ with - (e.g., com.paypal-mcp): What the cloud UI does, but produces long ugly names that get truncated on server cards and some clients complain about long server_name+tool_name strings
- Heuristic: Only prepend the org segment when the part after
/ is "too generic" (e.g., mcp, server). Conceptually appealing but defining "generic" is subjective and could be surprising
Priority
Low
Additional Context
This is an edge case — most registry entries have descriptive names after the /. The current behavior is a significant improvement over the pre-#1919 state where every install required manual name editing.
Description
Follow-up to #1877 / #1919 — the namespace prefix stripping now takes the segment after the last
/as the default server name. This works well for most cases (io.github.stacklok/fetch→fetch), but some registry entries have generic trailing segments that produce unhelpful default names.Example:
com.paypal/mcp→mcpThe name
mcpis valid and duplicate detection would catch collisions, but it's not a useful default — it tells the user nothing about the server.Options considered
paypal-mcp): Works for the PayPal case but produces awkward results elsewhere —io.github.stacklok/fetch→stacklok-fetch(implies Stacklok built the server, which usually isn't true),com.postman/postman-mcp-server→postman-postman-mcp-server/with-(e.g.,com.paypal-mcp): What the cloud UI does, but produces long ugly names that get truncated on server cards and some clients complain about longserver_name+tool_namestrings/is "too generic" (e.g.,mcp,server). Conceptually appealing but defining "generic" is subjective and could be surprisingPriority
Low
Additional Context
This is an edge case — most registry entries have descriptive names after the
/. The current behavior is a significant improvement over the pre-#1919 state where every install required manual name editing.