pglevy/design-system-server
If you are the rightful owner of design-system-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a Model Context Protocol (MCP) server designed to provide access to design system documentation through GitHub repositories, enabling LLMs like Claude to query and explore design system components, layouts, and patterns.
Design System MCP Server
This is a Model Context Protocol (MCP) server that provides access to design system documentation through GitHub repositories. It allows LLMs like Claude to query and explore design system components, layouts, and patterns.
Features
- Browse design system categories (components, layouts, patterns)
- List components within a category
- Get detailed component information including guidance and code examples
- Search across all components by keyword
Installation
- Clone this repository (or fork it to your own GitHub account)
- Copy the environment file and configure it:
cp .env.example .env
- Edit
.env
and update the values:GITHUB_TOKEN
: Your GitHub personal access token (generate at https://github.com/settings/tokens)GITHUB_OWNER
: Your GitHub username (the repository owner)GITHUB_REPO
: Your repository name (e.g., "design-system-docs")
- Install dependencies:
npm install
- Build the server:
npm run build
See for more detailed instructions on setting up to use with Amazon Q.
Usage with Claude Desktop
-
Make sure you have Claude Desktop installed and up to date
-
Edit the Claude Desktop configuration file:
MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%AppData%\Claude\claude_desktop_config.json
-
Add the server configuration:
{ "mcpServers": { "design-system": { "command": "node", "args": [ "/ABSOLUTE/PATH/TO/design-system-server/build/index.js" ] } } }
(Replace
/ABSOLUTE/PATH/TO
with the actual path to this directory) -
Restart Claude Desktop
Tools
The server provides the following tools:
- list-categories: Lists all available design system categories
- list-components: Lists all components in a specific category
- get-component-details: Gets detailed information about a specific component
- search-design-system: Searches across all components by keyword
Example Queries
Here are some example queries you can ask Claude:
- "What design system categories are available?"
- "Show me all components in the 'layouts' category"
- "Get details about the 'cards' component"
- "Search the design system for 'navigation'"
Troubleshooting
If you encounter issues:
- Check Claude Desktop logs:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
- Verify your server builds and runs without errors
- Make sure the configuration path is absolute and correct
- Restart Claude Desktop completely