Primer MCP
Verified · npm:@primerMCP server by primer · updated · ★ 3.9k · 7.2k downloads a week
An MCP server that connects AI tools to the Primer Design System Primer MCP is published by npm:@primer from its verified domain in the official MCP Registry.
Last commit in the past day
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 3,920 stars, original repository
Not checked yet. What we check
Install Primer MCP
Built from the published package, never by AIclaude mcp add primer-mcp -- npx -y @primer/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"primer-mcp": {
"command": "npx",
"args": [
"-y",
"@primer/mcp"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"primer-mcp": {
"command": "npx",
"args": [
"-y",
"@primer/mcp"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"primer-mcp": {
"command": "npx",
"args": [
"-y",
"@primer/mcp"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add primer-mcp -- npx -y @primer/mcp{
"mcpServers": {
"primer-mcp": {
"command": "npx",
"args": [
"-y",
"@primer/mcp"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add primer-mcp npx -y @primer/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the primer-mcp block.
Alternatives to Primer MCP
All alternatives →Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Structured visual plans and PR recaps with diagrams, prototypes, annotations, and sharing
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Make 3D games in Unity Engine with AI. MCP Server + Plugin for Unity Editor and Unity games.
Agent skill that generates beautiful HTML pages for diagrams, diff reviews, plan reviews, slide decks, and data tables
Primer MCP: common questions
How do I install Primer MCP?
In Claude Code run claude mcp add primer-mcp -- npx -y @primer/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Primer MCP the official server?
Primer MCP is published by npm:@primer from its verified domain in the official MCP Registry.
Is Primer MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Primer MCP safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Primer MCP?
Similar MCP servers: GitDiagram, draw.io, Agent-Native Plan, Figma-Context-MCP.
Does Primer MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
