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 | Actions Reset |
|---|---|---|---|---|
| modelscope_image_gen_mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for modelscope_image_gen_mcp-0.1.4-py3-none-any.whl |
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
|
Security for modelscope-image-gen-mcp 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.