Skip to main content

Feature

  • 📝 Support image generation by text via Modelscope

Prerequisites

  1. Python 3.11+
  2. Modelscope Key (apply from Modelscope)
  3. Node.js (optional, for MCP Inspector)

Install

  1. python packages
pip install -r requirements.txt
  1. install image_generation_mcp_server
pip install image-generation-mcp-server

Debug by MCP Inspector

start the inspector by following command in terminal (replace YOUR_MODELSCOPE_API_KEY with your own key):

npx @modelcontextprotocol/inspector -e MODELSCOPE_API_KEY=YOUR_MODELSCOPE_API_KEY python -m image_generation_mcp_server

Start the server

start the server by following command:

env MODELSCOPE_API_KEY=YOUR_MODELSCOPE_API_KEY python -m image_generation_mcp_server

or you can add following json into your config file

{
    "mcpServers": {
        "image-generation-mcp-server": {
            "command": "python",
            "args": [
                "-m",
                "image_generation_mcp_server"
            ],
            "env": {
                "MODELSCOPE_API_KEY": "YOUR_MODELSCOPE_API_KEY"
            }
        }
    }
}

Metadata

Release files for image-generation-mcp-server 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for image-generation-mcp-server 0.1.1
File Interpreter ABI Platform
image_generation_mcp_server-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / image_generation_mcp_server-0.1.1-py3-none-any.whl

Download URL image_generation_mcp_server-0.1.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c10b260af07aa6f185228e556805e40c3f7463569d700c06673ba9c62e795418
BLAKE2b-256 checksum
How to use checksums
2fb9995d16e837559acb4e5da89af48cf7b1a8e63712ab483c138ed1600dffb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page