CoursePack Local MCP Server
Read-only MCP server that provides Claude Desktop with access to converted Canvas course exports, including Markdown files, reports, and search tools for local course content.
README
CoursePack Local MVP v9
CoursePack Local converts Canvas .imscc course exports into a clean, local Markdown coursepack. It now includes a local web interface, course viewer, search, safe skip logging, and a read-only MCP server connection for Claude Desktop.
The project is still an MVP, but v9 is closer to a deployable instructor workflow:
- Double-click
Start CoursePack Local.bat. - Browser opens at
http://127.0.0.1:3333. - Upload a Canvas
.imsccexport. - Review the converted course, skipped files, and report.
- Search the converted course.
- Connect the local read-only MCP server to Claude Desktop.
What changed in v9
- Added a stronger Recent Courses page with last-updated information, quick actions, and local delete buttons.
- Added built-in local reports that do not require AI: date findings, link findings, missing local links, policy mentions, skipped-file summary, and workload by module.
- Reports are saved as
reports/reports.mdandreports/reports.jsonin each converted course. - Added a Help page explaining how instructors open CoursePack again after the first install.
- Added a user-level uninstall helper:
Uninstall CoursePack Local.batanduninstall.ps1. - Added MCP tools for Claude to read the built-in reports.
- Kept v8 behavior: the one-line installer does not auto-connect Claude Desktop during installation.
- Kept v8 behavior: installer starts CoursePack first, opens the local browser page when possible, and creates Desktop/Start Menu shortcuts.
- Kept v8 behavior: Claude connection has immediate browser feedback and is idempotent.
What it does now
- Reads a Canvas
.imsccfile as a ZIP archive. - Parses
imsmanifest.xmlandcourse_settings/module_meta.xmlwhen present. - Converts Canvas wiki HTML pages to Markdown.
- Converts assignment HTML pages and assignment metadata.
- Converts discussion/announcement XML topic bodies.
- Extracts basic quiz/QTI text.
- Builds module index files.
- Converts loose instructor-uploaded text-like files, such as
.html,.txt,.md,.csv, and.json. - Skips images, audio, video, PowerPoint, Office files, PDFs, unknown files, and very large files by default.
- Can optionally attempt PDF/Office conversion with Microsoft MarkItDown if the optional dependency is installed.
- Writes a human-readable
conversion_report.md. - Writes structured metadata in
metadata/course_map.json,metadata/skipped_assets.json,metadata/conversion_events.json, andmetadata/resource_map.json. - Runs a local web app for upload, review, search, reports, and download.
- Provides built-in rule-based reports that work without AI.
- Provides a read-only MCP server for Claude Desktop.
Windows quick start
- Unzip the CoursePack folder.
- Double-click:
Start CoursePack Local.bat
The first run creates a local .venv and installs required packages.
- Open or wait for the browser page:
http://127.0.0.1:3333
- Upload a Canvas
.imsccexport and click Convert Course.
Using CoursePack after the first install
Instructors do not run the one-line installer every time. The one-line command is only for first install or reinstall/update.
After CoursePack is installed, use one of these:
Desktop shortcut: CoursePack Local
Start Menu shortcut: CoursePack Local
Manual address after starting: http://127.0.0.1:3333
Converted courses and app data are stored in the user's local profile:
%LOCALAPPDATA%\CoursePackLocal
If CoursePack is already running and the instructor clicks the shortcut again, the app should simply open the browser page instead of failing because the port is already in use.
Claude connection timing
CoursePack does not need a converted course before the MCP connector can be registered with Claude Desktop, but Claude will not have useful course content until at least one Canvas export is converted.
Recommended flow:
1. Install CoursePack.
2. Open the local CoursePack page.
3. Convert a Canvas export.
4. Click Claude Desktop > Connect CoursePack to Claude Desktop.
5. Fully quit and reopen Claude Desktop.
The installer intentionally does not auto-connect Claude anymore. This prevents a Claude/Windows security problem from blocking the app startup.
Check the install
After running CoursePack once, double-click:
Check CoursePack Install.bat
This checks Python, required packages, local app files, and Claude configuration readability.
To remove the local app later, use the Start Menu shortcut or run:
Uninstall CoursePack Local.bat
Connect to Claude Desktop
Windows note: Standalone Claude and Microsoft Store Claude use different claude_desktop_config.json files. CoursePack's Connect button updates all relevant config files so the Claude you actually launch can see the coursepack MCP tools.
The easiest method is from the browser UI:
- Open CoursePack Local.
- Go to Claude Desktop in the top navigation.
- Click Connect CoursePack to Claude Desktop.
- Fully quit Claude from the system tray (Quit — not just close the window).
- Reopen Claude and look for
coursepackMCP tools.
If tools are still missing on Microsoft Store Claude, check:
%LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude\logs\mcp.log
Claude Desktop reads local MCP servers from its config file(s). CoursePack adds a coursepack MCP server entry pointing to the packaged .exe (--mcp) or local Python + mcp_server.py in source mode.
What Claude can access
The MCP server is read-only. It exposes:
- converted Markdown course files
- course map metadata
- conversion report
- skipped assets log
- conversion events log
- local search tools
It does not write back to Canvas.
Failure behavior
A single bad file should never stop the full course conversion.
The converter records:
- converted files in
metadata/course_map.json - skipped files in
metadata/skipped_assets.json - warnings/errors in
metadata/conversion_events.json - a readable summary in
conversion_report.md
If a document cannot be converted, CoursePack skips it, logs it, and keeps converting the rest of the course.
Optional document conversion
By default, PDFs and Office files are skipped because they can be large, slow, or messy.
To attempt conversion of PDF/Office files, install the optional converter dependency:
pip install -r requirements-docs.txt
Then enable the optional document conversion checkbox in the upload page.
If MarkItDown is not installed, the converter will skip those files, record the reason, and continue.
Media files skipped by default
Skipped by default:
- images:
.jpg,.jpeg,.png,.gif,.webp,.svg,.bmp,.tif,.tiff,.heic - audio:
.mp3,.wav,.m4a,.aac,.ogg,.flac - video:
.mp4,.mov,.avi,.mkv,.webm,.wmv,.m4v - PDF/Office files unless optional conversion is enabled
- unknown file types
- large files above the conversion size limit
Current deployment limitations
This is closer to deployment, but not fully packaged for nontechnical instructors yet.
Source/dev mode still requires:
- Python installed on the computer
- first-run package installation into
.venv - Windows batch files for startup
Portable/release mode bundles Python with PyInstaller. Some managed university computers may still block unknown unsigned executables. In that case, use the source/dev mode or ask IT to allow/sign the executable.
Recommended next steps
- Test v9 on Windows with and without Claude Desktop installed.
- Test with several Canvas exports from different course types.
- If managed computers block the unsigned portable executable, add code signing or an IT-deployed MSI.
- Add optional AI chat inside the local browser UI.
- Add a Claude Desktop
.mcpbextension package later for the cleanest Claude install experience.
One-line Windows installer
Recommended (window stays open on managed PCs):
powershell -NoProfile -ExecutionPolicy Bypass -NoExit -Command "iex (irm 'https://raw.githubusercontent.com/digaocoite/canvasmcplocal/main/install.ps1')"
Repo: digaocoite/canvasmcplocal. See ONE_LINE_INSTALL.md for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。