You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data/material/getting-started/mcp/mcp.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ MCP solves these problems by:
21
21
22
22
## Installation and setup
23
23
24
-
The sections below detail how to set up the Material UI MCP in popular IDEs.
24
+
The sections below detail how to set up the Material UI MCP in popular agentic coding environments.
25
25
26
26
### VS Code, Cursor, Windsurf
27
27
@@ -83,6 +83,26 @@ Search for `agent: add context server` in the Command Palette and add the follow
83
83
}
84
84
```
85
85
86
+
### Claude Code
87
+
88
+
Claude Code is Anthropic's agentic coding tool that runs in your terminal.
89
+
90
+
You can add the Material UI MCP server to Claude Code via the command line:
91
+
92
+
```bash
93
+
claude mcp add mui-mcp -- npx -y @mui/mcp@latest
94
+
```
95
+
96
+
By default, this installs the MCP server to local-scope of the project you are working on.
97
+
98
+
If you want the MCP server to always be available to all projects on your machine, you would install it to user-scope:
99
+
100
+
```bash
101
+
claude mcp add mui-mcp -s user -- npx -y @mui/mcp@latest
102
+
```
103
+
104
+
To better understand MCP server scope hierarchy and precedence in Claude Code, see their [official documentation](https://docs.anthropic.com/en/docs/claude-code/mcp#understanding-mcp-server-scopes).
105
+
86
106
## Common issues
87
107
88
108
### I've installed the MCP but there are errors in connection
0 commit comments