Connect Modula to Gemini
Google Gemini supports external tools through Google AI Studio and the Gemini API. Once connected, Gemini can access the Modula component library and help you build interactive educational content.
What you’ll need
- A Google account
- Access to Google AI Studio (free)
- A Modula account — sign up here
Steps
1. Open Google AI Studio
Go to aistudio.google.com and sign in with your Google account.
2. Create a new prompt
Click Create prompt to start a new session. You’ll see a settings panel on the right side of the screen.
3. Add Modula as a tool
In the right panel, look for the Tools section. Click Add tool and choose the option to add a custom external tool or server.
Enter the following address when prompted:
https://mcp.modula.dev/mcp 4. Sign in to Modula
A Modula login window will appear. Sign in with your Modula credentials and grant access. Once confirmed, Gemini will be able to use Modula in that session.
5. Ask Gemini to build with Modula
With the tool active, describe what you want to create:
“Using Modula, put together a lesson on climate change: an introductory text, an interactive chart showing temperature trends, and a short comprehension quiz.”
Gemini will search the Modula library, select the appropriate components, and generate the content.
Using Modula with Gemini API
If you are a developer working with the Gemini API directly, you can connect Modula as a tool in your API requests. Refer to the Google documentation on MCP tool use and point it to https://mcp.modula.dev/mcp.
Tips
- The Modula connection is per-session in Google AI Studio — you may need to add it again when you start a new prompt.
- If you use Gemini Advanced in the consumer interface at gemini.google.com, tool connections may not be available yet. Google AI Studio is currently the recommended option.
- To revoke access, go to your Google account’s connected applications and remove Modula.