← Back to Plugins
MCP Server MCP

Image Gen

github By github 👁 1 views ▲ 0 votes

Generate and edit images from your coding agent with Gemini and OpenAI, using your own API keys.

Homepage Verified source GitHub

Install

npx -y @nuver-labs/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@nuver-labs/image-gen-mcp",
      "version": "0.2.1",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Google Gemini API key. Enables the Gemini provider. At least one provider key is required.",
          "isSecret": true,
          "name": "GEMINI_API_KEY"
        },
        {
          "description": "OpenAI API key. Enables the OpenAI provider. At least one provider key is required.",
          "isSecret": true,
          "name": "OPENAI_API_KEY"
        },
        {
          "description": "Provider used when a tool call does not name one: gemini or openai. Defaults to whichever key is set, preferring gemini.",
          "name": "IMAGE_GEN_MCP_DEFAULT_PROVIDER"
        },
        {
          "description": "Default Gemini model. Defaults to gemini-3.1-flash-image.",
          "name": "IMAGE_GEN_MCP_GEMINI_MODEL"
        },
        {
          "description": "Default OpenAI model. Defaults to gpt-image-2.",
          "name": "IMAGE_GEN_MCP_OPENAI_MODEL"
        },
        {
          "description": "Directory used when a tool call passes no output_path.",
          "name": "IMAGE_GEN_MCP_OUTPUT_DIR"
        },
        {
          "description": "Comma separated directories that file reads and writes are confined to. Unset means unrestricted.",
          "name": "IMAGE_GEN_MCP_ALLOWED_DIRS"
        },
        {
          "description": "Per-request timeout to the provider API in milliseconds. Defaults to 180000.",
          "name": "IMAGE_GEN_MCP_TIMEOUT_MS"
        },
        {
          "description": "Path of the JSONL image ledger. Defaults to ~/.image-gen-mcp/images.jsonl. Set to none to disable the file.",
          "name": "IMAGE_GEN_MCP_LOG_FILE"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...