AI assistant for Modus Web Components - Get instant help with component documentation, design rules, and setup guides directly in your IDE.
This MCP server gives AI assistants (like Cursor, Claude, VS Code) access to complete Modus Web Components documentation. Ask questions like:
- "How do I use a Modus button with primary color?"
- "What are the Modus color guidelines?"
- "Show me how to set up a React project with Modus components"
- "Which components have a disabled attribute?"
Choose one of the two options below:
For any IDE with MCP support:
{
"mcpServers": {
"modus-docs": {
"command": "npx",
"args": ["-y", "@julianoczkowski/mcp-modus"]
}
}
}Benefits: No installation required, always uses latest version, no permission issues.
-
Install globally:
npm install -g @julianoczkowski/mcp-modus
Note: On some systems, you may need
sudo npm install -g @julianoczkowski/mcp-modus -
Use this config:
{ "mcpServers": { "modus-docs": { "command": "mcp-modus" } } }
Benefits: Faster startup, works offline after installation.
- Go to
Settings → Features → MCP - Click "Add New MCP Server"
- Use one of the JSON configs above
Add to ~/.continue/config.json using one of the JSON configs above.
Add to your config file using one of the JSON configs above:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
- Complete API documentation for all Modus Web Components
- Usage examples and best practices
- Attribute and event references
- Color palettes and usage rules
- Icon guidelines and available icons
- Spacing, typography, and layout systems
- Border radius and stroke guidelines
- HTML project setup instructions
- React project integration guide
- Theme implementation and customization
- Testing guidelines and best practices
Once configured, ask your AI assistant:
"Create a Modus button with warning color and medium size"
"What spacing values should I use in my Modus design?"
"How do I set up a new React project with Modus Web Components?"
"Show me all Modus form components"
"What are the available Modus color tokens?"
The AI will use the MCP server to fetch the latest documentation and provide accurate, up-to-date answers.
- Ensure Node.js 18+ is installed:
node --version - For global install: verify with
mcp-modus --help - Check IDE logs for error messages
If you used the NPX option (Option 1), the documentation is temporarily cached by NPX. To clear this cache:
# Clear NPX cache for this package
npx clear-npx-cache @julianoczkowski/mcp-modus
# Or clear entire NPX cache
npm cache clean --forceIf you used the Global Install option (Option 2), uninstall with:
npm uninstall -g @julianoczkowski/mcp-modusBuilt for developers using Modus Web Components | MIT License | Made by Julian Oczkowski
