@classroomio/mcp 0.0.7 → 0.0.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 +40 -3
- package/dist/index.js +1 -1617
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ The package does not parse PDFs or generate course structures. The agent does th
|
|
|
10
10
|
Teacher / Admin
|
|
11
11
|
|
|
|
12
12
|
v
|
|
13
|
-
Claude Code / Codex / Cursor / other MCP client
|
|
13
|
+
Claude Code / Codex / Cursor / OpenCode / other MCP client
|
|
14
14
|
|
|
|
15
15
|
| 1. Reads prompt, PDF, or existing course goal
|
|
16
16
|
| 2. Produces or edits normalized course JSON
|
|
@@ -43,6 +43,7 @@ Current tools:
|
|
|
43
43
|
|
|
44
44
|
- `list_org_courses`
|
|
45
45
|
- `get_course_structure`
|
|
46
|
+
- `reorder_course_content`
|
|
46
47
|
- `update_course_landing_page`
|
|
47
48
|
- `create_course_draft`
|
|
48
49
|
- `create_course_draft_from_course`
|
|
@@ -122,6 +123,25 @@ codex mcp add classroomio \
|
|
|
122
123
|
-- npx -y @classroomio/mcp
|
|
123
124
|
```
|
|
124
125
|
|
|
126
|
+
### OpenCode
|
|
127
|
+
|
|
128
|
+
```json
|
|
129
|
+
{
|
|
130
|
+
"$schema": "https://opencode.ai/config.json",
|
|
131
|
+
"mcp": {
|
|
132
|
+
"classroomio": {
|
|
133
|
+
"type": "local",
|
|
134
|
+
"command": ["npx", "-y", "@classroomio/mcp"],
|
|
135
|
+
"enabled": true,
|
|
136
|
+
"environment": {
|
|
137
|
+
"CLASSROOMIO_API_URL": "https://api.classroomio.com",
|
|
138
|
+
"CLASSROOMIO_API_KEY": "<cio_mcp_key>"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
```
|
|
144
|
+
|
|
125
145
|
### Cursor
|
|
126
146
|
|
|
127
147
|
```json
|
|
@@ -167,7 +187,9 @@ Drafts support:
|
|
|
167
187
|
Lesson authoring rule:
|
|
168
188
|
|
|
169
189
|
- `lessonLanguages[].content` should contain only the lesson body HTML
|
|
170
|
-
- do not include the lesson title
|
|
190
|
+
- do not include the lesson title
|
|
191
|
+
- do not use `h1` or `h2` in lesson content
|
|
192
|
+
- start headings at `h3`
|
|
171
193
|
- ClassroomIO already renders the lesson title in the course UI
|
|
172
194
|
|
|
173
195
|
## After Publish
|
|
@@ -323,7 +345,22 @@ What this publish does today:
|
|
|
323
345
|
- upserts lesson language content
|
|
324
346
|
- merges draft tags into the existing course
|
|
325
347
|
|
|
326
|
-
### Flow 6:
|
|
348
|
+
### Flow 6: Reorder live course content
|
|
349
|
+
|
|
350
|
+
User says:
|
|
351
|
+
|
|
352
|
+
```text
|
|
353
|
+
Move the quiz before lesson 2 and put the recap lesson into the last section.
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
Expected tool sequence:
|
|
357
|
+
|
|
358
|
+
1. Agent calls `reorder_course_content`.
|
|
359
|
+
|
|
360
|
+
Use this direct path when the live course only needs section ordering or lesson or exercise moves between sections.
|
|
361
|
+
It avoids the full draft round-trip for simple structural changes.
|
|
362
|
+
|
|
363
|
+
### Flow 7: Add exercises to a live course
|
|
327
364
|
|
|
328
365
|
User says:
|
|
329
366
|
|