ModelScope Image Generation MCP
Project description
Feature
- 📝 Support text to image generation backed by models on ModelScope
Prerequisites
- Python 3.11+
- ModelScope Token (obtained from Modelscope)
- 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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|