Skip to main content

ModelScope Image Generation MCP

Project description

Feature

  • 📝 Support text to image generation backed by models on ModelScope

Prerequisites

  1. Python 3.11+
  2. ModelScope Token (obtained from Modelscope)
  3. Node.js (optional, for MCP Inspector)

Install

install modelscope-image-gen-mcp throuh pip

pip install modelscope-image-gen-mcp

Debug by MCP Inspector

start the inspector by following command in terminal (replace YOUR_MODELSCOPE_TOKEN with your own token):

npx @modelcontextprotocol/inspector -e MODELSCOPE_TOKEN=YOUR_MODELSCOPE_TOKEN python -m modelscope_image_gen_mcp

Start the server

start the server by following command:

env MODELSCOPE_TOKEN=YOUR_MODELSCOPE_TOKEN python -m modelscope_image_gen_mcp

or you can add following json into your config file

{
    "mcpServers": {
        "modelscope-image-gen-mcp": {
            "command": "python",
            "args": [
                "-m",
                "modelscope_image_gen_mcp"
            ],
            "env": {
                "MODELSCOPE_TOKEN": "YOUR_MODELSCOPE_TOKEN"
            }
        }
    }
}

Metadata

Release files for modelscope-image-gen-mcp 0.1.4

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 modelscope-image-gen-mcp 0.1.4
File Interpreter ABI Platform
modelscope_image_gen_mcp-0.1.4-py3-none-any.whl Python 3 none any Details

Release files / modelscope_image_gen_mcp-0.1.4-py3-none-any.whl

Download URL modelscope_image_gen_mcp-0.1.4-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9c52d24f46056f636011409f2788243baa009f8c307b9cad418605f51b81c8f
BLAKE2b-256 checksum
How to use checksums
d0a24f5f404f4f0e449dbc33142d088f487fa72b17826968b3d65ea201f7b9d9
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.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

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