Now that you have the shadcn/ui MCP Server installed, let's make your first component request!
# Basic start (React framework)
npx @jpisnice/shadcn-ui-mcp-server
# With GitHub token (recommended)
npx @jpisnice/shadcn-ui-mcp-server --github-api-key ghp_your_token_here
# Different framework
npx @jpisnice/shadcn-ui-mcp-server --framework svelte --github-api-key ghp_your_token_here
npx @jpisnice/shadcn-ui-mcp-server --framework vue --github-api-key ghp_your_token_here
npx @jpisnice/shadcn-ui-mcp-server --framework react-native --github-api-key ghp_your_token_hereYou should see output like:
INFO: MCP Server starting...
INFO: Framework set to 'react' via command line argument
INFO: MCP Server configured for REACT framework
INFO: Repository: shadcn-ui/ui
INFO: File extension: .tsx
INFO: MCP Server ready
Once the server is running, you can ask your AI assistant to:
"Show me the source code for the shadcn/ui button component"
"List all available shadcn/ui components"
"Show me how to use the shadcn/ui card component"
"What are the dependencies for the shadcn/ui dialog component?"
"Get the dashboard-01 block implementation"
"Show me all available shadcn/ui blocks"
"Get the calendar-01 block with all its component files"
"Show me the structure of the shadcn/ui repository"
"Show me the components directory structure"
You: "Help me build a login form using shadcn/ui components"
AI Assistant: Can now access all form-related components, their source code, and usage examples
You: "Create a dashboard using shadcn/ui components. Use the dashboard-01 block as a starting point"
AI Assistant: Can retrieve the complete dashboard block and customize it for your needs
You: "Compare the button component implementations between React and Svelte"
AI Assistant: Can switch frameworks and show you both implementations
- Install Continue Extension in VS Code
- Configure MCP Server in settings
- Ask questions directly in your editor
- Add MCP Server to Claude Desktop configuration
- Start conversation with Claude
- Request components naturally
- Configure MCP Server in Cursor settings
- Use AI features with shadcn/ui access
- Generate code with proper components
"Show me the React button component with TypeScript"
"Get the React card component demo"
"List all React components available"
"Show me the Svelte button component"
"Get the Svelte card component with usage examples"
"Compare Svelte and React button implementations"
"Show me the Vue button component"
"Get the Vue card component demo"
"List all Vue components available"
"Show me the React Native button component"
"List all React Native components available"
"Get the React Native input component metadata"
- Integration - Connect to your preferred editor or tool
- Usage Examples - More detailed examples and tutorials
- API Reference - Complete tool reference
- Troubleshooting - Common issues and solutions
You'll know it's working when:
- ✅ Server starts without errors
- ✅ AI assistant can retrieve component source code
- ✅ Component code includes proper imports and dependencies
- ✅ Framework-specific syntax is correct
- ✅ Blocks include all necessary component files
# Check Node.js version
node --version # Should be 18+
# Check if npx is available
npx --version# Add GitHub token
npx @jpisnice/shadcn-ui-mcp-server --github-api-key ghp_your_token_here# Check available components first
# Ask AI assistant: "List all available components"# Verify framework selection
npx @jpisnice/shadcn-ui-mcp-server --framework svelte --help