SuperComponents Server
OfficialIntegrates with OpenAI's API to power AI-driven component analysis and generation, requiring an API key for processing design inputs and generating implementation instructions.
Allows analyzing existing React component libraries and generating structured implementation instructions for React components based on design inputs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SuperComponents Servergenerate a button component from this Figma design"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SuperComponents Server
MCP server for AI-powered component generation - analyze designs, generate components, and create implementation instructions.
Overview
SuperComponents Server is an MCP (Model Context Protocol) server that provides AI-powered component generation capabilities. It enables developers to parse design inputs, analyze component libraries, and generate implementation instructions through a standardized protocol interface.
Related MCP server: Universal Netlist MCP Server
Installation
Install the Package
# Install in your project
npm install supercomponents-server
# Or install globally (requires additional setup)
npm install -g supercomponents-serverConfigure MCP Client
This package is an MCP server that needs to be configured in your MCP client (like Cursor, Claude Desktop, etc.).
For Cursor IDE
Add to your .cursor/mcp.json file:
{
"mcpServers": {
"supercomponents-server": {
"command": "node",
"args": ["./node_modules/supercomponents-server/build/index.js"]
}
}
}For Claude Desktop
Add to your MCP configuration:
{
"mcpServers": {
"supercomponents-server": {
"command": "node",
"args": ["path/to/node_modules/supercomponents-server/build/index.js"]
}
}
}Alternative: Using npx
You can also use npx to run the server:
{
"mcpServers": {
"supercomponents-server": {
"command": "npx",
"args": ["supercomponents-server"]
}
}
}Usage
Once configured, the MCP server provides these tools to your AI assistant:
Available MCP Tools
parse.design: Convert design inputs into structured JSON representationsanalyze.components: Analyze existing component structures and patternsgenerate.instruction: Generate detailed implementation instructions for component development
Example Usage
The AI assistant can use these tools to:
# Parse a design file
parse.design({ input: "design-file.json" })
# Analyze component library
analyze.components({ library: "react-components" })
# Generate implementation instructions
generate.instruction({ component: "Button", requirements: "..." })Configuration
Environment Variables
The server may require certain environment variables for AI model integration:
# Example - check specific AI provider requirements
OPENAI_API_KEY=your_api_key_hereProject Structure
When using the server, ensure your project has the expected structure for component analysis:
your-project/
├── src/
│ ├── components/
│ ├── designs/
│ └── ...
├── package.json
└── ...Development
If you want to contribute to or modify the server:
Setup
# Clone the repository
git clone https://github.com/SuperComponents/SuperComponents.git
cd SuperComponents
# Install dependencies
npm install
# Build the project
npm run buildDevelopment Commands
# Watch mode compilation
npm run dev
# Build for production
npm run build
# Run tests
npm test
# Start the server
npm startFeatures
Design Parsing: Convert design inputs into structured JSON representations
Component Analysis: Analyze existing component structures and patterns
Instruction Generation: Generate detailed implementation instructions for component development
MCP Protocol: Standardized interface for AI assistant integration
TypeScript Support: Full TypeScript support with type definitions
Architecture
Built with:
Node.js & TypeScript
MCP (Model Context Protocol) SDK
Zod for schema validation
AI model integration for processing tasks
Troubleshooting
Common Issues
MCP Server Not Found: Ensure the package is installed and the path in your MCP configuration points to
node_modules/supercomponents-server/build/index.jsPermission Errors: Ensure Node.js has permission to execute the server files
Port Conflicts: The server uses standard MCP protocol - ensure no conflicts with other MCP servers
Module Not Found: Run
npm installto ensure all dependencies are installed
Debug Mode
Enable debug logging by setting:
DEBUG=supercomponents-server node node_modules/supercomponents-server/build/index.jsContributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT License - see LICENSE file for details
Support
GitHub Issues: Report bugs or request features
Documentation: Full documentation
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SuperComponents/SuperComponents'
If you have feedback or need assistance with the MCP directory API, please join our Discord server