awslabs.nova-canvas-mcp-server 0.1.31004__tar.gz → 0.1.81004__tar.gz

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.
Files changed (16) hide show
  1. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/PKG-INFO +28 -10
  2. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/README.md +27 -9
  3. awslabs_nova_canvas_mcp_server-0.1.81004/awslabs/__init__.py +12 -0
  4. awslabs_nova_canvas_mcp_server-0.1.81004/awslabs/nova_canvas_mcp_server/__init__.py +13 -0
  5. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/awslabs/nova_canvas_mcp_server/consts.py +10 -0
  6. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/awslabs/nova_canvas_mcp_server/models.py +10 -0
  7. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/awslabs/nova_canvas_mcp_server/novacanvas.py +10 -0
  8. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/awslabs/nova_canvas_mcp_server/server.py +10 -0
  9. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/pyproject.toml +4 -1
  10. awslabs_nova_canvas_mcp_server-0.1.31004/awslabs/__init__.py +0 -2
  11. awslabs_nova_canvas_mcp_server-0.1.31004/awslabs/nova_canvas_mcp_server/__init__.py +0 -3
  12. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/.gitignore +0 -0
  13. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/.pre-commit-config.yaml +0 -0
  14. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/.python-version +0 -0
  15. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/CHANGELOG.md +0 -0
  16. {awslabs_nova_canvas_mcp_server-0.1.31004 → awslabs_nova_canvas_mcp_server-0.1.81004}/uv.lock +0 -0
@@ -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.
@@ -1,21 +1,31 @@
1
1
  # Amazon Nova Canvas MCP Server
2
2
 
3
+ [![smithery badge](https://smithery.ai/badge/@awslabs/nova-canvas-mcp-server)](https://smithery.ai/server/@awslabs/nova-canvas-mcp-server)
4
+
3
5
  MCP server for generating images using Amazon Nova Canvas
4
6
 
5
7
  ## Features
6
8
 
7
- - **Text-based image generation** - Create images from text prompts with `generate_image`
8
- - Customizable dimensions (320-4096px), quality options, and negative prompting
9
- - Supports multiple image generation (1-5) in single request
10
- - Adjustable parameters like cfg_scale (1.1-10.0) and seeded generation
9
+ ### Text-based image generation
10
+
11
+ - Create images from text prompts with `generate_image`
12
+ - Customizable dimensions (320-4096px), quality options, and negative prompting
13
+ - Supports multiple image generation (1-5) in single request
14
+ - Adjustable parameters like cfg_scale (1.1-10.0) and seeded generation
15
+
16
+ ### Color-guided image generation
17
+
18
+ - Generate images with specific color palettes using `generate_image_with_colors`
19
+ - Define up to 10 hex color values to influence the image style and mood
20
+ - Same customization options as text-based generation
21
+
22
+ ### Workspace integration
11
23
 
12
- - **Color-guided image generation** - Generate images with specific color palettes using `generate_image_with_colors`
13
- - Define up to 10 hex color values to influence the image style and mood
14
- - Same customization options as text-based generation
24
+ - Images saved to user-specified workspace directories with automatic folder creation
15
25
 
16
- - **Workspace integration** - Images saved to user-specified workspace directories with automatic folder creation
26
+ ### AWS authentication
17
27
 
18
- - **AWS authentication** - Uses AWS profiles for secure access to Amazon Nova Canvas services
28
+ - Uses AWS profiles for secure access to Amazon Nova Canvas services
19
29
 
20
30
  ## Prerequisites
21
31
 
@@ -48,6 +58,14 @@ Here are some ways you can work with MCP across AWS, and we'll be adding support
48
58
  }
49
59
  ```
50
60
 
61
+ ### Installing via Smithery
62
+
63
+ To install Amazon Nova Canvas MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@awslabs/nova-canvas-mcp-server):
64
+
65
+ ```bash
66
+ npx -y @smithery/cli install @awslabs/nova-canvas-mcp-server --client claude
67
+ ```
68
+
51
69
  ### AWS Authentication
52
70
 
53
71
  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,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.
11
+ # This file is part of the awslabs namespace.
12
+ # It is intentionally minimal to support PEP 420 namespace packages.
@@ -0,0 +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.
11
+ """awslabs.nova-canvas-mcp-server"""
12
+
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
  [project]
2
2
  name = "awslabs.nova-canvas-mcp-server"
3
- version = "0.1.031004"
3
+ version = "0.1.081004"
4
4
  description = "An AWS Labs Model Context Protocol (MCP) server for Amazon Nova Canvas"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -80,3 +80,6 @@ update_changelog_on_bump = true
80
80
 
81
81
  [tool.hatch.build.targets.wheel]
82
82
  packages = ["awslabs"]
83
+
84
+ [tool.bandit]
85
+ exclude_dirs = ["venv","tests"]
@@ -1,2 +0,0 @@
1
- # This file is part of the awslabs namespace.
2
- # It is intentionally minimal to support PEP 420 namespace packages.
@@ -1,3 +0,0 @@
1
- """awslabs.nova-canvas-mcp-server"""
2
-
3
- __version__ = '0.1.6'