awslabs.nova-canvas-mcp-server 0.1.10233__py3-none-any.whl → 0.1.31004__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- awslabs/nova_canvas_mcp_server/server.py +12 -6
- {awslabs_nova_canvas_mcp_server-0.1.10233.dist-info → awslabs_nova_canvas_mcp_server-0.1.31004.dist-info}/METADATA +10 -11
- {awslabs_nova_canvas_mcp_server-0.1.10233.dist-info → awslabs_nova_canvas_mcp_server-0.1.31004.dist-info}/RECORD +5 -5
- {awslabs_nova_canvas_mcp_server-0.1.10233.dist-info → awslabs_nova_canvas_mcp_server-0.1.31004.dist-info}/WHEEL +0 -0
- {awslabs_nova_canvas_mcp_server-0.1.10233.dist-info → awslabs_nova_canvas_mcp_server-0.1.31004.dist-info}/entry_points.txt +0 -0
|
@@ -88,7 +88,8 @@ async def mcp_generate_image(
|
|
|
88
88
|
description='Text to define what not to include in the image (1-1024 characters)',
|
|
89
89
|
),
|
|
90
90
|
filename: Optional[str] = Field(
|
|
91
|
-
default=None,
|
|
91
|
+
default=None,
|
|
92
|
+
description='The name of the file to save the image to (without extension)',
|
|
92
93
|
),
|
|
93
94
|
width: int = Field(
|
|
94
95
|
default=DEFAULT_WIDTH,
|
|
@@ -108,7 +109,8 @@ async def mcp_generate_image(
|
|
|
108
109
|
),
|
|
109
110
|
seed: Optional[int] = Field(default=None, description='Seed for generation (0-858,993,459)'),
|
|
110
111
|
number_of_images: int = Field(
|
|
111
|
-
default=DEFAULT_NUMBER_OF_IMAGES,
|
|
112
|
+
default=DEFAULT_NUMBER_OF_IMAGES,
|
|
113
|
+
description='The number of images to generate (1-5)',
|
|
112
114
|
),
|
|
113
115
|
workspace_dir: Optional[str] = Field(
|
|
114
116
|
default=None,
|
|
@@ -202,20 +204,24 @@ async def mcp_generate_image_with_colors(
|
|
|
202
204
|
description='Text to define what not to include in the image (1-1024 characters)',
|
|
203
205
|
),
|
|
204
206
|
filename: Optional[str] = Field(
|
|
205
|
-
default=None,
|
|
207
|
+
default=None,
|
|
208
|
+
description='The name of the file to save the image to (without extension)',
|
|
206
209
|
),
|
|
207
210
|
width: int = Field(
|
|
208
|
-
default=1024,
|
|
211
|
+
default=1024,
|
|
212
|
+
description='The width of the generated image (320-4096, divisible by 16)',
|
|
209
213
|
),
|
|
210
214
|
height: int = Field(
|
|
211
|
-
default=1024,
|
|
215
|
+
default=1024,
|
|
216
|
+
description='The height of the generated image (320-4096, divisible by 16)',
|
|
212
217
|
),
|
|
213
218
|
quality: str = Field(
|
|
214
219
|
default='standard',
|
|
215
220
|
description='The quality of the generated image ("standard" or "premium")',
|
|
216
221
|
),
|
|
217
222
|
cfg_scale: float = Field(
|
|
218
|
-
default=6.5,
|
|
223
|
+
default=6.5,
|
|
224
|
+
description='How strongly the image adheres to the prompt (1.1-10.0)',
|
|
219
225
|
),
|
|
220
226
|
seed: Optional[int] = Field(default=None, description='Seed for generation (0-858,993,459)'),
|
|
221
227
|
number_of_images: int = Field(default=1, description='The number of images to generate (1-5)'),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: awslabs.nova-canvas-mcp-server
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.31004
|
|
4
4
|
Summary: An AWS Labs Model Context Protocol (MCP) server for Amazon Nova Canvas
|
|
5
|
-
Requires-Python: >=3.
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
6
|
Requires-Dist: boto3>=1.37.24
|
|
7
7
|
Requires-Dist: loguru>=0.7.3
|
|
8
8
|
Requires-Dist: mcp[cli]>=1.6.0
|
|
9
9
|
Requires-Dist: pydantic>=2.11.1
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# Amazon Nova Canvas MCP Server
|
|
13
13
|
|
|
14
14
|
MCP server for generating images using Amazon Nova Canvas
|
|
15
15
|
|
|
@@ -31,7 +31,7 @@ MCP server for generating images using Amazon Nova Canvas
|
|
|
31
31
|
## Prerequisites
|
|
32
32
|
|
|
33
33
|
1. Install `uv` from [Astral](https://docs.astral.sh/uv/getting-started/installation/) or the [GitHub README](https://github.com/astral-sh/uv#installation)
|
|
34
|
-
2. Install Python using `uv python install 3.
|
|
34
|
+
2. Install Python using `uv python install 3.10`
|
|
35
35
|
3. Set up AWS credentials with access to Amazon Bedrock and Nova Canvas
|
|
36
36
|
- You need an AWS account with Amazon Bedrock and Amazon Nova Canvas enabled
|
|
37
37
|
- Configure AWS credentials with `aws configure` or environment variables
|
|
@@ -39,9 +39,7 @@ MCP server for generating images using Amazon Nova Canvas
|
|
|
39
39
|
|
|
40
40
|
## Installation
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
Add the server to your MCP client config (e.g. for Amazon Q CLI MCP, `~/.aws/amazonq/mcp.json`):
|
|
42
|
+
Here are some ways you can work with MCP across AWS, and we'll be adding support to more products including Amazon Q Developer CLI soon: (e.g. for Amazon Q Developer CLI MCP, `~/.aws/amazonq/mcp.json`):
|
|
45
43
|
|
|
46
44
|
```json
|
|
47
45
|
{
|
|
@@ -50,8 +48,9 @@ Add the server to your MCP client config (e.g. for Amazon Q CLI MCP, `~/.aws/ama
|
|
|
50
48
|
"command": "uvx",
|
|
51
49
|
"args": ["awslabs.nova-canvas-mcp-server@latest"],
|
|
52
50
|
"env": {
|
|
53
|
-
"AWS_PROFILE": "your-aws-profile",
|
|
54
|
-
"AWS_REGION": "us-east-1"
|
|
51
|
+
"AWS_PROFILE": "your-aws-profile",
|
|
52
|
+
"AWS_REGION": "us-east-1",
|
|
53
|
+
"FASTMCP_LOG_LEVEL": "ERROR"
|
|
55
54
|
},
|
|
56
55
|
"disabled": false,
|
|
57
56
|
"autoApprove": []
|
|
@@ -66,8 +65,8 @@ The MCP server uses the AWS profile specified in the `AWS_PROFILE` environment v
|
|
|
66
65
|
|
|
67
66
|
```json
|
|
68
67
|
"env": {
|
|
69
|
-
"AWS_PROFILE": "your-aws-profile",
|
|
70
|
-
"AWS_REGION": "us-east-1"
|
|
68
|
+
"AWS_PROFILE": "your-aws-profile",
|
|
69
|
+
"AWS_REGION": "us-east-1"
|
|
71
70
|
}
|
|
72
71
|
```
|
|
73
72
|
|
|
@@ -3,8 +3,8 @@ awslabs/nova_canvas_mcp_server/__init__.py,sha256=D1JLDjoqRWgJm28RaKjBtIzAsuc31I
|
|
|
3
3
|
awslabs/nova_canvas_mcp_server/consts.py,sha256=1qnIsWXKsg7R8JpWalgns0vPmBAHu6f9oI8hylhBuuo,2590
|
|
4
4
|
awslabs/nova_canvas_mcp_server/models.py,sha256=tYJeeTKhU_6OJxKJBvKyAzgC46-Dexx_o5up539jqi4,9935
|
|
5
5
|
awslabs/nova_canvas_mcp_server/novacanvas.py,sha256=ltHqnH5slEfq52jF69xE59pam1pEXmIRaGYnWFtfC04,15017
|
|
6
|
-
awslabs/nova_canvas_mcp_server/server.py,sha256=
|
|
7
|
-
awslabs_nova_canvas_mcp_server-0.1.
|
|
8
|
-
awslabs_nova_canvas_mcp_server-0.1.
|
|
9
|
-
awslabs_nova_canvas_mcp_server-0.1.
|
|
10
|
-
awslabs_nova_canvas_mcp_server-0.1.
|
|
6
|
+
awslabs/nova_canvas_mcp_server/server.py,sha256=Tdar_AviuKRoBTlWvSEdIMdlz2xuKTxtQMH7y8_OxKA,12326
|
|
7
|
+
awslabs_nova_canvas_mcp_server-0.1.31004.dist-info/METADATA,sha256=ffG9LiNQ-eUWnr0fBCoUHNV8Dtkim_gWvM368BPuGv4,2932
|
|
8
|
+
awslabs_nova_canvas_mcp_server-0.1.31004.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
9
|
+
awslabs_nova_canvas_mcp_server-0.1.31004.dist-info/entry_points.txt,sha256=v8V4vn8YuugOSL7w_sUxz-M0EDZNZU2_ydJZDd31pGI,94
|
|
10
|
+
awslabs_nova_canvas_mcp_server-0.1.31004.dist-info/RECORD,,
|
|
File without changes
|