GenClass — Claude Code MCP server: what it does, how to install
GenClass — an MCP server for Claude Code and other platforms that detects race conditions in web applications by reordering responses.
Apache-2.0 ★ 11 updated 2026-11-16
claude mcp add genclass -- npx -y @genclass/mcpWhat GenClass does
The tool connects to a local web app instance and gives the coding agent a complete history of requests, responses, and state changes. The genclass_explore command replays execution steps with altered network response orders to catch stale data overrides and silent errors.
Execution happens locally on your machine with no external dependencies. A working Node.js environment is required to run the package via npx.
What it helps with
- detect silent state overwrite bugs
- reproduce network response race conditions
- verify fixes for race issues
- generate failing Playwright tests
Example prompts for the agent
- Explore network reordering issues using
genclass_explore - Replay the exact response order that caused the bug
- Generate a failing test for the current race condition via
genclass_explain
How to install GenClass
Platform CLI
claude mcp add genclass -- npx -y @genclass/mcpPlatform CLI
codex mcp add mcp -- npx -y @genclass/mcpConfig file
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@genclass/mcp"
]
}
}
}Config file
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@genclass/mcp"
]
}
}
}Platform CLI
gemini mcp add mcp npx -y @genclass/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about GenClass
How to install GenClass in Claude Code?
Run claude mcp add genclass -- npx -y @genclass/mcp in your terminal.
What does GenClass do?
It reorders network responses in local web applications to help coding agents find and prove race conditions before users hit them.
What is needed to run GenClass?
Node.js is required to execute the package via npx on your machine.