Connect Modula to GitHub Copilot
GitHub Copilot in VS Code supports MCP servers natively from version 1.99 (April 2025). Once Modula is connected, you can use Copilot Chat in Agent mode to generate interactive content directly from your editor.
What you’ll need
- VS Code 1.99 or later
- The GitHub Copilot extension installed and active
- A Modula account — sign up for free
Quick setup
Add Modula to VS CodeThe link opens VS Code with Modula’s server ready to install. Check that the address is https://modula.dev/mcp, then click Install. VS Code opens a browser window to sign in to Modula: grant permission.
Steps, if you prefer to do it by hand
1. Add the server
Open the Command Palette (⌘ Shift P / Ctrl Shift P) and run MCP: Add Server, choose HTTP, enter https://modula.dev/mcp and the name modula, then choose where to save it. Or write the configuration yourself, in .vscode/mcp.json in your project (or in your user configuration, opened with MCP: Open User Configuration):
{
"servers": {
"modula": {
"type": "http",
"url": "https://modula.dev/mcp"
}
}
} 2. Authenticate with Modula
The first time Copilot invokes a Modula tool, VS Code opens a browser window to complete the Modula login flow. Sign in with your Modula account and grant permission.
3. Use Modula in Agent mode
Open the Copilot Chat panel (⌃ ⌘ I / Ctrl Alt I) and switch to Agent mode using the dropdown at the top of the chat input: MCP servers are only available in Agent mode. Try a prompt like:
Using Modula, create a lesson on the water cycle: an introductory section, an interactive diagram, and a short comprehension quiz at the end.
Copilot will call the Modula tools automatically to write the blocks and assemble the page.
Tips
- You can verify which MCP servers are active by clicking the Tools icon (wrench) in the Copilot Chat input bar — Modula tools should appear in the list.
- If you need to restart the authentication flow, open the Command Palette and run MCP: List Servers, then select Modula and choose Restart Server.
- The workspace-level
.vscode/mcp.jsoncan be committed to your repository so all team members get the Modula server automatically. - To remove the connection, delete the
"modula"entry from yourmcp.json, or run MCP: List Servers and uninstall it.