Skip to content

[feat]: MCP server support different SHADCN_CLI_COMMAND #8740

@GitHubGeek

Description

@GitHubGeek

Feature description

In packages/shadcn/src/mcp/utils.ts, SHADCN_CLI_COMMAND is hardcoded as shadcn@latest.

When running the MCP on a project using shadcn-vue, the resulting command from get_add_command_for_items would fail to run, because the command needs to be shadcn-vue@latest

Thanks for considering this feature request.

Affected component/components

No response

Additional Context

Additional details here...

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions