What is Usercase MCP?
Usercase is an MCP server. Ask real users on your site and run virtual users in a real browser, then fix what they hit.
How to install Usercase MCP
Formats verified 10 Nov 2026Install Usercase MCP in Claude Code
$ claude mcp add --env USERCASE_API_KEY=<YOUR_USERCASE_API_KEY> mcp -- npx -y @usercase/mcpInstall Usercase MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@usercase/mcp"
],
"env": {
"USERCASE_API_KEY": "<YOUR_USERCASE_API_KEY>"
}
}
}
}Install Usercase MCP in VS Code
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@usercase/mcp"
],
"env": {
"USERCASE_API_KEY": "<YOUR_USERCASE_API_KEY>"
}
}
}
}Install Usercase MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@usercase/mcp"
],
"env": {
"USERCASE_API_KEY": "<YOUR_USERCASE_API_KEY>"
}
}
}
}Install Usercase MCP in Codex
~/.codex/config.toml
[mcp_servers.mcp] command = "npx" args = ["-y", "@usercase/mcp"] [mcp_servers.mcp.env] USERCASE_API_KEY = "<YOUR_USERCASE_API_KEY>"
Install Usercase MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@usercase/mcp"
],
"env": {
"USERCASE_API_KEY": "<YOUR_USERCASE_API_KEY>"
}
}
}
}Set 2 environment variables before starting the server (below).Setup guides:Claude CodeCursorVS CodeClaude Desktop
Configuration
USERCASE_API_KEYSecretOptional. Leave empty to connect in the browser on first use, or paste a key from Dashboard → Settings → API keys.
USERCASE_DIAGNOSTICSOptional. Set to off to stop sending tool failure diagnostics to the Usercase team.
| Name | Description | |
|---|---|---|
| USERCASE_API_KEY | Optional. Leave empty to connect in the browser on first use, or paste a key from Dashboard → Settings → API keys. | Secret |
| USERCASE_DIAGNOSTICS | Optional. Set to off to stop sending tool failure diagnostics to the Usercase team. |
Usercase MCP questions
How do I add Usercase MCP to Claude Code?
Run claude mcp add --env USERCASE_API_KEY=<YOUR_USERCASE_API_KEY> mcp -- npx -y @usercase/mcp in your terminal. Add --scope user to make it available in every project.
How do I add Usercase MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.