tetrad 0.1.13

Quadruple Consensus MCP Server for Claude Code - Validates code using Codex, Gemini and Qwen
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
# Tetrad

[![CI](https://github.com/SamoraDC/Tetrad/actions/workflows/ci.yml/badge.svg)](https://github.com/SamoraDC/Tetrad/actions/workflows/ci.yml)
[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io/)
[![npm](https://img.shields.io/npm/v/@samoradc/tetrad.svg)](https://www.npmjs.com/package/@samoradc/tetrad)
[![Crates.io](https://img.shields.io/crates/v/tetrad.svg)](https://crates.io/crates/tetrad)
[![Rust](https://img.shields.io/badge/rust-1.75%2B-orange.svg)](https://www.rust-lang.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

> 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.

## Features

- **Quadruple Consensus**: 4 AI models must agree to approve code
- **ReasoningBank**: Continuous learning system with RETRIEVE→JUDGE→DISTILL→CONSOLIDATE cycle
- **High Performance**: Written in Rust with parallel execution via Tokio
- **MCP Server**: JSON-RPC 2.0 server over stdio for Claude Code integration
- **Full CLI**: Intuitive commands (`init`, `serve`, `status`, `doctor`, `config`, etc.)
- **LRU Cache**: Result caching with configurable TTL
- **Hook System**: Pre/post evaluation callbacks for customization
- **Extensible**: Plugin system for custom executors
- **Cross-session**: SQLite persistence for patterns and history

## Quick Start

### 1. Install Tetrad

```bash
# Via npm (recommended - works seamlessly with Claude Code)
npm install -g @samoradc/tetrad

# Or via cargo (requires additional setup)
cargo install tetrad
sudo cp ~/.cargo/bin/tetrad /usr/local/bin/
```

### 1.1 Initialize in Your Project (Optional)

```bash
npx @samoradc/tetrad init
```

This will:

- Create `tetrad.toml` configuration file
- Create `.tetrad/` directory for the database
- Add `.tetrad/` to your `.gitignore`

### 2. Install and Configure External CLI Tools

Tetrad requires at least one of the following AI CLI tools. **Good news: you don't need separate API keys if you have existing subscriptions!**

#### Codex CLI (OpenAI)

```bash
npm install -g @openai/codex
```

**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 |

```bash
# Option 1: Login with your ChatGPT subscription (recommended)
codex login
# Opens browser for OAuth - follow the prompts

# Option 2: Use API key
export OPENAI_API_KEY="your-openai-key"
```

> **Note:** For headless/remote servers, use `codex login --device-auth` and follow the device code flow.

πŸ“– [Codex CLI Authentication Docs](https://developers.openai.com/codex/auth/)

---

#### Gemini CLI (Google)

```bash
npm install -g @google/gemini-cli
```

**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 |

```bash
# Option 1: Login with Google account (recommended)
gemini auth login
# Opens browser for OAuth - follow the prompts

# Option 2: Use API key from Google AI Studio
export GEMINI_API_KEY="your-gemini-key"
```

> **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](https://google-gemini.github.io/gemini-cli/docs/get-started/authentication.html)

---

#### Qwen CLI (Alibaba)

```bash
npm install -g qwen-code
```

**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 |

```bash
# Get your API key from DashScope console
export DASHSCOPE_API_KEY="your-dashscope-key"

# For international users (outside China)
export OPENAI_BASE_URL="https://dashscope-intl.aliyuncs.com/compatible-mode/v1"
```

> **Regional Endpoints:**
> - Singapore: `dashscope-intl.aliyuncs.com`
> - Virginia: `dashscope-us.aliyuncs.com`
> - Beijing: `dashscope.aliyuncs.com`

πŸ“– [Qwen API Docs](https://www.alibabacloud.com/help/en/model-studio/qwen-api-reference/)

### 3. Verify Installation

```bash
# Check Tetrad version
tetrad version

# Check CLI availability
tetrad status

# Diagnose any issues
tetrad doctor
```

### 4. Add to Claude Code CLI

```bash
# Add Tetrad as MCP server (all projects)
claude mcp add --scope user tetrad -- npx @samoradc/tetrad serve

# Verify it's configured
claude mcp list
```

<details>
<summary>Alternative installation methods</summary>

```bash
# Current project only
claude mcp add tetrad -- npx @samoradc/tetrad serve

# If installed via cargo
claude mcp add --scope user tetrad -- tetrad serve
```

</details>

> **Note:** Tetrad is published on the [MCP Registry]https://registry.modelcontextprotocol.io/ for discoverability and documentation.

### 5. Alternative: Manual Configuration

Create or edit `.mcp.json` in your project root:

```json
{
  "mcpServers": {
    "tetrad": {
      "type": "stdio",
      "command": "npx",
      "args": ["@samoradc/tetrad", "serve"],
      "env": {
        "OPENAI_API_KEY": "${OPENAI_API_KEY}",
        "GOOGLE_API_KEY": "${GOOGLE_API_KEY}",
        "DASHSCOPE_API_KEY": "${DASHSCOPE_API_KEY}"
      }
    }
  }
}
```

Or for global user configuration in `~/.claude.json` (mcpServers section):

```json
{
  "mcpServers": {
    "tetrad": {
      "type": "stdio",
      "command": "npx",
      "args": ["@samoradc/tetrad", "serve"]
    }
  }
}
```

## How It Works

When you ask Claude Code to write code, Tetrad automatically validates it:

```
You: "Create a function in Rust that calculates the average of a vector"

Claude Code:
1. Writes the code
2. Calls tetrad_review_code automatically
3. Tetrad sends to Codex, Gemini and Qwen for evaluation
4. Returns consolidated consensus from all 3 evaluators

Tetrad Response:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ DECISION: PASS βœ“                            β”‚
β”‚ Score: 92/100                               β”‚
β”‚ Consensus: Yes (3/3 approved)               β”‚
β”‚                                             β”‚
β”‚ Votes:                                      β”‚
β”‚   β€’ Codex:  Pass (95)                       β”‚
β”‚   β€’ Gemini: Pass (90)                       β”‚
β”‚   β€’ Qwen:   Pass (92)                       β”‚
β”‚                                             β”‚
β”‚ Suggestions:                                β”‚
β”‚   - Consider handling empty vector case     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Claude Code: Saves the approved code
```

### When Issues Are Found:

```
Tetrad Response:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ DECISION: BLOCK βœ—                           β”‚
β”‚ Score: 26/100                               β”‚
β”‚ Consensus: Yes (3/3 rejected)               β”‚
β”‚                                             β”‚
β”‚ Votes:                                      β”‚
β”‚   β€’ Codex:  Fail (30) - division by zero    β”‚
β”‚   β€’ Gemini: Fail (25) - no error handling   β”‚
β”‚   β€’ Qwen:   Fail (25) - unsafe operation    β”‚
β”‚                                             β”‚
β”‚ Issues:                                     β”‚
β”‚   - Division by zero not handled            β”‚
β”‚   - Missing input validation                β”‚
β”‚   - No Result/Option return type            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Claude Code: Fixes the code and resubmits
```

## CLI Commands

```
tetrad - Quadruple Consensus CLI for Claude Code

COMMANDS:
    init              Initialize configuration in current directory
    serve             Start the MCP server (used by Claude Code)
    status            Show CLI status (codex, gemini, qwen)
    config            Configure options interactively
    doctor            Diagnose configuration issues
    version           Show version
    evaluate          Evaluate code manually (without MCP)
    history           Show evaluation history from ReasoningBank
    export            Export patterns from ReasoningBank
    import            Import patterns into ReasoningBank

OPTIONS:
    -c, --config <FILE>    Configuration file (default: tetrad.toml)
    -v, --verbose          Verbose mode
    -q, --quiet            Quiet mode
    -h, --help             Show help
```

## MCP Tools

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                |

### Workflow Example

```
1. Claude Code generates plan β†’ tetrad_review_plan β†’ Feedback
2. Claude Code implements   β†’ tetrad_review_code β†’ Feedback
3. Claude Code adjusts      β†’ tetrad_confirm     β†’ Confirmation
4. Claude Code finalizes    β†’ tetrad_final_check β†’ Certificate
```

## Architecture

```
Claude Code β†’ MCP Protocol (stdio) β†’ Tetrad Server (Rust)
                                          β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β–Ό                     β–Ό                     β–Ό
              Codex CLI            Gemini CLI              Qwen CLI
              (syntax)            (architecture)           (logic)
                    β”‚                     β”‚                     β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                          β–Ό
                                  Consensus Engine
                                          β”‚
                            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                            β–Ό                           β–Ό
                      LRU Cache                  ReasoningBank
                      (results)                    (SQLite)
                                    RETRIEVE→JUDGE→DISTILL→CONSOLIDATE
```

### Executor Specializations

| Executor         | CLI                   | Specialization              |
| ---------------- | --------------------- | --------------------------- |
| **Codex**  | `codex exec --json` | Syntax and code conventions |
| **Gemini** | `gemini -o json`    | Architecture and design     |
| **Qwen**   | `qwen`              | Logic bugs and correctness  |

### Consensus Rules

| Rule             | Requirement                     | Use Case                |
| ---------------- | ------------------------------- | ----------------------- |
| **Golden** | Unanimity (3/3)                 | Critical code, security |
| **Strong** | 3/3 or 2/3 with high confidence | Default                 |
| **Weak**   | Simple majority (2/3)           | Rapid prototyping       |

## ReasoningBank

The ReasoningBank is a continuous learning system that stores and consolidates code patterns:

### Learning Cycle

```
RETRIEVE β†’ JUDGE β†’ DISTILL β†’ CONSOLIDATE
    β”‚         β”‚        β”‚           β”‚
    β”‚         β”‚        β”‚           └─ Merge similar patterns
    β”‚         β”‚        └─ Extract new patterns
    β”‚         └─ Evaluate code with context
    └─ Search for relevant patterns
```

### Pattern Types

- **AntiPattern**: Patterns to avoid (bugs, vulnerabilities, code smells)
- **GoodPattern**: Patterns to follow (best practices, idiomatic patterns)
- **Ambiguous**: Patterns with uncertain classification (needs more data)

### ReasoningBank Commands

```bash
# View evaluation history
tetrad history --limit 50

# Export patterns to share
tetrad export -o team-patterns.json

# Import patterns from another ReasoningBank
tetrad import team-patterns.json
```

## Configuration

The `tetrad.toml` file is created automatically with `tetrad init`:

```toml
[general]
log_level = "info"
timeout_secs = 60

[executors.codex]
enabled = true
command = "codex"
args = ["exec", "--json"]
timeout_secs = 30

[executors.gemini]
enabled = true
command = "gemini"
args = ["-o", "json"]
timeout_secs = 30

[executors.qwen]
enabled = true
command = "qwen"
args = []
timeout_secs = 30

[consensus]
default_rule = "strong"
min_score = 70
max_loops = 3

[reasoning]
enabled = true
db_path = ".tetrad/tetrad.db"
max_patterns_per_query = 10
consolidation_interval = 100

[cache]
enabled = true
capacity = 1000
ttl_secs = 300
```

### Interactive Configuration

Use `tetrad config` for interactive configuration:

```
πŸ”§ Tetrad Interactive Configuration

What would you like to configure?
❯ General Settings
  Executors (Codex, Gemini, Qwen)
  Consensus
  ReasoningBank
  Save and Exit
  Exit without Saving
```

## LRU Cache

The system includes an LRU cache to avoid unnecessary re-evaluations:

- **Capacity**: Configurable (default: 1000 entries)
- **TTL**: Configurable time-to-live (default: 5 minutes)
- **Key**: Hash of code + language + evaluation type
- **Invalidation**: Automatic by TTL or manual

## Hook System

Hooks allow customizing behavior at specific points:

| Hook              | When                   | Use                             |
| ----------------- | ---------------------- | ------------------------------- |
| `pre_evaluate`  | Before evaluation      | Modify request, skip evaluation |
| `post_evaluate` | After evaluation       | Logging, metrics, notifications |
| `on_consensus`  | When consensus reached | Automatic actions on approval   |
| `on_block`      | When code blocked      | Alerts, automatic rollback      |

### Built-in Hooks

- **LoggingHook**: Records all evaluations
- **MetricsHook**: Collects usage statistics

## Project Structure

```
tetrad/
β”œβ”€β”€ Cargo.toml              # Crate manifest
β”œβ”€β”€ CLAUDE.md               # Documentation for Claude Code
β”œβ”€β”€ README.md               # This file
β”œβ”€β”€ Tetrad.md               # Complete specification
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.rs             # Entry point (CLI)
β”‚   β”œβ”€β”€ lib.rs              # Exportable library
β”‚   β”œβ”€β”€ cli/
β”‚   β”‚   β”œβ”€β”€ mod.rs          # CLI definition with clap
β”‚   β”‚   β”œβ”€β”€ commands.rs     # Command implementations
β”‚   β”‚   └── interactive.rs  # Interactive configuration (dialoguer)
β”‚   β”œβ”€β”€ executors/
β”‚   β”‚   β”œβ”€β”€ mod.rs
β”‚   β”‚   β”œβ”€β”€ base.rs         # CliExecutor trait
β”‚   β”‚   β”œβ”€β”€ codex.rs        # Codex executor
β”‚   β”‚   β”œβ”€β”€ gemini.rs       # Gemini executor
β”‚   β”‚   └── qwen.rs         # Qwen executor
β”‚   β”œβ”€β”€ types/
β”‚   β”‚   β”œβ”€β”€ mod.rs
β”‚   β”‚   β”œβ”€β”€ config.rs       # TOML configuration
β”‚   β”‚   β”œβ”€β”€ errors.rs       # TetradError/TetradResult
β”‚   β”‚   β”œβ”€β”€ requests.rs     # EvaluationRequest
β”‚   β”‚   └── responses.rs    # EvaluationResult, ModelVote
β”‚   β”œβ”€β”€ consensus/
β”‚   β”‚   β”œβ”€β”€ mod.rs          # Exports
β”‚   β”‚   β”œβ”€β”€ engine.rs       # ConsensusEngine
β”‚   β”‚   β”œβ”€β”€ aggregator.rs   # Vote aggregation
β”‚   β”‚   └── rules.rs        # Voting rules
β”‚   β”œβ”€β”€ reasoning/
β”‚   β”‚   β”œβ”€β”€ mod.rs          # Exports
β”‚   β”‚   β”œβ”€β”€ bank.rs         # ReasoningBank
β”‚   β”‚   β”œβ”€β”€ patterns.rs     # Pattern types
β”‚   β”‚   β”œβ”€β”€ sqlite.rs       # SQLite storage
β”‚   β”‚   └── export.rs       # Import/Export
β”‚   β”œβ”€β”€ mcp/
β”‚   β”‚   β”œβ”€β”€ mod.rs          # Exports
β”‚   β”‚   β”œβ”€β”€ server.rs       # MCP server
β”‚   β”‚   β”œβ”€β”€ protocol.rs     # JSON-RPC types
β”‚   β”‚   β”œβ”€β”€ tools.rs        # Tool handlers
β”‚   β”‚   └── transport.rs    # Stdio transport
β”‚   β”œβ”€β”€ cache/
β”‚   β”‚   β”œβ”€β”€ mod.rs          # Exports
β”‚   β”‚   └── lru.rs          # LRU cache
β”‚   └── hooks/
β”‚       β”œβ”€β”€ mod.rs          # Hook trait and HookSystem
β”‚       └── builtin.rs      # Default hooks
└── tests/
    β”œβ”€β”€ cli_integration.rs
    β”œβ”€β”€ consensus_integration.rs
    β”œβ”€β”€ mcp_integration.rs
    └── reasoning_integration.rs
```

## Development

```bash
# Build
cargo build
cargo build --release

# Tests
cargo test                          # All tests
cargo test --lib                    # Unit tests only
cargo test --tests                  # Integration tests only

# Lint
cargo clippy --all-targets --all-features -- -D warnings

# Format
cargo fmt
cargo fmt --check

# Documentation
cargo doc --open

# Run CLI
cargo run -- status
cargo run -- doctor
cargo run -- version
cargo run -- config
```

## Troubleshooting

### "CLI not found"

```bash
# Check if CLIs are in PATH
which codex
which gemini
which qwen

# Check configuration
tetrad doctor
```

### "stdin is not a terminal" (Codex)

Make sure your config uses `exec --json`:

```toml
[executors.codex]
args = ["exec", "--json"]
```

### "Response does not contain valid JSON" (Gemini)

Make sure your config uses `-o json`:

```toml
[executors.gemini]
args = ["-o", "json"]
```

### Check MCP status in Claude Code

Inside Claude Code, run:

```
/mcp
```

## Prerequisites

To use Tetrad, you need at least one of the AI CLIs installed and authenticated:

| CLI | Installation | Auth Without API Key? | Free Tier |
|-----|--------------|----------------------|-----------|
| [Codex CLI]https://github.com/openai/codex | `npm i -g @openai/codex` | βœ… ChatGPT Plus/Pro/Business | Via subscription |
| [Gemini CLI]https://github.com/google-gemini/gemini-cli | `npm i -g @google/gemini-cli` | βœ… Google account | 1,000 req/day |
| [Qwen CLI]https://github.com/QwenLM/Qwen | `npm i -g qwen-code` | ❌ DashScope key required | 2,000 req/day |

Check availability with:

```bash
tetrad status
tetrad doctor
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

MIT

## Author

SamoraDC

---

**Links:**

- [MCP Registry]https://registry.modelcontextprotocol.io/
- [npm]https://www.npmjs.com/package/@samoradc/tetrad
- [Crates.io]https://crates.io/crates/tetrad
- [Documentation]https://docs.rs/tetrad
- [GitHub Repository]https://github.com/SamoraDC/Tetrad