Install MCP servers in Claude Code.
Claude Code supports MCP servers through a JSON config file. This guide shows you how to add a server, restart, and verify that the tools show up.
1. Open the config file
On macOS, the config lives at:
~/Library/Application Support/Claude/claude_desktop_config.json
On Windows, the equivalent path is inside %APPDATA%\Claude\claude_desktop_config.json. You can also open it from Claude Code's settings menu.
2. Add a server
Every server page on MCP Select includes a Claude Code install snippet. Copy it and paste it inside mcpServers. Example for Playwright MCP:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@executeautomation/playwright-mcp-server"]
}
}
}Servers that need an API key also include an env block. Paste your key value there.
3. Restart Claude Code
Close Claude Code completely and reopen it. The app discovers tools on startup. If you edit the file while Claude is running, the changes are not picked up until restart.
4. Verify the tools
Ask Claude:
List the tools from the Playwright MCP server.
If the server installed correctly, Claude will show the available tools. If you see an error, check the config path, restart again, or visit the server's page for troubleshooting.
Common issues
- Tools do not appear: Restart Claude Code. The config is only read at startup.
- Connection error: Check that npx is installed and the package name matches the server page exactly.
- API key errors: Make sure the env variable name matches what the server expects.
- Slow first run: npx may download the package on first use. Subsequent starts are faster.
Browse tested servers
Find servers with verified Claude Code install configs on our category pages.
Browse categories