Cosmic vs Shadcn Ui MCP Server

A side-by-side look at the Cosmic and Shadcn Ui MCP Server MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Cosmic logoCosmicDeveloper Tools · Local subprocess (stdio)Manage Cosmic CMS content, media, object types, and AI generation from any MCP client.56GoodAuth: not declaredShadcn Ui MCP Server logoShadcn Ui MCP ServerDeveloper Tools · Local subprocess (stdio)MCP server that gives AI assistants seamless access to shadcn/ui v4 components, blocks, demos, and metadata.72GreatAuth: api key required

Verdict: choose Cosmic for developer tools work as a local process; choose Shadcn Ui MCP Server for developer tools as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Cosmic logoChoose Cosmic when

  • You need dedicated capabilities in the Developer Tools domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: COSMIC_BUCKET_SLUG, COSMIC_READ_KEY, COSMIC_WRITE_KEY.
  • You want tools like cosmic_objects_list, cosmic_objects_get, cosmic_objects_create.
Explore Cosmic

Shadcn Ui MCP Server logoChoose Shadcn Ui MCP Server when

  • You need dedicated capabilities in the Developer Tools domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: API key required.
  • You have the keys it needs: MCP_TRANSPORT_MODE, MCP_PORT, MCP_HOST, MCP_CORS_ORIGINS, GITHUB_PERSONAL_ACCESS_TOKEN, UI_LIBRARY.
  • You want tools like get_component, get_component_demo, list_components.
Explore Shadcn Ui MCP Server

Feature & specification comparison

Rows where the two servers differ are marked.

SpecCosmic logoCosmicShadcn Ui MCP Server logoShadcn Ui MCP Server
CategoryDeveloper ToolsDeveloper Tools
Quality signal56/100 · Good72/100 · Great
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredAPI key required
PricingNot declaredFree
Required env varsCOSMIC_BUCKET_SLUGCOSMIC_READ_KEYCOSMIC_WRITE_KEYMCP_TRANSPORT_MODEMCP_PORTMCP_HOSTMCP_CORS_ORIGINSGITHUB_PERSONAL_ACCESS_TOKENUI_LIBRARY
Verified ownerCommunity listingCommunity listing
GitHub stars13,068
Directory activity 1 views 0 installs 0 upvotes 3 views 0 installs 0 upvotes
Tools1810

Tools & capabilities

Cosmic tools 18

  • cosmic_objects_listList objects with optional type filter, status, and pagination
  • cosmic_objects_getGet a single object by ID or slug
  • cosmic_objects_createCreate a new object (requires write key)
  • cosmic_objects_updateUpdate an existing object (requires write key)
  • cosmic_objects_deleteDelete an object (requires write key)
  • cosmic_media_listList media files with optional folder filter
  • cosmic_media_getGet media details by ID
  • cosmic_media_uploadUpload media from URL or base64 (requires write key)
  • cosmic_media_deleteDelete a media file (requires write key)
  • cosmic_types_listList all object types in the bucket
  • cosmic_types_getGet object type schema by slug
  • cosmic_types_createCreate a new object type (requires write key)
  • +6 more on the listing page

Shadcn Ui MCP Server tools 10

  • get_componentGet the source code for a specific shadcn/ui v4 component
  • get_component_demoGet demo code illustrating how a shadcn/ui v4 component should be used
  • list_componentsGet all available shadcn/ui v4 components
  • get_component_metadataGet metadata for a specific shadcn/ui v4 component
  • get_directory_structureGet the directory structure of the shadcn-ui v4 repository
  • get_blockGet source code for a specific shadcn/ui v4 block (e.g., calendar-01, dashboard-01)
  • list_blocksGet all available shadcn/ui v4 blocks with categorization
  • apply_themeApply a TweakCN theme preset to the project
  • list_themesList available tweakcn themes
  • get_themeGet details of a specific tweakcn theme

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Cosmic

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "cosmic": {
      "command": "npx",
      "args": [
        "-y",
        "@cosmicjs/mcp"
      ],
      "env": {
        "COSMIC_BUCKET_SLUG": "YOUR_COSMIC_BUCKET_SLUG_HERE",
        "COSMIC_READ_KEY": "YOUR_COSMIC_READ_KEY_HERE",
        "COSMIC_WRITE_KEY": "YOUR_COSMIC_WRITE_KEY_HERE"
      }
    }
  }
}

Shadcn Ui MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "jpisnice-shadcn-ui-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jpisnice/shadcn-ui-mcp-server"
      ],
      "env": {
        "MCP_TRANSPORT_MODE": "YOUR_MCP_TRANSPORT_MODE_HERE",
        "MCP_PORT": "YOUR_MCP_PORT_HERE",
        "MCP_HOST": "YOUR_MCP_HOST_HERE",
        "MCP_CORS_ORIGINS": "YOUR_MCP_CORS_ORIGINS_HERE",
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN_HERE",
        "UI_LIBRARY": "YOUR_UI_LIBRARY_HERE"
      }
    }
  }
}

Frequently asked questions

Cosmic is categorized under Developer Tools and uses a local stdio subprocess. Shadcn Ui MCP Server belongs to Developer Tools and uses a local stdio subprocess. Pick Cosmic for developer tools work and Shadcn Ui MCP Server for developer tools.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Cosmic has no declared pricing — check the project's own site. Shadcn Ui MCP Server is listed as free. Auth: api key required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add cosmic and jpisnice-shadcn-ui-mcp-server as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Cosmic has a quality signal of 56/100 (Good) with 1 views, 0 installs and 1 GitHub stars. Shadcn Ui MCP Server has 72/100 (Great) with 3 views, 0 installs and 3,068 GitHub stars.