connectry-architect-mcp 0.1.7 → 0.1.9

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  <picture>
4
4
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Connectry-io/connectrylab-architect-cert-mcp/master/.github/assets/logo-dark.svg">
5
5
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Connectry-io/connectrylab-architect-cert-mcp/master/.github/assets/logo-light.svg">
6
- <img alt="Architect Cert" src="https://raw.githubusercontent.com/Connectry-io/connectrylab-architect-cert-mcp/master/.github/assets/logo-dark.svg" width="420">
6
+ <img alt="Architect Cert" src="https://raw.githubusercontent.com/Connectry-io/connectrylab-architect-cert-mcp/master/.github/assets/logo-light.svg" width="420">
7
7
  </picture>
8
8
  <br />
9
9
  </p>
@@ -14,7 +14,7 @@
14
14
 
15
15
  <p align="center">
16
16
  Adaptive certification prep powered by the Model Context Protocol.<br />
17
- 390 questions. Guided capstone build. 30 concept handouts. 6 reference projects. Practice exams. Spaced repetition. Zero sycophancy.
17
+ 390 questions. Guided capstone build. 30 concept handouts. 6 reference projects. Practice exams. Interactive dashboard. Spaced repetition. Zero sycophancy.
18
18
  </p>
19
19
 
20
20
  <p align="center">
@@ -26,13 +26,15 @@
26
26
 
27
27
  <p align="center">
28
28
  <a href="#-quick-start">Quick Start</a> •
29
- <a href="#-features">Features</a> •
30
- <a href="#-how-it-works">How It Works</a> •
31
- <a href="#-study-modes">Study Modes</a> •
29
+ <a href="#-learning-path">Learning Path</a> •
30
+ <a href="#-interactive-experience">Interactive Experience</a> •
31
+ <a href="#-initial-assessment">Assessment</a> •
32
+ <a href="#-concept-handouts">Handouts</a> •
33
+ <a href="#-adaptive-practice">Practice</a> •
32
34
  <a href="#-guided-capstone-build">Capstone Build</a> •
35
+ <a href="#-practice-exams">Practice Exams</a> •
36
+ <a href="#-progress-dashboard">Dashboard</a> •
33
37
  <a href="#-reference-projects">Reference Projects</a> •
34
- <a href="#-concept-handouts">Concept Handouts</a> •
35
- <a href="#-exam-domains">Exam Domains</a> •
36
38
  <a href="#-tools">Tools</a> •
37
39
  <a href="#-architecture">Architecture</a>
38
40
  </p>
@@ -45,11 +47,15 @@ Architect Cert is a free, open-source [MCP](https://modelcontextprotocol.io/) se
45
47
 
46
48
  It ships with:
47
49
  - **390 scenario-based questions** across all 5 exam domains and 30 task statements
50
+ - **Interactive clickable UI** — answer questions with A/B/C/D buttons, select follow-ups, pick domains with checkboxes — all inside Claude
51
+ - **Lessons-first assessment** — learn each domain's concepts before being tested on them
48
52
  - **Guided capstone build** — shape your own project, then build it step-by-step while learning every task statement hands-on
49
53
  - **30 concept handouts** — one per task statement, with code examples and common mistakes
50
54
  - **6 reference projects** — runnable TypeScript codebases demonstrating each domain in practice
51
55
  - **Practice exams** — 60-question weighted exams with history tracking and improvement trends
52
- - **Interactive follow-ups** — wrong answer? Dive into code examples, concept lessons, handouts, or reference projects before moving on
56
+ - **Progress dashboard** — glassmorphism visual dashboard with mastery levels, exam history chart, activity timeline
57
+ - **Visual progress tracking** — todo checklists track your progress through assessments, exams, and capstone builds in real time
58
+ - **Interactive follow-ups** — wrong answer? Click to see code examples, concept lessons, handouts, or reference projects
53
59
  - **PDF generation** — branded handout PDFs with the Architect Cert logo for offline study
54
60
  - **Spaced repetition** — SM-2 algorithm schedules reviews at optimal intervals
55
61
  - **Deterministic grading** — pure function grading, no LLM judgment, zero sycophancy
@@ -69,7 +75,18 @@ npm install -g connectry-architect-mcp
69
75
  ### 2. Configure Your MCP Client
70
76
 
71
77
  <details>
72
- <summary><b>Claude Code</b> (VS Code / Cursor / Terminal)</summary>
78
+ <summary><b>Claude Code</b> One-liner</summary>
79
+
80
+ ```bash
81
+ claude mcp add connectry-architect -- connectry-architect-mcp
82
+ ```
83
+
84
+ That's it. Restart Claude Code and the server starts automatically.
85
+
86
+ </details>
87
+
88
+ <details>
89
+ <summary><b>Claude Code</b> — Manual config</summary>
73
90
 
74
91
  Add to `.mcp.json` in your project or `~/.claude.json` globally:
75
92
 
@@ -83,7 +100,7 @@ Add to `.mcp.json` in your project or `~/.claude.json` globally:
83
100
  }
84
101
  ```
85
102
 
86
- Then restart Claude Code. The server starts automatically when Claude loads.
103
+ Restart Claude Code. The server starts automatically when Claude loads.
87
104
 
88
105
  </details>
89
106
 
@@ -102,6 +119,11 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
102
119
  }
103
120
  ```
104
121
 
122
+ > **Tip:** If you use `nvm`, you may need to specify the full path to the binary:
123
+ > ```json
124
+ > "command": "/Users/yourname/.nvm/versions/node/v22.20.0/bin/connectry-architect-mcp"
125
+ > ```
126
+
105
127
  Restart Claude Desktop. You'll see the MCP tools icon appear in the chat input.
106
128
 
107
129
  </details>
@@ -134,7 +156,7 @@ Architect Cert works with any client that supports the [Model Context Protocol](
134
156
  - **Arguments:** none
135
157
  - **Transport:** stdio
136
158
 
137
- The server exposes 17 tools, 8 prompts, and 3 resource types.
159
+ The server exposes 18 tools, 8 prompts, and 3 resource types.
138
160
 
139
161
  </details>
140
162
 
@@ -144,13 +166,14 @@ Restart your MCP client and start chatting:
144
166
 
145
167
  | What you want | What to ask Claude |
146
168
  |---------------|-------------------|
147
- | Find your weak areas | *"Start an assessment to figure out where I stand"* |
169
+ | Start from scratch | *"Start an assessment to figure out where I stand"* |
148
170
  | Practice questions | *"Give me a practice question"* |
149
171
  | Focus on a domain | *"Give me a question about agentic architecture"* |
150
172
  | Learn a concept first | *"Teach me about task 2.3 — tool provisioning"* |
151
173
  | Build your own capstone | *"I want to start a guided capstone build"* |
152
174
  | Take a practice exam | *"I want to take a practice exam"* |
153
175
  | Check your progress | *"Show my study progress"* |
176
+ | Show the dashboard | *"Show my dashboard"* |
154
177
  | Get a study plan | *"What should I study next?"* |
155
178
  | Explore a reference project | *"Show me a reference project for domain 1"* |
156
179
  | Generate PDF handouts | Run `npm run generate:pdfs` in the project directory |
@@ -158,181 +181,156 @@ Restart your MCP client and start chatting:
158
181
 
159
182
  <br />
160
183
 
161
- ## Features
184
+ ## Learning Path
162
185
 
163
- <table>
164
- <tr>
165
- <td width="50%">
186
+ Architect Cert is designed to follow a natural progression. Here's the recommended order:
166
187
 
167
- ### Adaptive Learning
168
- SM-2 spaced repetition resurfaces weak areas at optimal intervals. Questions you get wrong come back sooner — questions you master fade away.
188
+ ```
189
+ 1. Assessment → Baseline your knowledge across all 5 domains
190
+
191
+ 2. Learn concepts → Read handouts for weak domains before practicing
192
+
193
+ 3. Adaptive practice → Questions prioritized by weakness, reviews, new material
194
+
195
+ 4. Follow-ups → Dive into code examples, concept lessons, reference projects
196
+
197
+ 5. Capstone build → Build your own project covering all 30 task statements
198
+
199
+ 6. Practice exams → Simulate the real exam (60 questions, scored out of 1000)
200
+
201
+ 7. Review & repeat → Dashboard tracks mastery, spaced repetition handles scheduling
202
+ ```
169
203
 
170
- ### 390 Exam Questions
171
- 13 scenario-based questions per task statement across all 30 topics. Easy, medium, and hard difficulties with balanced answer distributions across A/B/C/D.
204
+ You can jump to any stage at any time — the system adapts. But the path above gives you the most structured experience.
172
205
 
173
- ### Deterministic Grading
174
- Pure function grading — no LLM judgment calls. Your answer is checked against a verified key. Right is right, wrong is wrong. Every wrong answer includes a specific explanation.
206
+ <br />
175
207
 
176
- </td>
177
- <td width="50%">
208
+ ## Interactive Experience
178
209
 
179
- ### Zero Sycophancy
180
- Claude won't sugarcoat wrong answers. Anti-sycophancy rules are enforced at the protocol level. Wrong means wrong — no "you were on the right track."
210
+ Architect Cert uses Claude's built-in interactive UI to make studying feel natural. No typing answer letters — just click.
181
211
 
182
- ### Progress Tracking
183
- Persistent SQLite database tracks every answer, mastery level, and review schedule. Pick up exactly where you left off across sessions, devices, and MCP clients.
212
+ ### Clickable Answer Selection
184
213
 
185
- ### Smart Question Selection
186
- Three-priority algorithm: overdue reviews first, then weak areas, then new material. You always work on what matters most for exam readiness.
214
+ Every question presents **clickable A/B/C/D buttons** directly in Claude. You tap your answer instead of typing it. If the question includes code in the scenario, a **code preview** appears alongside each option so you can reference it while deciding.
187
215
 
188
- </td>
189
- </tr>
190
- <tr>
191
- <td width="50%">
216
+ ### Follow-Up Actions
192
217
 
193
- ### Interactive Follow-Ups
194
- After every answer, you get follow-up options. Got it wrong? Choose to see a code example, read the concept lesson, open the handout, or explore the relevant reference project — then jump back to your quiz.
218
+ After every answer, clickable follow-up buttons appear:
195
219
 
196
- ### Guided Capstone Build
197
- Shape your own project idea, then build it file-by-file across 18 steps. Each step: quiz on the relevant task statements, Claude generates themed code, then a walkthrough explains how every section maps to exam concepts. Learn by doing.
220
+ **After a wrong answer:**
221
+ - Got it, next question
222
+ - Explain with a code example
223
+ - Show me the concept lesson
224
+ - Show me the handout
225
+ - Show me in the reference project
198
226
 
199
- </td>
200
- <td width="50%">
227
+ **After a correct answer:**
228
+ - Next question
229
+ - Explain why the others are wrong
201
230
 
202
- ### 30 Concept Handouts
203
- Every task statement has a structured handout: concept explanation, TypeScript code example, common mistakes, and documentation references. Available as markdown in Claude or as branded PDFs for offline study.
231
+ ### Multi-Select Domain Picker
204
232
 
205
- ### 6 Reference Projects
206
- Runnable TypeScript codebases that demonstrate each domain in practice. A capstone project ties all 5 domains together. Each file maps to specific task statements so you can see concepts in real code.
233
+ When requesting a study plan, you can select multiple domains to focus on using **checkboxes** — no need to list them out by name.
207
234
 
208
- ### Practice Exams
209
- Full 60-question exams weighted by domain — just like the real certification. Fresh questions each time (no repetition from your last attempt). Scored out of 1000, passing at 720. All attempts saved with per-domain breakdowns.
235
+ ### Visual Progress Checklists
210
236
 
211
- ### PDF Handouts
212
- Generate branded PDFs for all 30 handouts with `npm run generate:pdfs`. Each PDF includes the Architect Cert logo, domain label, and clean formatting for printing or tablet reading.
237
+ Long flows like the assessment (15 questions), practice exams (60 questions), and capstone build (18 steps) create a **visual todo checklist** that updates in real time as you progress. You always know where you are and what's left.
213
238
 
214
- </td>
215
- </tr>
216
- </table>
239
+ ### Skip & Other
240
+
241
+ Every question selection includes a **Skip** button to move on and an **Other** option to ask a free-form question. If you use "Other" to ask something, Claude answers your question and then **re-presents the same quiz question** — you never lose your place. "Skip" moves to the next question; skipped questions remain unanswered and will reappear later.
217
242
 
218
243
  <br />
219
244
 
220
- ## How It Works
245
+ ## Initial Assessment
221
246
 
222
- ```
223
- ┌──────────────────────────────────────────────────────────────────┐
224
- │ YOUR MACHINE │
225
- │ │
226
- │ ┌──────────────┐ ┌──────────────────────────┐ │
227
- │ │ Claude Desktop│ │ Architect Cert MCP │ │
228
- │ │ Claude Code │◄─────►│ │ │
229
- │ │ Any MCP client│ stdio │ 17 tools │ │
230
- │ └──────────────┘ │ 8 prompts │ │
231
- │ │ 3 resource types │ │
232
- │ └──────────┬───────────────┘ │
233
- │ │ │
234
- │ ┌─────────────────┼─────────────────┐ │
235
- │ │ │ │ │
236
- │ ~/.connectry- 390 questions 6 reference │
237
- │ architect/ 30 handouts projects │
238
- │ progress.db (bundled JSON/MD) (bundled TS) │
239
- │ │
240
- └──────────────────────────────────────────────────────────────────┘
241
- ```
247
+ Start with a **15-question diagnostic** (3 per domain) that determines your learning path. The assessment works differently from raw practice:
242
248
 
243
- **The study loop:**
249
+ ### Lessons-First Flow
244
250
 
245
- 1. **Assessment** 15 diagnostic questions baseline your knowledge across all 5 domains
246
- 2. **Path assignment** — Score < 60% gets the beginner-friendly track; score >= 60% gets the exam-weighted track
247
- 3. **Learn first** — Read the concept handout for a topic before tackling questions (or skip straight to practice)
248
- 4. **Smart selection** — Each question chosen by priority: overdue reviews > weak areas > new material
249
- 5. **Deterministic grading** — Pure function checks your answer against the verified key
250
- 6. **Interactive follow-up** — Wrong answer? Dive into code examples, concept lessons, or reference projects
251
- 7. **Spaced repetition** — SM-2 algorithm schedules reviews: 1 day > 3 days > 6 days > ...
252
- 8. **Practice exams** — Take full 60-question exams when you're ready, track improvement over time
251
+ When the assessment reaches a **new domain** for the first time, it pauses to show you the **concept handout** before asking questions. This means you learn the key ideas, see code examples, and understand common mistakes *before* being tested — no guessing blindly.
253
252
 
254
- **Data storage:**
253
+ The flow for each domain:
254
+ 1. Concept handout is shown (one-time per domain)
255
+ 2. 3 questions presented one at a time (easy, medium, hard)
256
+ 3. Each answer graded immediately with explanation
257
+ 4. Move to the next domain
255
258
 
256
- - Progress is stored locally at `~/.connectry-architect/progress.db` (SQLite, WAL mode)
257
- - Your user config lives at `~/.connectry-architect/config.json` (auto-created on first run)
258
- - No cloud, no accounts, no telemetry — everything stays on your machine
259
+ ### Path Assignment
259
260
 
260
- <br />
261
+ Based on your overall accuracy:
261
262
 
262
- ## Study Modes
263
+ | Score | Path | Description |
264
+ |-------|------|-------------|
265
+ | **< 60%** | Beginner-Friendly | Starts with fundamentals, builds up gradually. Focuses on easy and medium questions first. |
266
+ | **>= 60%** | Exam-Weighted | Focuses on high-weight domains first (D1 at 27%, D3 & D4 at 20% each). Targets weak areas aggressively. |
263
267
 
264
- ### Initial Assessment
268
+ ### Progress Tracking
265
269
 
266
- Start with 15 questions across all domains. Based on your score:
270
+ The assessment creates a **15-item visual checklist** (Q1 through Q15, grouped by domain) that updates after each answer. You always see exactly how far you've progressed.
267
271
 
268
- - **< 60% accuracy** — **Beginner-Friendly Path**: Starts with fundamentals, builds up gradually through each domain. Focuses on easy and medium questions first.
269
- - **>= 60% accuracy** — **Exam-Weighted Path**: Focuses on high-weight domains first (D1 at 27%, D3 & D4 at 20% each). Targets weak areas aggressively.
272
+ <br />
270
273
 
271
- ### Learn-First Mode
274
+ ## Concept Handouts
272
275
 
273
- Before tackling questions on any topic, you can read the concept handout first:
276
+ Every task statement has a **concept handout** a structured study document (~500-800 words) that covers:
274
277
 
275
- ```
276
- You: "Teach me about task 1.5 tool-use hooks"
278
+ - **Concept** — The core idea, mental model, and when/why to use it
279
+ - **Code Example** Realistic TypeScript demonstrating the pattern
280
+ - **Common Mistakes** — The 3-5 most frequent errors (which map to exam wrong answers)
281
+ - **References** — Links to Anthropic's official documentation
277
282
 
278
- Claude: [loads the concept handout with key concepts, code examples,
279
- common mistakes, and documentation references]
283
+ ### Reading Handouts in Claude
280
284
 
281
- Ready to test your understanding? I have 13 questions
282
- on this topic ranging from easy to hard.
283
285
  ```
286
+ You: "Show me the handout for task 2.3"
284
287
 
285
- The server tracks which handouts you've viewed. You can always come back to them later.
288
+ Claude: [loads the full handout with concept, code, mistakes, references]
289
+ ```
286
290
 
287
- ### Interactive Follow-Ups
291
+ ### When Handouts Appear Automatically
288
292
 
289
- After every answer, you get contextual follow-up options:
293
+ - **During assessment** shown before the first question of each new domain
294
+ - **After a wrong answer** — "Show me the handout" is one of the follow-up options
295
+ - **During capstone build** — relevant handouts are available at each build step
290
296
 
291
- **After a wrong answer:**
292
- ```
293
- The correct answer is B. [explanation]
297
+ ### Generating PDF Handouts
294
298
 
295
- > Got it, next question
296
- > Explain with a code example
297
- > Show me the concept lesson
298
- > Show me the handout
299
- > Show me in the reference project
300
- ```
299
+ Generate branded PDFs for all 30 handouts for offline study:
301
300
 
302
- **After a correct answer:**
301
+ ```bash
302
+ cd connectrylab-architect-cert-mcp
303
+ npm run generate:pdfs
303
304
  ```
304
- Correct!
305
305
 
306
- > Next question
307
- > Explain why the others are wrong
308
- ```
306
+ This creates 30 PDFs in `generated/handouts/` with:
307
+ - Architect Cert logo and domain label in the header
308
+ - Clean formatting with syntax-highlighted code blocks
309
+ - "Connectry LABS — Claude Certified Architect Exam Prep — Free & Open Source" footer
309
310
 
310
- Each option dives deeper into the concept — then brings you right back to your quiz. This means you never have to leave your study flow to look something up.
311
+ <br />
311
312
 
312
- ### Adaptive Practice
313
+ ## Adaptive Practice
313
314
 
314
- Every question is selected by a three-priority algorithm:
315
+ Every practice question is selected by a **three-priority algorithm**:
315
316
 
316
317
  1. **Overdue reviews** — Spaced repetition items due for review today
317
318
  2. **Weak areas** — Topics where your mastery is below 50%
318
319
  3. **New material** — Fresh questions from your recommended domain
319
320
 
320
- ### Practice Exams
321
+ ### Filtering
321
322
 
322
- Full 60-question exams that simulate the real certification:
323
+ You can filter practice questions by domain and/or difficulty:
323
324
 
324
- | Detail | Value |
325
- |--------|-------|
326
- | Total questions | 60 |
327
- | D1: Agentic Architecture | 16 questions (27%) |
328
- | D2: Tool Design & MCP | 11 questions (18%) |
329
- | D3: Claude Code Config | 12 questions (20%) |
330
- | D4: Prompt Engineering | 12 questions (20%) |
331
- | D5: Context & Reliability | 9 questions (15%) |
332
- | Scoring | 0–1000, passing at 720 |
333
- | Question selection | Fresh set each time — avoids repeating your most recent attempt |
325
+ ```
326
+ You: "Give me a hard question about prompt engineering"
334
327
 
335
- All attempts are saved with per-domain score breakdowns and improvement trends.
328
+ Claude: [presents a hard Domain 4 question with clickable A/B/C/D buttons]
329
+ ```
330
+
331
+ ### Interactive Follow-Ups
332
+
333
+ After every answer, you get clickable follow-up options. Each option dives deeper into the concept — then brings you right back to your quiz. You never leave your study flow to look something up.
336
334
 
337
335
  ### Mastery Levels
338
336
 
@@ -342,8 +340,8 @@ Each of the 30 task statements has an independent mastery level:
342
340
  |-------|----------|---------------|
343
341
  | **Unassessed** | No attempts yet | You haven't seen questions on this topic |
344
342
  | **Weak** | < 50% accuracy | Needs significant study — questions resurface frequently |
345
- | **Developing** | 5069% accuracy | Making progress — keep practicing |
346
- | **Strong** | 7089% accuracy | Good understanding — review intervals are longer |
343
+ | **Developing** | 50-69% accuracy | Making progress — keep practicing |
344
+ | **Strong** | 70-89% accuracy | Good understanding — review intervals are longer |
347
345
  | **Mastered** | >= 90% accuracy, 5+ attempts, 3+ consecutive correct | Exam-ready — rare reviews |
348
346
 
349
347
  ### Spaced Repetition (SM-2)
@@ -364,7 +362,7 @@ Difficult questions come back often. Easy ones space out to weeks or months.
364
362
 
365
363
  The most hands-on way to learn — build your own project from scratch while covering all 30 task statements. Instead of just answering questions, you architect a real system themed to your own idea.
366
364
 
367
- ### How it works
365
+ ### How It Works
368
366
 
369
367
  The capstone build has three phases:
370
368
 
@@ -389,10 +387,12 @@ Claude: Your idea naturally covers 24/30 criteria. To cover the
389
387
 
390
388
  Each step follows the same pattern:
391
389
 
392
- 1. **Quiz** — 2-3 questions on the task statements you're about to build
390
+ 1. **Quiz** — 2-3 questions on the task statements you're about to build (clickable A/B/C/D)
393
391
  2. **Build** — Claude generates the file's code, themed to your project
394
392
  3. **Walkthrough** — Line-by-line explanation mapping code to task statements
395
393
 
394
+ A **visual 18-step checklist** tracks your progress in real time.
395
+
396
396
  The 18 steps build incrementally:
397
397
 
398
398
  | Steps | What you build | Task Statements |
@@ -409,7 +409,7 @@ Every quiz answer feeds into the same spaced repetition and mastery tracking as
409
409
 
410
410
  After step 18, you get a complete coverage map: all 30 task statements, where each is demonstrated in your project, and your quiz performance per domain. Weak areas are flagged for further study.
411
411
 
412
- ### Capstone build tools
412
+ ### Capstone Build Tools
413
413
 
414
414
  | Tool | What it does |
415
415
  |------|-------------|
@@ -417,7 +417,7 @@ After step 18, you get a complete coverage map: all 30 task statements, where ea
417
417
  | `capstone_build_step` | Drive the build: confirm, quiz, build, next, status, or abandon |
418
418
  | `capstone_build_status` | Check your progress — current step, criteria coverage, quiz performance |
419
419
 
420
- ### How it connects to everything else
420
+ ### How It Connects to Everything Else
421
421
 
422
422
  - Quiz answers during the build use the same `submit_answer` grading and SM-2 scheduling
423
423
  - After any quiz question, you can use the same follow-up options (code example, concept lesson, handout, reference project)
@@ -426,6 +426,56 @@ After step 18, you get a complete coverage map: all 30 task statements, where ea
426
426
 
427
427
  <br />
428
428
 
429
+ ## Practice Exams
430
+
431
+ Full 60-question exams that simulate the real certification:
432
+
433
+ | Detail | Value |
434
+ |--------|-------|
435
+ | Total questions | 60 |
436
+ | D1: Agentic Architecture | 16 questions (27%) |
437
+ | D2: Tool Design & MCP | 11 questions (18%) |
438
+ | D3: Claude Code Config | 12 questions (20%) |
439
+ | D4: Prompt Engineering | 12 questions (20%) |
440
+ | D5: Context & Reliability | 9 questions (15%) |
441
+ | Scoring | 0-1000, passing at 720 |
442
+ | Question selection | Fresh set each time — avoids repeating your most recent attempt |
443
+ | UI | Clickable A/B/C/D buttons with code previews |
444
+ | Progress | Visual 60-item checklist updated after each answer |
445
+
446
+ All attempts are saved with per-domain score breakdowns and improvement trends.
447
+
448
+ <br />
449
+
450
+ ## Progress Dashboard
451
+
452
+ Architect Cert includes a **glassmorphism visual dashboard** that renders directly inside Claude via Claude Preview.
453
+
454
+ ### What It Shows
455
+
456
+ - **Readiness Ring** — Overall exam readiness percentage in a circular progress indicator
457
+ - **Domain Mastery Grid** — 5 cards with progress bars for each exam domain
458
+ - **Exam History Chart** — Line chart plotting your practice exam scores over time, with the 720 passing score marked
459
+ - **Recent Activity Timeline** — Your last 10 answers with correct/incorrect indicators
460
+ - **Capstone Progress** — Current build step and completion percentage
461
+ - **Quick Action Buttons** — Jump to practice, exam, study plan, or capstone
462
+
463
+ ### How to Open
464
+
465
+ ```
466
+ You: "Show my dashboard"
467
+
468
+ Claude: [opens the branded dashboard in Claude Preview]
469
+ ```
470
+
471
+ The dashboard can be reopened at any time by asking Claude again. It always reflects your latest data.
472
+
473
+ ### Text Fallback
474
+
475
+ For MCP clients that don't support Claude Preview, the dashboard tool also returns a **text summary** with mastery percentages and exam stats.
476
+
477
+ <br />
478
+
429
479
  ## Reference Projects
430
480
 
431
481
  Architect Cert includes **6 complete reference projects** — runnable TypeScript codebases that demonstrate certification concepts in real code. Every file has a header comment mapping it to specific task statements.
@@ -439,55 +489,36 @@ Architect Cert includes **6 complete reference projects** — runnable TypeScrip
439
489
  | **D4 — Prompt Engineering** | Domain 4 | 11 | Data extraction pipeline with explicit criteria, few-shot, structured output, validation-retry, batch processing, and multi-pass review |
440
490
  | **D5 — Context Manager** | Domain 5 | 14 | Long-session patterns: context preservation, scratchpad, subagent delegation, escalation, error propagation, confidence calibration, provenance |
441
491
 
442
- ### How to access them
443
-
444
- Ask Claude:
492
+ ### How to Access
445
493
 
446
494
  ```
447
495
  You: "Show me a reference project for domain 1"
448
496
 
449
- Claude: [calls scaffold_project, returns the project README,
450
- file listing, and architecture walkthrough]
497
+ Claude: [returns the project README, file listing, and architecture walkthrough]
451
498
  ```
452
499
 
453
- Or browse them directly in the repo under `projects/`.
454
-
455
- ### How they connect to the study flow
500
+ ### How They Connect to the Study Flow
456
501
 
457
502
  When you get a question wrong, one of the follow-up options is **"Show me in the reference project"** — this takes you straight to the relevant domain project so you can see the concept implemented in real code. Then you jump back to your quiz.
458
503
 
459
504
  <br />
460
505
 
461
- ## Concept Handouts
506
+ ## Study Plan
462
507
 
463
- Every task statement has a **concept handout** a structured study document (~500-800 words) that covers:
508
+ Get personalized study recommendations based on your performance, exam weights, and spaced repetition schedule.
464
509
 
465
- - **Concept** — The core idea, mental model, and when/why to use it
466
- - **Code Example** — Realistic TypeScript demonstrating the pattern
467
- - **Common Mistakes** — The 3-5 most frequent errors (which map to exam wrong answers)
468
- - **References** — Links to Anthropic's official documentation
510
+ ### Multi-Select Domain Focus
469
511
 
470
- ### Reading handouts in Claude
512
+ When requesting a study plan, you can pick specific domains to focus on using **checkboxes**:
471
513
 
472
514
  ```
473
- You: "Show me the handout for task 2.3"
515
+ You: "What should I study next?"
474
516
 
475
- Claude: [loads the full handout with concept, code, mistakes, references]
476
- ```
477
-
478
- ### Generating PDF handouts
479
-
480
- You can generate branded PDFs for all 30 handouts for offline study:
481
-
482
- ```bash
483
- cd connectrylab-architect-cert-mcp
484
- npm run generate:pdfs
517
+ Claude: [shows domain checkboxes — select the ones you want to focus on]
518
+ [generates a personalized study plan with a visual checklist]
485
519
  ```
486
520
 
487
- This creates 30 PDFs in `generated/handouts/` with:
488
- - Architect Cert logo and domain label in the header
489
- - Clean formatting with syntax-highlighted code blocks
490
- - "Connectry LABS — Claude Certified Architect Exam Prep — Free & Open Source" footer
521
+ The study plan creates a **visual checklist** so you can track your progress through each recommendation.
491
522
 
492
523
  <br />
493
524
 
@@ -580,26 +611,49 @@ The Claude Certified Architect — Foundations exam covers 5 domains:
580
611
 
581
612
  ## Tools
582
613
 
583
- Architect Cert provides **17 MCP tools** that Claude uses to deliver the study experience:
614
+ Architect Cert provides **18 MCP tools** that Claude uses to deliver the study experience:
615
+
616
+ ### Study Flow
584
617
 
585
618
  | Tool | Description |
586
619
  |------|-------------|
587
- | `start_assessment` | Begin with 15 diagnostic questions to determine your learning path |
588
- | `get_practice_question` | Get the next adaptive question (reviews > weak areas > new material) |
589
- | `submit_answer` | Grade your answer deterministically — includes interactive follow-up options |
620
+ | `start_assessment` | Begin with 15 diagnostic questions (lessons-first, one at a time) to determine your learning path |
621
+ | `get_practice_question` | Get the next adaptive question with clickable A/B/C/D buttons (reviews > weak areas > new material) |
622
+ | `submit_answer` | Grade your answer deterministically — presents interactive follow-up options |
590
623
  | `follow_up` | Handle post-answer actions: code examples, concept lessons, handouts, reference projects |
624
+ | `get_section_details` | Deep dive into a specific task statement with full concept handout |
625
+
626
+ ### Progress & Planning
627
+
628
+ | Tool | Description |
629
+ |------|-------------|
591
630
  | `get_progress` | View overall study progress with mastery percentages per domain |
592
631
  | `get_curriculum` | Browse all 5 domains and 30 task statements with current mastery levels |
593
- | `get_section_details` | Deep dive into a specific task statement with concept lesson |
594
632
  | `get_weak_areas` | Identify topics that need the most work, ranked by weakness |
595
- | `get_study_plan` | Get personalized recommendations based on performance and exam weights |
633
+ | `get_study_plan` | Get personalized recommendations with multi-select domain focus |
634
+ | `get_dashboard` | Open the visual progress dashboard in Claude Preview |
635
+
636
+ ### Practice Exams
637
+
638
+ | Tool | Description |
639
+ |------|-------------|
596
640
  | `start_practice_exam` | Take a full 60-question practice exam simulating the real certification |
597
641
  | `submit_exam_answer` | Submit and grade answers during a practice exam |
598
642
  | `get_exam_history` | View all past exam attempts with scores, trends, and per-domain comparison |
599
- | `scaffold_project` | Access reference projects for hands-on practice with real code |
643
+
644
+ ### Capstone Build
645
+
646
+ | Tool | Description |
647
+ |------|-------------|
600
648
  | `start_capstone_build` | Start a guided capstone build — shape your project and validate criteria coverage |
601
649
  | `capstone_build_step` | Drive the capstone build: confirm, quiz, build, next, status, or abandon |
602
650
  | `capstone_build_status` | Check capstone build progress — current step, coverage, quiz performance |
651
+
652
+ ### Reference & Admin
653
+
654
+ | Tool | Description |
655
+ |------|-------------|
656
+ | `scaffold_project` | Access reference projects for hands-on practice with real code |
603
657
  | `reset_progress` | Start over — requires explicit confirmation to prevent accidents |
604
658
 
605
659
  The server also registers **8 interactive prompts** and **3 resource types** (concept handouts, reference projects, exam overview).
@@ -609,22 +663,58 @@ The server also registers **8 interactive prompts** and **3 resource types** (co
609
663
  ## Architecture
610
664
 
611
665
  ```
612
- Claude (UI) <-> MCP Server (stdio) <-> Core Engine <-> SQLite
666
+ ┌──────────────────────────────────────────────────────────────────────┐
667
+ │ YOUR MACHINE │
668
+ │ │
669
+ │ ┌──────────────┐ ┌────────────────────────────────┐ │
670
+ │ │ Claude Desktop│ │ Architect Cert MCP │ │
671
+ │ │ Claude Code │◄─────►│ │ │
672
+ │ │ Any MCP client│ stdio │ 18 tools │ │
673
+ │ └──────┬───────┘ │ 8 prompts │ │
674
+ │ │ │ 3 resource types │ │
675
+ │ │ └──────────┬─────────────────────┘ │
676
+ │ │ │ │
677
+ │ │ ┌────────────────┼────────────────────┐ │
678
+ │ │ │ │ │ │
679
+ │ │ ~/.connectry- 390 questions 6 reference │
680
+ │ │ architect/ 30 handouts projects │
681
+ │ │ progress.db (bundled JSON/MD) (bundled TS) │
682
+ │ │ │
683
+ │ │ ┌──────────────────────────┐ │
684
+ │ └──► Claude Preview (Dashboard) │ │
685
+ │ │ localhost HTTP server │ │
686
+ │ └──────────────────────────┘ │
687
+ │ │
688
+ └──────────────────────────────────────────────────────────────────────┘
613
689
  ```
614
690
 
691
+ ### Core Components
692
+
615
693
  | Component | Technology | Purpose |
616
694
  |-----------|-----------|---------|
617
695
  | MCP Server | `@modelcontextprotocol/sdk` v1 | Registers tools, prompts, resources over stdio |
618
696
  | Grading Engine | Pure TypeScript functions | Deterministic answer verification |
619
697
  | Spaced Repetition | SM-2 algorithm | Optimal review scheduling |
698
+ | Question Selector | Three-priority algorithm | Overdue reviews > weak areas > new material |
620
699
  | Follow-Up System | State-driven tool chain | Interactive post-answer detours |
621
700
  | Capstone Build Engine | 18-step interleaved builder | Guided learn-build-explain flow with LLM validation |
701
+ | Dashboard Server | Node.js HTTP + HTML | Glassmorphism visual dashboard via Claude Preview |
622
702
  | Question Bank | 390 bundled JSON questions | Scenario-based, verified against docs |
623
703
  | Concept Handouts | 30 bundled markdown files | Structured study materials per task statement |
624
704
  | Reference Projects | 6 bundled TypeScript projects | Runnable code demonstrating each domain |
625
- | PDF Generator | `pdfkit` | Branded handout PDFs for offline study |
705
+ | PDF Generator | Puppeteer + Marked | Branded handout PDFs for offline study |
626
706
  | Progress Store | `better-sqlite3` (WAL mode) | Persistent mastery, answers, schedules |
627
707
 
708
+ ### Interactive UI Architecture
709
+
710
+ Architect Cert doesn't build its own chat UI. Instead, it instructs Claude to use **built-in interactive tools**:
711
+
712
+ - **AskUserQuestion** — Presents clickable buttons for A/B/C/D answers, follow-up actions, and domain selection. Supports single-select (radio buttons), multi-select (checkboxes), and free-text input via "Other".
713
+ - **TodoWrite** — Creates visual progress checklists that update in real time during assessments, exams, and capstone builds.
714
+ - **Claude Preview** — Renders the glassmorphism dashboard HTML on a local HTTP server.
715
+
716
+ This approach works across Claude Code and Claude Desktop without requiring any custom UI code on the client side.
717
+
628
718
  ### Anti-Sycophancy Design
629
719
 
630
720
  This server enforces honest grading at the protocol level — not just in prompts:
@@ -653,6 +743,14 @@ This server enforces honest grading at the protocol level — not just in prompt
653
743
 
654
744
  <br />
655
745
 
746
+ ## Data Storage
747
+
748
+ - Progress is stored locally at `~/.connectry-architect/progress.db` (SQLite, WAL mode)
749
+ - Your user config lives at `~/.connectry-architect/config.json` (auto-created on first run)
750
+ - No cloud, no accounts, no telemetry — everything stays on your machine
751
+
752
+ <br />
753
+
656
754
  ## Contributing
657
755
 
658
756
  We welcome contributions! Here's how to get started:
@@ -668,7 +766,7 @@ npm install
668
766
  # Build
669
767
  npm run build
670
768
 
671
- # Run tests (30 tests across 6 test files)
769
+ # Run tests
672
770
  npm test
673
771
 
674
772
  # Generate PDF handouts
@@ -698,7 +796,9 @@ src/
698
796
  │ ├── store.ts # Database initialization
699
797
  │ ├── mastery.ts # Mastery level calculations
700
798
  │ ├── answers.ts # Answer recording
799
+ │ ├── review-schedule.ts # SM-2 review scheduling
701
800
  │ ├── capstone.ts # Capstone build CRUD operations
801
+ │ ├── users.ts # User management
702
802
  │ └── exam-attempts.ts # Practice exam tracking
703
803
  ├── engine/
704
804
  │ ├── grading.ts # Deterministic grading
@@ -706,7 +806,32 @@ src/
706
806
  │ ├── question-selector.ts # Priority-based selection
707
807
  │ ├── exam-builder.ts # Practice exam generation
708
808
  │ └── adaptive-path.ts # Learning path recommendations
709
- ├── tools/ # 17 MCP tool handlers
809
+ ├── tools/ # 18 MCP tool handlers
810
+ │ ├── index.ts # Tool registration
811
+ │ ├── elicit.ts # MCP elicitation helper (graceful fallback)
812
+ │ ├── start-assessment.ts
813
+ │ ├── submit-answer.ts
814
+ │ ├── get-practice-question.ts
815
+ │ ├── follow-up.ts
816
+ │ ├── get-progress.ts
817
+ │ ├── get-curriculum.ts
818
+ │ ├── get-section-details.ts
819
+ │ ├── get-weak-areas.ts
820
+ │ ├── get-study-plan.ts
821
+ │ ├── start-practice-exam.ts
822
+ │ ├── submit-exam-answer.ts
823
+ │ ├── get-exam-history.ts
824
+ │ ├── scaffold-project.ts
825
+ │ ├── start-capstone-build.ts
826
+ │ ├── capstone-build-step.ts
827
+ │ ├── capstone-build-status.ts
828
+ │ ├── reset-progress.ts
829
+ │ └── dashboard.ts
830
+ ├── ui/
831
+ │ ├── server.ts # Dashboard HTTP server
832
+ │ ├── dashboard.html # Glassmorphism dashboard UI
833
+ │ ├── meta.ts # Quiz widget metadata
834
+ │ └── loader.ts # HTML asset loader
710
835
  ├── prompts/ # 8 MCP prompt definitions
711
836
  └── resources/ # 3 MCP resource types
712
837