Error message
When this error occurs
POST /mcp-connections rejected the alias field. An alias must be:
- 1 to 64 characters, and
- made up only of
A-Z,a-z,0-9and_.
{alias}-{tool_name}, so the dash is the separator between the two halves. An alias containing a
dash would make that name ambiguous.
How to fix
Pick an alias that matches the rule and retry.huggingface, hf, and internal_docs are all fine; hugging-face is
not — use hugging_face instead.
The alias only has to be unique among the servers one agent run references, and you can change it by deleting the
connection and creating it again.
