Connect Copilot in VS Code to Studium
Add the Studium server to Copilot Chat in agent mode, so that Copilot plays your lessons through Studium's tools. This page is about Copilot's own MCP client; the extension's lesson pane is in VS Code.
Before you start
- Read Connect your assistant: it explains the two ways to start the server
(
npx -y studium-mcp, ornodeon a file from a checkout or a release),/path/to/studium,BUNDLES_ROOTandLITELLM_BASE_URL. Thenpxform needs only Node; see Installation. - Copilot Chat in agent mode reads MCP servers from
.vscode/mcp.jsonin the workspace, or from your user configuration when you usecode --add-mcp. For the checkout form, open the checkout as the workspace. - Students can get Copilot through GitHub Education: request student verification (GitHub Education for students), then activate Copilot Student in your Copilot settings (set up Copilot for students). Verification and activation are two steps and the benefit can take days to appear; check the request before paying. Verified teachers have their own path (teachers). Send supporting documents to GitHub only, never to a course repository.
Do the task
Add the server. With
npx(no checkout), in one command:code --add-mcp '{"name":"studium","command":"npx","args":["-y","studium-mcp"],"env":{"LITELLM_BASE_URL":""}}'or merge this into
.vscode/mcp.json:{ "servers": { "studium": { "type": "stdio", "command": "npx", "args": ["-y", "studium-mcp"], "env": { "LITELLM_BASE_URL": "" } } } }From a checkout opened as the workspace, use
"command": "node"and"args": ["${workspaceFolder}/apps/studium-vscode/dist/lesson-mcp.cjs"].In the Command Palette, run MCP: List Servers, select
studiumand start it. Its log shows errors.
VS Code uses servers, not the mcpServers key of Claude Code and Cursor. Reference:
MCP servers in VS Code.
What you get
MCP: List Servers shows studium running. To prove the connection, run the check in
Connect your assistant.
Limits
- The Studium extension's lesson pane starts its own server. Copilot's MCP client and the pane do not share the current scene: drive a lesson from one of them at a time. See VS Code.
- Plans, models and limits are set by GitHub and change over time.