Quadruple consensus MCP server for code validation using Codex, Gemini, and Qwen
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Tetrad.
tetrad_review_planReview implementation plans before coding
tetrad_review_codeReview code before saving
tetrad_review_testsReview tests before finalizing
tetrad_confirmConfirm agreement with received feedback
tetrad_final_checkFinal verification before commit
tetrad_statusCheck health of evaluators
Quadruple Consensus MCP Server for Claude Code
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.
The system implements a quadruple consensus protocol where no code or plan is accepted without approval from four intelligences: the three external evaluators + Claude Code itself.
init, serve, status, doctor, config, etc.)This will:
tetrad.toml configuration file.tetrad/ directory for the database.tetrad/ to your .gitignoreTetrad requires at least one of the following AI CLI tools. Good news: you don't need separate API keys if you have existing subscriptions!
Authentication options:
| Method | Requirements | API Key Needed? |
|---|---|---|
| ChatGPT Login | ChatGPT Plus, Pro, Business, Edu, or Enterprise subscription | No |
| API Key | OpenAI API account with credits | Yes |
Note: For headless/remote servers, use
codex login --device-authand follow the device code flow.
π Codex CLI Authentication Docs
Authentication options:
| Method | Requirements | API Key Needed? | Free Tier |
|---|---|---|---|
| Google Login | Personal Google account | No | 60 req/min, 1,000 req/day |
| API Key | Google AI Studio account | Yes | Same limits |
Free Tier: With a personal Google account, you get access to Gemini 2.5 Pro with 1M token context window at no cost!
π Gemini CLI Authentication Docs
Authentication options:
| Method | Requirements | API Key Needed? | Free Tier |
|---|---|---|---|
| DashScope API | Alibaba Cloud account | Yes | 2,000 req/day |
| Coding Plan | Qwen Coding subscription | Yes (different format) | Included |
Regional Endpoints:
- Singapore:
dashscope-intl.aliyuncs.com- Virginia:
dashscope-us.aliyuncs.com- Beijing:
dashscope.aliyuncs.com
π Qwen API Docs
Note: Tetrad is published on the MCP Registry for discoverability and documentation.
Create or edit .mcp.json in your project root:
Or for global user configuration in ~/.claude.json (mcpServers section):
When you ask Claude Code to write code, Tetrad automatically validates it:
When running as MCP server, Tetrad exposes 6 tools:
| Tool | Description |
|---|---|
tetrad_review_plan | Review implementation plans before coding |
tetrad_review_code | Review code before saving |
tetrad_review_tests | Review tests before finalizing |
tetrad_confirm | Confirm agreement with received feedback |
tetrad_final_check | Final verification before commit |
tetrad_status | Check health of evaluators |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tetrad)<a href="https://allmcps.com/mcp/tetrad"><img src="https://allmcps.com/api/badge/tetrad?style=directory" alt="Tetrad on AllMCPs" /></a>