← Back to Plugins
MCP Server MCP

io.github.shinpr/mcp-image

github By github 👁 1 views ▲ 0 votes

AI image generation and editing with prompt optimization and quality presets

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "mcp-image",
      "version": "0.13.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Image provider to use: 'gemini' (default), 'openai', or 'seedream'",
          "format": "string",
          "name": "IMAGE_PROVIDER"
        },
        {
          "description": "Google Gemini API key for image generation when IMAGE_PROVIDER=gemini (get from https://aistudio.google.com/apikey)",
          "format": "string",
          "isSecret": true,
          "name": "GEMINI_API_KEY"
        },
        {
          "description": "OpenAI API key for image generation when IMAGE_PROVIDER=openai. Requires OpenAI organization verification to access gpt-image-2 (https://platform.openai.com/settings/organization/general)",
          "format": "string",
          "isSecret": true,
          "name": "OPENAI_API_KEY"
        },
        {
          "description": "BytePlus ModelArk AP region API key required when IMAGE_PROVIDER=seedream",
          "format": "string",
          "isSecret": true,
          "name": "ARK_API_KEY"
        },
        {
          "description": "Absolute path to directory where generated images will be saved (defaults to ./output)",
          "format": "string",
          "name": "IMAGE_OUTPUT_DIR"
        },
        {
          "description": "Default quality preset: 'fast' (default), 'balanced', or 'quality'",
          "format": "string",
          "name": "IMAGE_QUALITY"
        },
        {
          "description": "Set to 'true' to disable automatic prompt optimization and use direct prompts",
          "format": "boolean",
          "name": "SKIP_PROMPT_ENHANCEMENT"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...