@primer/mcp
The Primer MCP server connects AI tools to Primer's design system. It provides
tools for AI agents to connect with design tokens, components, patterns, and
more.
Getting started

The @primer/mcp
package provides a server that can be run in your local
development environment or can be setup in tools like GitHub Actions to be used
by AI agents.
VS Code
To use @primer/mcp
in VS Code, you can use the button in the section above or
follow these steps:
- Open the Command Palette (Cmd/Ctrl + Shift + P)
- Type
MCP: Install Server
and select it
- Select the
stdio
type
- Enter in the following command:
npx @primer/mcp@latest
- Enter the name
Primer
for the server
Your MCP servers configuration should look like:
{
"servers": {
"Primer": {
"type": "stdio",
"command": "npx",
"args": ["@primer/mcp@latest"]
}
},
"inputs": []
}
🙌 Contributing
We love collaborating with folks inside and outside of GitHub and welcome contributions! If you're interested, check out our contributing docs for more info on how to get started.