0.2.1pypi · modelscope-mcp-server · latest release
Observed 2026-09-04T08:44:51.936Z using mcpSecurity-inventory. Protocol 2025-06-18.
| Tool | Category | Risk |
|---|---|---|
generate_imageGenerate an image based on the given text prompt and ModelScope AIGC model ID.
Supports both text-to-image and image-to-image generation.Input schema{
"properties": {
"prompt": {
"description": "The prompt of the image to be generated, containing the desired elements and visual features.",
"type": "string"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The model's ID to be used for image generation. If not provided, the default model for the corresponding generation type (text-to-image or image-to-image) is used."
},
"image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The URL of the source image for image-to-image generation.If not provided, performs text-to-image generation."
}
},
"required": [
"prompt"
],
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"type": {
"description": "Type of image generation",
"enum": [
"text-to-image",
"image-to-image"
],
"type": "string"
},
"model": {
"description": "Model used for image generation",
"type": "string"
},
"image_url": {
"description": "URL of the generated image",
"type": "string"
}
},
"required": [
"type",
"model",
"image_url"
],
"type": "object",
"description": "Image generation result."
}Annotations{
"destructiveHint": false,
"title": "Generate Image"
} | — | — |
get_current_userGet current authenticated user information from ModelScope.
Use this when a request is about the user's own profile for ModelScope.
Or when information is missing to build other tool calls.Input schema{
"properties": {},
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"authenticated": {
"description": "Whether the user is authenticated",
"type": "boolean"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Reason for failed authentication"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Username"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email"
},
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Avatar URL"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description"
},
"modelscope_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Profile page URL on ModelScope"
}
},
"required": [
"authenticated"
],
"type": "object",
"description": "User information."
}Annotations{
"readOnlyHint": true,
"title": "Get Current User"
} | — | — |
get_environment_infoGet current MCP server environment information.
Returns version information for the server, FastMCP framework, MCP protocol, and Python runtime.
Useful for debugging and compatibility checking.Input schema{
"properties": {},
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"server_version": {
"description": "ModelScope MCP Server version",
"type": "string"
},
"fastmcp_version": {
"description": "FastMCP framework version",
"type": "string"
},
"mcp_protocol_version": {
"description": "MCP protocol version",
"type": "string"
},
"python_version": {
"description": "Python runtime version",
"type": "string"
},
"main_domain": {
"description": "ModelScope website domain",
"type": "string"
},
"api_inference_domain": {
"description": "ModelScope API inference domain",
"type": "string"
},
"default_text_to_image_model": {
"description": "Default text-to-image model",
"type": "string"
},
"default_image_to_image_model": {
"description": "Default image-to-image model",
"type": "string"
}
},
"required": [
"server_version",
"fastmcp_version",
"mcp_protocol_version",
"python_version",
"main_domain",
"api_inference_domain",
"default_text_to_image_model",
"default_image_to_image_model"
],
"type": "object",
"description": "Environment information."
}Annotations{
"readOnlyHint": true,
"title": "Get Environment Info"
} | — | — |
get_mcp_server_detailGet detailed information about a specific MCP server.Input schema{
"properties": {
"server_id": {
"description": "MCP Server's unique ID, for example '@modelscope/modelscope-mcp-server'",
"type": "string"
}
},
"required": [
"server_id"
],
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"id": {
"description": "MCP Server ID",
"type": "string"
},
"name": {
"description": "MCP Server name",
"type": "string"
},
"description": {
"description": "Description",
"type": "string"
},
"tags": {
"default": [],
"description": "Tags",
"items": {
"type": "string"
},
"type": "array"
},
"logo_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Logo image URL"
},
"modelscope_url": {
"description": "Detail page URL on ModelScope",
"type": "string"
},
"view_count": {
"default": 0,
"description": "View count",
"type": "integer"
},
"author": {
"description": "Author",
"type": "string"
},
"server_config": {
"default": [],
"description": "Server configuration",
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
"env_schema": {
"description": "JSON schema for environment variables",
"type": "string"
},
"is_hosted": {
"description": "Whether the server supports hosted mode",
"type": "boolean"
},
"is_verified": {
"description": "Whether the server's hosted mode is verified",
"type": "boolean"
},
"source_url": {
"description": "Source code URL",
"type": "string"
},
"github_stars": {
"default": 0,
"description": "GitHub stars count",
"type": "integer"
},
"readme": {
"description": "README content",
"type": "string"
}
},
"required": [
"id",
"name",
"description",
"modelscope_url",
"author",
"env_schema",
"is_hosted",
"is_verified",
"source_url",
"readme"
],
"type": "object",
"description": "Detailed MCP Server information extending basic MCP Server info."
}Annotations{
"title": "Get MCP Server Detail"
} | — | — |
search_datasetsSearch for datasets on ModelScope.Input schema{
"properties": {
"query": {
"default": "",
"description": "Keyword to search for related datasets. Leave empty to get all datasets based on other filters.",
"type": "string"
},
"sort": {
"default": "default",
"description": "Sort order",
"enum": [
"default",
"downloads",
"likes",
"gmt_modified"
],
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of datasets to return",
"maximum": 30,
"minimum": 1,
"type": "integer"
}
},
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"result": {
"items": {
"description": "Dataset information.",
"properties": {
"id": {
"description": "Unique dataset ID, formatted as 'path/name'",
"type": "string"
},
"path": {
"description": "Dataset path, for example 'opencompass'",
"type": "string"
},
"name": {
"description": "Dataset name, for example 'mmlu'",
"type": "string"
},
"chinese_name": {
"description": "Chinese name",
"type": "string"
},
"created_by": {
"description": "User who created the dataset",
"type": "string"
},
"license": {
"description": "Open source license",
"type": "string"
},
"modelscope_url": {
"description": "Detail page URL on ModelScope",
"type": "string"
},
"downloads_count": {
"default": 0,
"description": "Number of downloads",
"type": "integer"
},
"likes_count": {
"default": 0,
"description": "Number of likes",
"type": "integer"
},
"created_at": {
"default": 0,
"description": "Created time (unix timestamp, seconds)",
"type": "integer"
},
"updated_at": {
"default": 0,
"description": "Last updated time (unix timestamp, seconds)",
"type": "integer"
}
},
"required": [
"id",
"path",
"name",
"chinese_name",
"created_by",
"license",
"modelscope_url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object",
"x-fastmcp-wrap-result": true
}Annotations{
"title": "Search Datasets"
} | — | — |
search_mcp_serversSearch for MCP servers on ModelScope.Input schema{
"properties": {
"search": {
"default": "",
"description": "Search keyword for MCP servers",
"type": "string"
},
"category": {
"anyOf": [
{
"enum": [
"browser-automation",
"search",
"communication",
"customer-and-marketing",
"developer-tools",
"entertainment-and-media",
"file-systems",
"finance",
"knowledge-and-memory",
"location-services",
"art-and-culture",
"research-and-data",
"calendar-management",
"other"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by category"
},
"is_hosted": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by hosted status"
},
"limit": {
"default": 10,
"description": "Maximum number of servers to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"result": {
"items": {
"description": "MCP Server information.",
"properties": {
"id": {
"description": "MCP Server ID",
"type": "string"
},
"name": {
"description": "MCP Server name",
"type": "string"
},
"description": {
"description": "Description",
"type": "string"
},
"tags": {
"default": [],
"description": "Tags",
"items": {
"type": "string"
},
"type": "array"
},
"logo_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Logo image URL"
},
"modelscope_url": {
"description": "Detail page URL on ModelScope",
"type": "string"
},
"view_count": {
"default": 0,
"description": "View count",
"type": "integer"
}
},
"required": [
"id",
"name",
"description",
"modelscope_url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object",
"x-fastmcp-wrap-result": true
}Annotations{
"title": "Search MCP Servers"
} | — | — |
search_modelsSearch for models on ModelScope.Input schema{
"properties": {
"query": {
"default": "",
"description": "Keyword to search for related models. Leave empty to get all models based on other filters.",
"type": "string"
},
"task": {
"anyOf": [
{
"enum": [
"text-generation",
"text-to-image",
"image-to-image"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Task category to filter by"
},
"filters": {
"anyOf": [
{
"items": {
"const": "support_inference",
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Additional filter options for models"
},
"sort": {
"default": "Default",
"description": "Sort order",
"enum": [
"Default",
"DownloadsCount",
"StarsCount",
"GmtModified"
],
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of models to return",
"maximum": 30,
"minimum": 1,
"type": "integer"
}
},
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"result": {
"items": {
"description": "Model information.",
"properties": {
"id": {
"description": "Unique model ID, formatted as 'path/name'",
"type": "string"
},
"path": {
"description": "Model path, for example 'deepseek-ai'",
"type": "string"
},
"name": {
"description": "Model name, for example 'DeepSeek-R1'",
"type": "string"
},
"chinese_name": {
"description": "Chinese name",
"type": "string"
},
"created_by": {
"description": "User who created the model",
"type": "string"
},
"license": {
"description": "Open source license",
"type": "string"
},
"modelscope_url": {
"description": "Detail page URL on ModelScope",
"type": "string"
},
"support_inference": {
"default": false,
"description": "Whether the model supports inference API",
"type": "boolean"
},
"downloads_count": {
"default": 0,
"description": "Number of downloads",
"type": "integer"
},
"stars_count": {
"default": 0,
"description": "Number of stars",
"type": "integer"
},
"created_at": {
"default": 0,
"description": "Created time (unix timestamp, seconds)",
"type": "integer"
},
"updated_at": {
"default": 0,
"description": "Last updated time (unix timestamp, seconds)",
"type": "integer"
}
},
"required": [
"id",
"path",
"name",
"chinese_name",
"created_by",
"license",
"modelscope_url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object",
"x-fastmcp-wrap-result": true
}Annotations{
"title": "Search Models"
} | — | — |
search_papersSearch for papers on ModelScope.Input schema{
"properties": {
"query": {
"description": "Search query for papers",
"type": "string"
},
"sort": {
"default": "default",
"description": "Sort order",
"enum": [
"default",
"hot",
"recommend"
],
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of papers to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"query"
],
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"result": {
"items": {
"description": "Paper information.",
"properties": {
"arxiv_id": {
"description": "Arxiv ID",
"type": "string"
},
"title": {
"description": "Title",
"type": "string"
},
"authors": {
"description": "Authors",
"type": "string"
},
"publish_date": {
"description": "Publish date",
"type": "string"
},
"abstract_cn": {
"description": "Abstract in Chinese",
"type": "string"
},
"abstract_en": {
"description": "Abstract in English",
"type": "string"
},
"modelscope_url": {
"description": "Detail page URL on ModelScope",
"type": "string"
},
"arxiv_url": {
"description": "Arxiv page URL",
"type": "string"
},
"pdf_url": {
"description": "PDF URL",
"type": "string"
},
"code_link": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Code link"
},
"view_count": {
"default": 0,
"description": "View count",
"type": "integer"
},
"favorite_count": {
"default": 0,
"description": "Favorite count",
"type": "integer"
},
"comment_count": {
"default": 0,
"description": "Comment count",
"type": "integer"
}
},
"required": [
"arxiv_id",
"title",
"authors",
"publish_date",
"abstract_cn",
"abstract_en",
"modelscope_url",
"arxiv_url",
"pdf_url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object",
"x-fastmcp-wrap-result": true
}Annotations{
"title": "Search Papers"
} | — | — |
search_studiosSearch for studios on ModelScope.Input schema{
"properties": {
"query": {
"default": "",
"description": "Keyword to search for related studios. Leave empty to get all studios based on other filters.",
"type": "string"
},
"domains": {
"anyOf": [
{
"items": {
"enum": [
"multi-modal",
"cv",
"nlp",
"audio",
"AutoML"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Domain categories to filter by"
},
"sort": {
"default": "Default",
"description": "Sort order",
"enum": [
"Default",
"gmt_modified",
"VisitsCount",
"StarsCount"
],
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of studios to return",
"maximum": 30,
"minimum": 1,
"type": "integer"
}
},
"type": "object",
"additionalProperties": false
}Output schema{
"properties": {
"result": {
"items": {
"description": "Studio information.",
"properties": {
"id": {
"description": "Unique studio ID",
"type": "string"
},
"path": {
"description": "Studio path, for example 'ttwwwaa'",
"type": "string"
},
"name": {
"description": "Studio name, for example 'ChatTTS_Speaker'",
"type": "string"
},
"chinese_name": {
"description": "Chinese name",
"type": "string"
},
"description": {
"description": "Studio description",
"type": "string"
},
"created_by": {
"description": "User who created the studio",
"type": "string"
},
"license": {
"description": "Open source license",
"type": "string"
},
"modelscope_url": {
"description": "Detail page URL on ModelScope",
"type": "string"
},
"independent_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Independent access URL"
},
"cover_image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Cover image URL"
},
"type": {
"description": "Studio type, for example 'programmatic' or 'interactive'",
"type": "string"
},
"status": {
"description": "Current status, for example 'Running'",
"type": "string"
},
"domains": {
"default": [],
"description": "Domain categories",
"items": {
"type": "string"
},
"type": "array"
},
"stars": {
"default": 0,
"description": "Number of stars",
"type": "integer"
},
"visits": {
"default": 0,
"description": "Number of visits",
"type": "integer"
},
"created_at": {
"default": 0,
"description": "Created time (unix timestamp, seconds)",
"type": "integer"
},
"updated_at": {
"default": 0,
"description": "Last updated time (unix timestamp, seconds)",
"type": "integer"
},
"deployed_at": {
"default": 0,
"description": "Deployed time (unix timestamp, seconds)",
"type": "integer"
}
},
"required": [
"id",
"path",
"name",
"chinese_name",
"description",
"created_by",
"license",
"modelscope_url",
"type",
"status"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object",
"x-fastmcp-wrap-result": true
}Annotations{
"title": "Search Studios (创空间 AI 应用)"
} | — | — |
No completed comparison is available.
| Risk | Change | Subject |
|---|---|---|
| No material changes recorded. | ||
| Severity | Finding | Advisory |
|---|---|---|
| No confirmed vulnerability is published for this version. | ||
Artifact SHA-256: 0d8e0a368aa3f3c787751651769c50fb005c0ea14ed0a7410792f33a882dfd24
Scanner: mcp-proof-engine 0.1.0.