Connect Gemini CLI to Loora over MCP.
Gemini CLI distinguishes the two remote transports by key name: httpUrl for streamable HTTP, url for the older server-sent-events transport. Loora is streamable HTTP, so httpUrl is the one you want — url will attempt an SSE handshake and time out.
Configuration
~/.gemini/settings.json, or .gemini/settings.json in a project.
{
"mcpServers": {
"loora": {
"httpUrl": "https://mcp.loora.design/mcp"
}
}
}Steps
- Add the mcpServers block above to ~/.gemini/settings.json.
- Start Gemini CLI and run /mcp to list configured servers.
- Authenticate loora when prompted and approve in the browser.
- Run /mcp once more to confirm the tools are loaded.
Worth knowing
- httpUrl is streamable HTTP; url is SSE. Using the wrong one fails as a connection timeout rather than as a config error.
- A project-level .gemini/settings.json merges over the home-directory file.
- trust: true on the entry skips the per-call confirmation — worth it only once you are used to what the write tools do.
What you can ask for
Once the server is connected, Gemini CLI has the same vocabulary as every other client. Every call commits a validated canvas transaction, so it is inspectable, undoable, and safe to make on a branch.
| Group | Tools |
|---|---|
| Read | listDesigns, getDesignContext, readNode, readTree, searchNodes, listAssets, listVersions |
| Write | createPage, insertNodes, patchNodes, moveNodes, deleteNodes |
| Reuse | createComponent, createInstance, setTokens |
| Motion | setAnimations, animateNodes |
| Look | viewCanvas, viewPage, viewNode, getScreenshot |
| Branches | listBranches, createBranch, proposeBranch, compareBranch, applyBranch, reopenBranch, closeBranch |
| Designs | createDesign, renameDesign, deleteDesign, exportCode |
A good first prompt: ask for listDesigns, then getDesignContext on the one you want, then have it call setTokens before it draws anything. Why that order matters →
Gemini CLI and Loora: questions
httpUrl or url in Gemini CLI?
httpUrl. It selects the streamable HTTP transport, which is what the Loora MCP server speaks. The url key selects SSE and will not connect.
How do I check the server is connected?
Run /mcp inside Gemini CLI. It lists every configured server with its status and the tools it exposes.
Can I scope the server to one project?
Yes. Put the same block in .gemini/settings.json inside the project; it merges over your home-directory settings.