Skip to main content
Glama
Shadcn Space MCP

Shadcn Space MCP

by shadcnspace

shadcnspace-mcp

Shadcn Space 的官方模型上下文协议 (MCP) 服务器。

此 MCP 服务器允许 AI 驱动的 IDE 和代理直接发现、搜索并将 Shadcn Space UI 块安装到您的项目中 —— 无需复制粘贴。

安装 MCP 配置

npx shadcnspace-cli install <client>

支持的客户端

  • [x] cursor

  • [x] windsurf

  • [x] claude

  • [x] cline

  • [x] antigravity

Related MCP server: shadcn-vue-mcp

手动安装

添加到您的 IDE 的 MCP 配置中:

{
  "mcpServers": {
    "shadcnspace-mcp": {
      "command": "npx",
      "args": ["-y", "shadcnspace-mcp@latest"]
    }
  }
}

欲了解更多信息,请访问我们的文档 如何使用 MCP 服务器

可用工具

该服务器提供以下可通过 MCP 调用的工具:

工具名称

描述

listBlocks

提供所有 shadcnspace 块的完整列表。

listComponents

提供所有 shadcnspace 组件的完整列表。

getBlockInstall

返回特定 Shadcn Space 块的官方安装命令。

searchBlocks

使用关键字或标签搜索 Shadcn Space 块。

listInstalledBlocks

列出项目中当前安装的所有块并获取其文件。

可用提示词

该服务器提供以下可通过 MCP 调用的提示词:

提示词/命令

描述

search

按名称查找特定的 UI 块。

create-ui

使用我们现有的块创建一个新的 UI 块。

使用示例

配置完成后,您可以提出如下问题:

"列出所有可用的 UI 块"

"给我 accordion-01 组件的代码"

"使用 hero-01 块、3 列功能网格和深色主题页脚为咖啡店创建一个着陆页。"

制作人员

由 shadcnspace 创建。

MIT

Available Tools

5 tools
getBlockInstallGet Block Installation CommandA

Returns the official installation command for a specific Shadcn Space block. Agents can use this to add a block to the project automatically before customizing it.

Inputs: name (required).

listBlocksList All BlocksA

Provides a complete list of all Shadcn Space blocks that can be used in a project. Agents can use this to explore available block types before deciding which ones to add or customize.

Inputs: no named parameters.

listComponentsList All ComponentsA

Provides a full list of Shadcn Space components. Agents can use this to discover components to build pages or sections within a project.

Inputs: no named parameters.

listInstalledBlocksList Installed BlocksA

Lists all blocks that are currently installed in the project. Agents can use this to determine which blocks are available for customization or updating, and optionally filter by specific block names.

Inputs: names.

searchBlocksSearch Blocks by KeywordA

Search Shadcn Space blocks using keywords or tags. Agents can use this to find relevant blocks when building a page based on user requirements or content type.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation4/5

    Tools have distinct purposes: listing all blocks, installed blocks, components, searching, and getting install commands. Slight potential confusion between listBlocks and listInstalledBlocks, but descriptions clarify the difference.

    Naming Consistency4/5

    All tools follow a verb+object pattern in camelCase (e.g., listBlocks, getBlockInstall). The pattern is consistent, though some names are multi-word (getBlockInstall) while others are two words (listBlocks).

    Tool Count5/5

    Five tools is well-scoped for a server focused on managing Shadcn Space blocks and components, providing essential discovery and installation information without being excessive.

    Completeness4/5

    Covers listing, searching, and install commands. Missing tools for adding/removing or customizing blocks, but the server's purpose appears informational, and agents can use the install command from getBlockInstall via shell.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Shadcn-vue MCP Server is a powerful AI-driven tool that helps developers instantly create beautiful, modern UI components through natural language descriptions. It integrates the shadcn-vue component library and tailwindcss, seamlessly connects with mainstream IDEs, and provides a streamlined UI dev
      5
      108
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      This MCP server provides tools to install and manage shadcn/ui components directly from AI coding agents.
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A secure MCP server that gives AI coding assistants direct access to the shadcn/ui registry, enabling fetching, installing, and wiring up components without switching context.
      8
      19 npm
      4
      MIT