Skip to content

Conversation

@Yeom-JinHo
Copy link

closed magicuidesign/magicui#844

Description

This PR updates the README MCP configuration example to use a CLI-safe alias for the server name so it works correctly with Claude Code and other MCP clients.


Changes

  • Renamed the mcpServers key in the README example from @magicuidesign/mcp to magicuidesign-mcp, while keeping the command and args (npm package name) unchanged.

Motivation

  • Claude Code rejects @magicuidesign/mcp as an invalid MCP server name (Names can only contain letters, numbers, hyphens, and underscores).
  • Using a simple alias like magicuidesign-mcp follows common MCP naming conventions and improves compatibility across different clients.
  • According to the official Claude tool documentation (“How to implement tool use”), the tool name must match the regex ^[a-zA-Z0-9_-]{1,64}$, which is incompatible with a scoped name like @magicuidesign/mcp.

@Yeom-JinHo
Copy link
Author

I think the image needs to be updated as well, but I’m not sure which tool you used to create it, so I couldn’t edit it myself.

Could you please replace it with an updated version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat]: Can we add support for Claude code?

1 participant