Skip to main content
Glama

Jimeng MCP Server

by ttkkasd
MIT License
2

Jimeng MCP Server

A Model Context Protocol (MCP) server for Volcengine's Jimeng AI image generation service.

Features

  • Generate images using Volcengine's Jimeng AI service
  • Support for Chinese and English prompts
  • Configurable image dimensions and generation parameters
  • Watermark support
  • Built-in prompt enhancement (LLM preprocessing)
  • Super-resolution enhancement

Installation

npm install jimeng-mcp

Setup

  1. Get your Volcengine credentials from the Volcengine Console
  2. Set environment variables:
export VOLCENGINE_ACCESS_KEY_ID="your_access_key_id" export VOLCENGINE_SECRET_ACCESS_KEY="your_secret_access_key"

Usage

With Claude Desktop

Add to your Claude Desktop configuration:

{ "mcpServers": { "jimeng": { "command": "npx", "args": ["jimeng-mcp"], "env": { "VOLCENGINE_ACCESS_KEY_ID": "your_access_key_id", "VOLCENGINE_SECRET_ACCESS_KEY": "your_secret_access_key" } } } }

Standalone Usage

# Set environment variables export VOLCENGINE_ACCESS_KEY_ID="your_access_key_id" export VOLCENGINE_SECRET_ACCESS_KEY="your_secret_access_key" # Run the server npm start

Available Tools

generateImage

Generate images using text descriptions.

Parameters:

  • prompt (required): Text description for image generation
  • req_key (optional): Model identifier (default: "jimeng_high_aes_general_v21_L")
  • seed (optional): Random seed for generation (default: -1)
  • width (optional): Image width in pixels (default: 512)
  • height (optional): Image height in pixels (default: 512)
  • use_sr (optional): Enable super-resolution (default: true)
  • use_pre_llm (optional): Enable prompt enhancement (default: true)
  • return_url (optional): Return image URLs (default: true)
  • logo_info (optional): Watermark configuration

Example:

{ "prompt": "一只可爱的小猫在花园里玩耍,阳光明媚,高清摄影", "width": 1024, "height": 1024, "use_sr": true }

Development

# Install dependencies npm install # Build npm run build # Development mode npm run dev # Lint npm run lint # Format npm run format

Configuration

Environment Variables

  • VOLCENGINE_ACCESS_KEY_ID: Your Volcengine access key ID
  • VOLCENGINE_SECRET_ACCESS_KEY: Your Volcengine secret access key

Watermark Configuration

{ "logo_info": { "add_logo": true, "position": 0, // 0: bottom-right, 1: bottom-left, 2: top-left, 3: top-right "language": 0, // 0: Chinese, 1: English "logo_text_content": "AI Generated", "opacity": 0.3 } }

API Reference

This MCP server interfaces with Volcengine's Jimeng image generation API. For detailed API documentation, visit:

License

MIT

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

For issues and questions:

Security

  • Never commit API keys or secrets to version control
  • Use environment variables for sensitive configuration
  • Regularly rotate your API credentials
-
security - not tested
A
license - permissive license
-
quality - not tested

A Model Context Protocol server that enables generating AI images using Volcengine's Jimeng service, supporting features like prompt enhancement, super-resolution, and watermarking.

  1. Features
    1. Installation
      1. Setup
        1. Usage
          1. With Claude Desktop
          2. Standalone Usage
        2. Available Tools
          1. generateImage
        3. Development
          1. Configuration
            1. Environment Variables
            2. Watermark Configuration
          2. API Reference
            1. License
              1. Contributing
                1. Support
                  1. Security

                    Related MCP Servers

                    • -
                      security
                      A
                      license
                      -
                      quality
                      A server that provides AI-powered image generation, modification, and processing capabilities through the Model Context Protocol, leveraging Google Gemini models and other image services.
                      Last updated -
                      11
                      Python
                      MIT License
                      • Linux
                      • Apple
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A Model Context Protocol server that provides image generation capabilities using Google's Gemini 2 API, allowing users to generate multiple images with customizable parameters like prompts, aspect ratios, and person generation settings.
                      Last updated -
                      1
                      3
                      JavaScript
                      MIT License
                      • Apple
                      • Linux
                    • A
                      security
                      A
                      license
                      A
                      quality
                      Model Context Protocol server that enables generating videos from text prompts and/or images using AI models (Luma Ray2 Flash and Kling v1.6 Pro) with configurable parameters like aspect ratio, resolution, and duration.
                      Last updated -
                      2
                      3
                      JavaScript
                      MIT License
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A TypeScript-based Model Context Protocol server that integrates with Volcengine's Jimeng AI image generation service, allowing users to generate AI images through simple tool calls.
                      Last updated -
                      1
                      4
                      2
                      TypeScript
                      MIT License

                    View all related MCP servers

                    MCP directory API

                    We provide all the information about MCP servers via our MCP API.

                    curl -X GET 'https://glama.ai/api/mcp/v1/servers/ttkkasd/jimeng-mcp'

                    If you have feedback or need assistance with the MCP directory API, please join our Discord server