Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Use npm (CI runs `npm ci`). Node 22.15+.

Before merging responsive/layout changes, also run `npm run smoke:responsive -- --profile=expanded`.

A release bumps the version in `package.json`, `package-lock.json`, `framework/version.json`, both plugin manifests, the launcher's `FALLBACK_VERSION`, and both versions in `server.json` (`tests/lib/plugin-manifests.test.js` checks they match). After `npm publish`, run `mcp-publisher publish` to update the [MCP Registry](https://registry.modelcontextprotocol.io) listing; the registry reads `mcpName` from the published package, so publish to npm first.

## Repo Layout: Two Contexts

This repo is both the framework source and the template for new course projects.
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- **MCP Registry listing:** `server.json` describes the CourseCode MCP server for the [MCP Registry](https://registry.modelcontextprotocol.io): the npm package `coursecode`, run locally over stdio with the `mcp` argument. `package.json` declares the matching `mcpName`.

## [0.4.2] - 2026-10-29

### Changed
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "coursecode",
"version": "0.4.2",
"description": "Open-source course authoring framework for Claude Code, Codex, and other MCP-capable AI tools. Build, preview, and test SCORM 1.2, SCORM 2004, cmi5, and LTI 1.3 courses.",
"mcpName": "io.github.course-code-framework/coursecode",
"type": "module",
"bin": {
"coursecode": "bin/cli.js"
Expand Down
28 changes: 28 additions & 0 deletions server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.course-code-framework/coursecode",
"title": "CourseCode Framework",
"description": "Preview, screenshot, lint, and test SCORM, cmi5, and LTI courses built with CourseCode Framework.",
"websiteUrl": "https://coursecodeframework.com",
"repository": {
"url": "https://github.com/course-code-framework/coursecode",
"source": "github"
},
"version": "0.4.2",
"packages": [
{
"registryType": "npm",
"identifier": "coursecode",
"version": "0.4.2",
"transport": {
"type": "stdio"
},
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
]
}
]
}
11 changes: 11 additions & 0 deletions tests/lib/plugin-manifests.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ describe('Claude Code and Codex plugin', () => {
expect(launcher).toContain(`const FALLBACK_VERSION = '${version}';`);
});

it('lists the published package in the MCP Registry under the package.json mcpName', () => {
const { name, version, mcpName } = readJson('package.json');
const server = readJson('server.json');

expect(server.name).toBe(mcpName);
expect(server.version).toBe(version);
expect(server.description.length).toBeLessThanOrEqual(100);
expect(server.packages).toEqual([expect.objectContaining({ registryType: 'npm', identifier: name, version, transport: { type: 'stdio' } })]);
expect(server.packages[0].packageArguments).toEqual([{ type: 'positional', value: 'mcp' }]);
});

it('starts the same launcher from both MCP configs', () => {
const claude = readJson('plugin/.mcp.json').mcpServers.coursecode;
const codex = readJson('plugin/mcp.json').mcpServers.coursecode;
Expand Down
Loading