Prerequisites
- moodle-cli and edstem-cli installed and signed in. See Install and Install.
- VS Code with GitHub Copilot Chat’s agent mode.
.vscode/mcp.json, or from a user-profile file opened with the MCP: Open User Configuration command. Both use a servers key, not mcpServers.
- Moodle
- Ed Discussion
Preferred: moodle mcp connect
mcp.json:Manual: remote, header auth
<your-token> with moodle mcp connect vscode --mode remote --show-token. Avoid hardcoding it in a workspace .vscode/mcp.json you commit — use the user-profile file, or an input variable, instead.