Improve MCP tooling and draft exercise publishing
This commit is contained in:
+20
-1
@@ -10,7 +10,7 @@ The package does not parse PDFs or generate course structures. The agent does th
|
||||
Teacher / Admin
|
||||
|
|
||||
v
|
||||
Claude Code / Codex / Cursor / other MCP client
|
||||
Claude Code / Codex / Cursor / OpenCode / other MCP client
|
||||
|
|
||||
| 1. Reads prompt, PDF, or existing course goal
|
||||
| 2. Produces or edits normalized course JSON
|
||||
@@ -123,6 +123,25 @@ codex mcp add classroomio \
|
||||
-- npx -y @classroomio/mcp
|
||||
```
|
||||
|
||||
### OpenCode
|
||||
|
||||
```json
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"mcp": {
|
||||
"classroomio": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@classroomio/mcp"],
|
||||
"enabled": true,
|
||||
"environment": {
|
||||
"CLASSROOMIO_API_URL": "https://api.classroomio.com",
|
||||
"CLASSROOMIO_API_KEY": "<cio_mcp_key>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Cursor
|
||||
|
||||
```json
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@classroomio/mcp",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.9",
|
||||
"private": false,
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
||||
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
||||
const ZConfig = z.object({
|
||||
CLASSROOMIO_API_URL: z.url().default('https://api.classroomio.com'),
|
||||
CLASSROOMIO_API_KEY: z.string().min(1),
|
||||
CLASSROOMIO_USER_AGENT: z.string().min(1).default('classroomio-mcp/0.0.1')
|
||||
CLASSROOMIO_USER_AGENT: z.string().min(1).default('classroomio-mcp/0.0.9')
|
||||
});
|
||||
|
||||
export type McpServerConfig = z.infer<typeof ZConfig>;
|
||||
|
||||
Reference in New Issue
Block a user