Skip to content

docs: use CLI-safe MCP alias in config examples#878

Merged
dillionverma merged 1 commit intomagicuidesign:mainfrom
Yeom-JinHo:docs/mcp
Mar 2, 2026
Merged

docs: use CLI-safe MCP alias in config examples#878
dillionverma merged 1 commit intomagicuidesign:mainfrom
Yeom-JinHo:docs/mcp

Conversation

@Yeom-JinHo
Copy link
Collaborator

closed #844

Description

This PR updates the 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.

@vercel
Copy link

vercel bot commented Jan 17, 2026

@Yeom-JinHo is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

@Yeom-JinHo Yeom-JinHo self-assigned this Mar 1, 2026
@Yeom-JinHo Yeom-JinHo requested a review from dillionverma March 1, 2026 01:32
Copy link
Collaborator

@dillionverma dillionverma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah good catch thank you for showing the claude code error too

this looks good to me :)

@dillionverma dillionverma merged commit 1f2b93c into magicuidesign:main Mar 2, 2026
3 of 4 checks passed
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?

2 participants