Skip to content

Commit 36476e2

Browse files
[docs] Add MCP server installation details for Claude Code (#46621)
1 parent 348eb57 commit 36476e2

File tree

1 file changed

+21
-1
lines changed
  • docs/data/material/getting-started/mcp

1 file changed

+21
-1
lines changed

docs/data/material/getting-started/mcp/mcp.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ MCP solves these problems by:
2121

2222
## Installation and setup
2323

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.
2525

2626
### VS Code, Cursor, Windsurf
2727

@@ -83,6 +83,26 @@ Search for `agent: add context server` in the Command Palette and add the follow
8383
}
8484
```
8585

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+
86106
## Common issues
87107

88108
### I've installed the MCP but there are errors in connection

0 commit comments

Comments
 (0)