awslabs.nova-canvas-mcp-server 0.1.31004__py3-none-any.whl → 0.1.81004__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/__init__.py CHANGED
@@ -1,2 +1,12 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
+ # with the License. A copy of the License is located at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
+ # and limitations under the License.
1
11
  # This file is part of the awslabs namespace.
2
12
  # It is intentionally minimal to support PEP 420 namespace packages.
@@ -1,3 +1,13 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
+ # with the License. A copy of the License is located at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
+ # and limitations under the License.
1
11
  """awslabs.nova-canvas-mcp-server"""
2
12
 
3
13
  __version__ = '0.1.6'
@@ -1,3 +1,13 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
+ # with the License. A copy of the License is located at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
+ # and limitations under the License.
1
11
  # Constants
2
12
  NOVA_CANVAS_MODEL_ID = 'amazon.nova-canvas-v1:0'
3
13
  DEFAULT_WIDTH = 1024
@@ -1,3 +1,13 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
+ # with the License. A copy of the License is located at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
+ # and limitations under the License.
1
11
  """Pydantic models for Amazon Nova Canvas image generation."""
2
12
 
3
13
  import random
@@ -1,3 +1,13 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
+ # with the License. A copy of the License is located at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
+ # and limitations under the License.
1
11
  """Amazon Nova Canvas API interaction module.
2
12
 
3
13
  This module provides functions for generating images using Amazon Nova Canvas
@@ -1,3 +1,13 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
+ # with the License. A copy of the License is located at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
+ # and limitations under the License.
1
11
  """Nova Canvas MCP Server implementation."""
2
12
 
3
13
  import argparse
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.nova-canvas-mcp-server
3
- Version: 0.1.31004
3
+ Version: 0.1.81004
4
4
  Summary: An AWS Labs Model Context Protocol (MCP) server for Amazon Nova Canvas
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: boto3>=1.37.24
@@ -11,22 +11,32 @@ Description-Content-Type: text/markdown
11
11
 
12
12
  # Amazon Nova Canvas MCP Server
13
13
 
14
+ [![smithery badge](https://smithery.ai/badge/@awslabs/nova-canvas-mcp-server)](https://smithery.ai/server/@awslabs/nova-canvas-mcp-server)
15
+
14
16
  MCP server for generating images using Amazon Nova Canvas
15
17
 
16
18
  ## Features
17
19
 
18
- - **Text-based image generation** - Create images from text prompts with `generate_image`
19
- - Customizable dimensions (320-4096px), quality options, and negative prompting
20
- - Supports multiple image generation (1-5) in single request
21
- - Adjustable parameters like cfg_scale (1.1-10.0) and seeded generation
20
+ ### Text-based image generation
21
+
22
+ - Create images from text prompts with `generate_image`
23
+ - Customizable dimensions (320-4096px), quality options, and negative prompting
24
+ - Supports multiple image generation (1-5) in single request
25
+ - Adjustable parameters like cfg_scale (1.1-10.0) and seeded generation
26
+
27
+ ### Color-guided image generation
28
+
29
+ - Generate images with specific color palettes using `generate_image_with_colors`
30
+ - Define up to 10 hex color values to influence the image style and mood
31
+ - Same customization options as text-based generation
32
+
33
+ ### Workspace integration
22
34
 
23
- - **Color-guided image generation** - Generate images with specific color palettes using `generate_image_with_colors`
24
- - Define up to 10 hex color values to influence the image style and mood
25
- - Same customization options as text-based generation
35
+ - Images saved to user-specified workspace directories with automatic folder creation
26
36
 
27
- - **Workspace integration** - Images saved to user-specified workspace directories with automatic folder creation
37
+ ### AWS authentication
28
38
 
29
- - **AWS authentication** - Uses AWS profiles for secure access to Amazon Nova Canvas services
39
+ - Uses AWS profiles for secure access to Amazon Nova Canvas services
30
40
 
31
41
  ## Prerequisites
32
42
 
@@ -59,6 +69,14 @@ Here are some ways you can work with MCP across AWS, and we'll be adding support
59
69
  }
60
70
  ```
61
71
 
72
+ ### Installing via Smithery
73
+
74
+ To install Amazon Nova Canvas MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@awslabs/nova-canvas-mcp-server):
75
+
76
+ ```bash
77
+ npx -y @smithery/cli install @awslabs/nova-canvas-mcp-server --client claude
78
+ ```
79
+
62
80
  ### AWS Authentication
63
81
 
64
82
  The MCP server uses the AWS profile specified in the `AWS_PROFILE` environment variable. If not provided, it defaults to the "default" profile in your AWS configuration file.
@@ -0,0 +1,10 @@
1
+ awslabs/__init__.py,sha256=BIBSY3C1KeFtC_77foZxP2Jju9462uxgEQUPoJTve7w,673
2
+ awslabs/nova_canvas_mcp_server/__init__.py,sha256=dA3Jtbkz7AmaKycMKx62NyqjiWdgSLlWhu2aCTMdKKk,618
3
+ awslabs/nova_canvas_mcp_server/consts.py,sha256=IhTCNHyNOaNq9fwqaWMwrSk-7eYWV7lEF1ASklLaDB8,3148
4
+ awslabs/nova_canvas_mcp_server/models.py,sha256=0NPwJdXfXQjGeoyu05IuEzoHI2Bl_reh6VhVeMQeLe8,10493
5
+ awslabs/nova_canvas_mcp_server/novacanvas.py,sha256=NPIabuxrdB54qbXns0F2KM_JPY7YxbGP9yAdUvykB4g,15575
6
+ awslabs/nova_canvas_mcp_server/server.py,sha256=yfB5edAZtTav6_ZbWHMAAlDvqhtv8XK4nJMiP7xAGl8,12884
7
+ awslabs_nova_canvas_mcp_server-0.1.81004.dist-info/METADATA,sha256=3K5LbkrBDUgT5lD9XX3OkDK5Wfe6tA5FFx-0YX82yd4,3328
8
+ awslabs_nova_canvas_mcp_server-0.1.81004.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ awslabs_nova_canvas_mcp_server-0.1.81004.dist-info/entry_points.txt,sha256=v8V4vn8YuugOSL7w_sUxz-M0EDZNZU2_ydJZDd31pGI,94
10
+ awslabs_nova_canvas_mcp_server-0.1.81004.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- awslabs/__init__.py,sha256=4zfFn3N0BkvQmMTAIvV_QAbKp6GWzrwaUN17YeRoChM,115
2
- awslabs/nova_canvas_mcp_server/__init__.py,sha256=D1JLDjoqRWgJm28RaKjBtIzAsuc31Ilg8r5-hv8I0ZU,60
3
- awslabs/nova_canvas_mcp_server/consts.py,sha256=1qnIsWXKsg7R8JpWalgns0vPmBAHu6f9oI8hylhBuuo,2590
4
- awslabs/nova_canvas_mcp_server/models.py,sha256=tYJeeTKhU_6OJxKJBvKyAzgC46-Dexx_o5up539jqi4,9935
5
- awslabs/nova_canvas_mcp_server/novacanvas.py,sha256=ltHqnH5slEfq52jF69xE59pam1pEXmIRaGYnWFtfC04,15017
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,,