Claude Desktop Setup¶
Complete guide to setting up DSS Material with Claude Desktop.
Prerequisites¶
- Claude Desktop installed
- Go 1.21+ (for installing MCP server)
- Terminal access
Step 1: Install MCP Server¶
Verify it's in your PATH:
If not found, add $GOPATH/bin to your PATH:
Step 2: Configure Claude Desktop¶
Locate Config File¶
| OS | Path |
|---|---|
| macOS | ~/.claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/claude/claude_desktop_config.json |
Add MCP Server¶
Edit the config file:
{
"mcpServers": {
"material-design": {
"command": "dss-material-mcp",
"args": ["--version", "v3"]
}
}
}
Multiple Servers
You can add multiple MCP servers. Each server name must be unique:
Step 3: Restart Claude Desktop¶
- Quit Claude Desktop completely
- Reopen Claude Desktop
- The MCP server should now be available
Step 4: Verify Setup¶
Start a new conversation and ask:
"What Material Design components are available?"
If working correctly, Claude will use the dss_list_components tool.
Using DSS Material¶
Component Specifications¶
Ask about any Material Design component:
- "How do I implement a filled button?"
- "What variants does the card component have?"
- "Show me the text field properties"
Design Tokens¶
Query design tokens:
- "What's the primary color?"
- "Show me the typography scale"
- "What are the elevation levels?"
Accessibility¶
Check accessibility requirements:
- "What are the keyboard shortcuts for buttons?"
- "What ARIA attributes do I need for a dialog?"
- "How should I handle focus in a modal?"
Anti-Patterns¶
Avoid common mistakes:
- "What are button anti-patterns?"
- "What should I avoid when implementing cards?"
Example Workflows¶
Building a Form¶
"I need to build a login form with Material Design. What components should I use and what are their specs?"
Claude will:
- Suggest TextField, Button components
- Provide specifications for each
- Include accessibility requirements
- Warn about anti-patterns
Theming¶
"I want to create a custom Material theme. What tokens do I need to customize?"
Claude will:
- List color tokens
- Explain dynamic color system
- Provide token values for reference
Code Review¶
"Review this button implementation for Material Design compliance: [code]"
Claude will:
- Check against component specification
- Verify accessibility requirements
- Identify anti-patterns
- Suggest improvements
Troubleshooting¶
"Tools not available"¶
- Check config JSON syntax
- Verify server is installed:
which dss-material-mcp - Restart Claude Desktop
- Check logs:
~/.claude/logs/mcp.log
"Server connection failed"¶
- Test server standalone:
dss-material-mcp --version v3 - Check for port conflicts
- Ensure Go binary is executable
"Unknown component"¶
The component may not be in the spec yet. Check the Spec Viewer for available components.
Next Steps¶
- Explore Component Specifications
- Review Design Tokens
- Check Evaluation Dashboard for spec completeness