Connect Modula to Cursor

Cursor is an AI-powered code editor with built-in MCP support. Once Modula is connected, you can ask Cursor to generate interactive content directly from the editor using natural language.

What you’ll need

Quick setup

Add Modula to Cursor

The link opens Cursor with Modula’s server ready to install. Check that the address is https://modula.dev/mcp, confirm the installation, then click Connect (or Needs login) next to the server and sign in to Modula in your browser.

Steps, if you prefer to do it by hand

1. Add Modula to the MCP configuration

Create or edit ~/.cursor/mcp.json (all projects) or .cursor/mcp.json in your project (one project):

{
  "mcpServers": {
    "modula": {
      "url": "https://modula.dev/mcp"
    }
  }
}

2. Authenticate with Modula

Open Cursor’s settings and go to the MCP section: the Modula server is listed there. Click its login button, sign in to Modula in the browser that opens and grant permission.

3. Use Modula in Chat

Open Cursor’s Chat in Agent mode and try:

Using Modula, create a lesson on the French Revolution with an intro section, a timeline component, and a quiz.

Cursor will invoke the Modula tools automatically to write the blocks and assemble the page.

Tips

  • You can verify the connection is active in the MCP section of the settings — the Modula server should show a green status indicator.
  • To remove the connection, delete the Modula entry from the MCP section of the settings or from mcp.json.
  • If the install link does nothing, copy the configuration above into mcp.json instead.
  • If authentication fails, try disconnecting and reconnecting the server to restart the OAuth flow.