Tetrad is a high-performance MCP (Model Context Protocol) server written in Rust that orchestrates three AI-powered CLI code evaluation tools (Codex, Gemini CLI, Qwen) to validate all code produced by Claude Code.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tetrad -- npx -y @samoradc/tetrad~/.codex/config.toml
[mcp_servers.tetrad]
command = "npx"
args = ["-y", "@samoradc/tetrad"]
# codex mcp add tetrad -- npx -y @samoradc/tetrad~/.cursor/mcp.json
{
"mcpServers": {
"tetrad": {
"command": "npx",
"args": [
"-y",
"@samoradc/tetrad"
]
}
}
}.vscode/mcp.json
{
"servers": {
"tetrad": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@samoradc/tetrad"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tetrad": {
"command": "npx",
"args": [
"-y",
"@samoradc/tetrad"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tetrad": {
"command": "npx",
"args": [
"-y",
"@samoradc/tetrad"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"tetrad": {
"command": "npx",
"args": [
"-y",
"@samoradc/tetrad"
]
}
}
}