@triedotdev/mcp 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/QUICK_START.md CHANGED
@@ -171,7 +171,7 @@ Create `.trie/config.json` in your project root to customize behavior:
171
171
  "security": { "enabled": true },
172
172
  "privacy": { "enabled": true },
173
173
  "legal": { "enabled": true },
174
- "design-engineer": { "enabled": true }
174
+ "accessibility": { "enabled": true }
175
175
  }
176
176
  }
177
177
  }
package/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # Trie
2
2
 
3
- **Customizable Agent Parallelization for AI Code Review**
3
+ **Customizable Parallel Agents for AI Code Review**
4
4
 
5
- 13 specialized agents scan your code for security, privacy, compliance, and bugs—all running in parallel. Create custom agents from any document.
5
+ 15 specialized agents scan your code for security, privacy, compliance, and bugs—all running in parallel. Create custom agents from any document.
6
6
 
7
7
  ## Features
8
8
 
9
- - **13 Built-in Agents** - Security, Privacy, SOC 2, Legal, Architecture, DevOps, and more
9
+ - **15 Built-in Agents** - Security, Privacy, SOC 2, Legal, Architecture, Design Engineer, and more
10
+ - **🔍 Super Reviewer** - Interactive PR reviews: walks through changes file-by-file with AI guidance
10
11
  - **Parallel Execution** - All agents run simultaneously for fast scans
11
12
  - **🔥 YOLO Mode** - Autonomous auto-fixing as you code
12
13
  - **Custom Agents** - Create agents from PDFs, docs, or style guides
@@ -35,12 +36,16 @@ Settings → MCP Servers → Add:
35
36
  }
36
37
  ```
37
38
 
39
+ **Restart Cursor after adding the MCP server** for changes to take effect.
40
+
38
41
  ### Configure Claude Code
39
42
 
40
43
  ```bash
41
- claude mcp add Trie -- npx @triedotdev/mcp
44
+ claude mcp add Trie --scope user -- npx @triedotdev/mcp
42
45
  ```
43
46
 
47
+ **Restart Claude Code after adding the MCP server** for changes to take effect.
48
+
44
49
  ## Usage
45
50
 
46
51
  Once configured, just ask your AI assistant:
@@ -56,6 +61,23 @@ Run trie_security on this file
56
61
  Run trie_soc2 to check compliance
57
62
  ```
58
63
 
64
+ ## Super Reviewer 🔍
65
+
66
+ **Interactive AI-guided code reviews** — Code reviews are the bottleneck in AI coding. Super Reviewer scales them by putting the human back in the loop, shepherded by AI.
67
+
68
+ ```
69
+ Use trie_pr_review
70
+ Use trie_pr_review with pr:"12345"
71
+ ```
72
+
73
+ Super Reviewer will:
74
+ - Walk through each file, chunk by chunk
75
+ - Explain changes, connect dots across files
76
+ - Sequence files for understandability (schemas first, then core logic, then tests)
77
+ - Look for issues: state/lifecycle bugs, race conditions, missing pieces
78
+ - Pause for your cross-examination before moving to the next file
79
+ - Help you review 10x faster while catching MORE issues
80
+
59
81
  ## YOLO Mode 🔥
60
82
 
61
83
  **Autonomous auto-fixing** - Trie watches your code and automatically fixes high-confidence issues as you code.
@@ -110,21 +132,45 @@ docker-compose up
110
132
 
111
133
  ## Built-in Agents
112
134
 
113
- | Agent | Description |
114
- |-------|-------------|
115
- | `security` | Vulnerabilities, injection risks, hardcoded secrets |
116
- | `privacy` | GDPR, CCPA, PII handling, data protection |
117
- | `soc2` | SOC 2 Type II compliance: access controls, encryption, logging |
118
- | `legal` | Consent patterns, data retention, compliance |
119
- | `architecture` | SOLID principles, code organization, scalability |
120
- | `bugs` | Null safety, edge cases, async issues |
121
- | `types` | Type errors, missing annotations |
122
- | `devops` | Config issues, logging, environment variables |
123
- | `accessibility` | WCAG 2.1, keyboard nav, screen readers |
124
- | `ux` | User flow testing, error states |
125
- | `clean` | AI-generated code cleanup |
126
- | `test` | Test generation and coverage |
127
- | `comprehension` | Plain-language explanations |
135
+ ### 🔒 Security & Compliance
136
+
137
+ | Agent | Command | What It Catches |
138
+ |-------|---------|-----------------|
139
+ | **Security** | `trie_security` | SQL injection, XSS, hardcoded secrets, auth bypasses, OWASP Top 10 |
140
+ | **Privacy** | `trie_privacy` | PII exposure, GDPR/CCPA violations, unencrypted sensitive data, logging PII |
141
+ | **SOC 2** | `trie_soc2` | Access control gaps, missing audit logs, encryption issues, change management |
142
+ | **Legal** | `trie_legal` | HIPAA/COPPA compliance, consent patterns, data retention, cookie tracking |
143
+
144
+ ### 🏗️ Code Quality
145
+
146
+ | Agent | Command | What It Catches |
147
+ |-------|---------|-----------------|
148
+ | **Architecture** | `trie_architecture` | N+1 queries, circular deps, SOLID violations, god classes, missing layers |
149
+ | **Bugs** | `trie_bugs` | Null dereference, race conditions, off-by-one, async bugs, resource leaks |
150
+ | **Types** | `trie_types` | Missing annotations, unsafe casts, implicit `any`, null handling gaps |
151
+ | **Clean** | `trie_clean` | AI code smells: huge files, console.logs, hardcoded URLs, useEffect abuse |
152
+
153
+ ### 🎨 Design & UX
154
+
155
+ | Agent | Command | What It Catches |
156
+ |-------|---------|-----------------|
157
+ | **Design Engineer** | `trie_design` | Design systems, motion design, creative CSS, Awwwards-level polish |
158
+ | **Accessibility** | `trie_accessibility` | Missing ARIA, color contrast, keyboard nav, screen reader issues (WCAG 2.1) |
159
+ | **UX** | `trie_ux` | Missing loading states, poor error handling, broken flows, edge cases |
160
+
161
+ ### 🛠️ DevOps & Testing
162
+
163
+ | Agent | Command | What It Catches |
164
+ |-------|---------|-----------------|
165
+ | **DevOps** | `trie_devops` | Missing env vars, config issues, no health checks, logging gaps |
166
+ | **Test** | `trie_test` | Missing test coverage, untested edge cases, weak assertions |
167
+
168
+ ### 🔍 Review & Explanation
169
+
170
+ | Agent | Command | What It Does |
171
+ |-------|---------|--------------|
172
+ | **Super Reviewer** | `trie_pr_review` | Interactive PR review: walks through changes, explains code, finds issues |
173
+ | **Comprehension** | `trie_explain` | Plain-language explanations of code, issues, or risks |
128
174
 
129
175
  ## Custom Agents
130
176
 
@@ -141,6 +187,7 @@ Custom agents automatically activate during scans based on their rules.
141
187
  | Tool | Description |
142
188
  |------|-------------|
143
189
  | `trie_scan` | Intelligent scan with automatic agent selection |
190
+ | `trie_pr_review` | Interactive PR review — walks through changes file-by-file |
144
191
  | `trie_fix` | Apply high-confidence fixes |
145
192
  | `trie_explain` | Plain-language explanations |
146
193
  | `trie_watch` | Continuous scanning mode |