diff --git a/README.md b/README.md index 875eab5..27110eb 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ You can also debug the server using the [MCP Inspector](https://github.com/model # Run in UI mode with stdio transport (can switch to HTTP/SSE in the Web UI as needed) npx @modelcontextprotocol/inspector uv run modelscope-mcp-server -# Run in CLI mode with HTTP transportt (can do operations across tools, resources, and prompts) +# Run in CLI mode with HTTP transport (can do operations across tools, resources, and prompts) npx @modelcontextprotocol/inspector --cli http://127.0.0.1:8000/mcp/ --transport http --method tools/list ``` diff --git a/src/modelscope_mcp_server/tools/aigc.py b/src/modelscope_mcp_server/tools/aigc.py index 7f2d288..7b507ea 100644 --- a/src/modelscope_mcp_server/tools/aigc.py +++ b/src/modelscope_mcp_server/tools/aigc.py @@ -41,8 +41,8 @@ async def generate_image( model: Annotated[ str | None, Field( - description="The model's ID fo be used for image generation. " - "If not provided, uses the default model provided in server settings." + 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." ), ] = None, image_url: Annotated[