MCP.so
ログイン
S

Shadcn Registry MCP Server

@reuvenaor

基本情報

カテゴリ

その他

トランスポート

stdio

作者

reuvenaor

投稿者

Reuven Naor

Shadcn Registry MCP Server について

MCP server for the shadcn/ui component registry and CLI. It enables remote, programmatic, or containerized execution of shadcn CLI commands (such as init, add, etc.) that you would normally run locally, making it easy to automate, integrate, or run in cloud/dev environments.

#shadcn#mcp-server#cli-automation

Shadcn Registry MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "shadcn-registry-manager": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--mount",
        "type=bind,src=<your-project-path>,dst=/workspace",
        "-e",
        "REGISTRY_URL=https://ui.shadcn.com/r",
        "-e",
        "STYLE=new-york",
        "reuvenaor/shadcn-registry-manager"
      ]
    }
  }
}

Shadcn Registry MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Shadcn Registry Mcp Server?

Shadcn Registry Mcp Server is an MCP (Model Context Protocol) server for the shadcn/ui component registry and CLI. It enables remote, programmatic, or containerized execution of shadcn CLI commands (such as init, add, etc.) that you would normally run locally, making it easy to automate, integrate, or run these commands in cloud or development environments. The server supports connecting to both the official shadcn registry and custom/self-hosted registries, providing a technical interface for AI agents or CLI tools.

How to use Shadcn Registry Mcp Server?

Add the server to your mcp.json configuration. You can run it via Docker (mounting your project directory and setting REGISTRY_URL, STYLE environment variables) or via npx (setting REGISTRY_URL, WORKSPACE_DIR, and STYLE). The server exposes a set of MCP tools such as get_init_instructions, execute_init, get_items, add_item, execute_add, and get_blocks that you or an AI agent can call to manage shadcn components.

Key features of Shadcn Registry Mcp Server

  • Exposes shadcn CLI operations as MCP tools.
  • Supports project initialization and component addition.
  • Can fetch, list, and add registry items including block components.
  • Works with both official and custom/self-hosted registries.
  • Deployable via Docker or npx.
  • Integrates with AI agents and Claude.

Use cases of Shadcn Registry Mcp Server

  • Automate shadcn project initialization in CI/CD pipelines.
  • Programmatically add components to projects via AI assistants.
  • Manage multiple projects using a central or containerized registry interface.
  • Run shadcn CLI workflows in cloud or remote development environments.

よくある質問

1

What tools does Shadcn Registry Mcp Server provide?

It provides tools including `get_init_instructions`, `execute_init`, `get_items`, `get_item`, `add_item`, `execute_add`, and `get_blocks`.

2

How do I configure a custom registry URL?

Set the `REGISTRY_URL` environment variable to the URL of your custom shadcn registry (e.g., `http://localhost:3000/r`), following the guide at https://ui.shadcn.com/docs/blocks.

3

What runtime dependencies are required?

You need either Docker (for containerized deployment) or Node.js (for npx usage). The server runs as a standalone process using the

コメント

「その他」の他のコンテンツ