MCP server

Gemini CLI

Add the Trame UI MCP server to Google's Gemini CLI.

1. Add the server

Run:

gemini mcp add --transport http -s user trame https://mcp.trame-ui.com/mcp

-s user adds it for every project. Or add it by hand to Gemini CLI’s settings.json:

{
  "mcpServers": {
    "trame": {
      "httpUrl": "https://mcp.trame-ui.com/mcp"
    }
  }
}

Use httpUrl, not url: in Gemini CLI, url means the older SSE transport.

2. Sign in

Start gemini, then run:

/mcp auth trame

Your browser opens trame-ui.com. Sign in and allow Gemini CLI.

3. Ask for a page

With your key in the project’s .env (see Your key), ask Gemini CLI, for example:

Add a Trame UI newsletter section to the blog's footer.

Remove

Delete the trame entry from settings.json.