Skip to content
Gemini CLI

convexity mcp for Gemini CLI

io.github.bayesian-energy/convexity-mcp

Build, edit, solve and analyse Convexity energy-system models from any MCP client; drives the app.

client:Gemini CLI transport:stdio runtime:npm

Install convexity mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "convexity-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "convexity-mcp"
      ],
      "env": {
        "CONVEXITY_API_KEY": "<CONVEXITY_API_KEY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

convexity mcp in other clients