@sdvf23rvfa43f/shadcn-workspace-mcp
v0.1.1
Published
MCP server that installs shadcn items in isolated workspaces and returns file changes.
Readme
Shadcn Workspace MCP
This sidecar is meant to run beside the LangGraph worker. Supabase Edge only sends routing metadata; it never runs npx shadcn.
Run
npm run shadcn:mcpFrom this package folder:
npm startAfter publishing to npm:
npx -y @sdvf23rvfa43f/shadcn-workspace-mcpLiteLLM Gateway
Register it in LiteLLM as a stdio MCP server. The recommended server name is shadcn_workspace.
mcp_servers:
shadcn_workspace:
command: "npx"
args:
- "-y"
- "@sdvf23rvfa43f/[email protected]"
transport: "stdio"
description: "Per-job shadcn workspace installer for Caasify Appbuilder"If you need a different name, set LITELLM_SHADCN_MCP_SERVER.
The LangGraph worker should call these tools only when use_shadcn_mcp=true:
Workspace install flow:
prepare_workspacesearch_shadcninstall_shadcn_itemscollect_workspace_diffcleanup_workspace
Additional shadcn/ui reference tools are proxied from @sherifbutt/shadcn-ui-mcp-server:
list_componentsget_component_sourceget_component_metadataget_component_demoinstall_componentlist_blocksget_block_sourceinstall_blockbrowse_repositorysearch_repositoryinit_shadcncheck_project_status
collect_workspace_diff returns normal file_changes that can be merged into the existing builder result.
The verification script expects these 17 tools and fails if duplicate tool names are returned.
Verify
npm run shadcn:mcp:verifyFrom this package folder:
npm run verify:litellm