An AWS Labs Model Context Protocol (MCP) server for Amazon Nova Canvas
Project description
Amazon Nova Canvas MCP Server
MCP server for generating images using Amazon Nova Canvas
Features
Text-based image generation
- Create images from text prompts with
generate_image - Customizable dimensions (320-4096px), quality options, and negative prompting
- Supports multiple image generation (1-5) in single request
- Adjustable parameters like cfg_scale (1.1-10.0) and seeded generation
Color-guided image generation
- Generate images with specific color palettes using
generate_image_with_colors - Define up to 10 hex color values to influence the image style and mood
- Same customization options as text-based generation
Workspace integration
- Images saved to user-specified workspace directories with automatic folder creation
AWS authentication
- Uses AWS profiles for secure access to Amazon Nova Canvas services
Prerequisites
- Install
uvfrom Astral or the GitHub README - Install Python using
uv python install 3.10 - Set up AWS credentials with access to Amazon Bedrock and Nova Canvas
- You need an AWS account with Amazon Bedrock and Amazon Nova Canvas enabled
- Configure AWS credentials with
aws configureor environment variables - Ensure your IAM role/user has permissions to use Amazon Bedrock and Nova Canvas
Installation
| Kiro | Cursor | VS Code |
|---|---|---|
Configure the MCP server in your MCP client configuration (e.g., for Kiro, edit ~/.kiro/settings/mcp.json):
{
"mcpServers": {
"awslabs.nova-canvas-mcp-server": {
"command": "uvx",
"args": ["awslabs.nova-canvas-mcp-server@latest"],
"env": {
"AWS_PROFILE": "your-aws-profile",
"AWS_REGION": "us-east-1",
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
}
}
Windows Installation
For Windows users, the MCP server configuration format is slightly different:
{
"mcpServers": {
"awslabs.nova-canvas-mcp-server": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"tool",
"run",
"--from",
"awslabs.nova-canvas-mcp-server@latest",
"awslabs.nova-canvas-mcp-server.exe"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_PROFILE": "your-aws-profile",
"AWS_REGION": "us-east-1"
}
}
}
}
or docker after a successful docker build -t awslabs/nova-canvas-mcp-server .:
# fictitious `.env` file with AWS temporary credentials
AWS_ACCESS_KEY_ID=ASIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
AWS_SESSION_TOKEN=AQoEXAMPLEH4aoAH0gNCAPy...truncated...zrkuWJOgQs8IZZaIv2BXIa2R4Olgk
{
"mcpServers": {
"awslabs.nova-canvas-mcp-server": {
"command": "docker",
"args": [
"run",
"--rm",
"--interactive",
"--env",
"AWS_REGION=us-east-1",
"--env",
"FASTMCP_LOG_LEVEL=ERROR",
"--env-file",
"/full/path/to/file/above/.env",
"awslabs/nova-canvas-mcp-server:latest"
],
"env": {},
"disabled": false,
"autoApprove": []
}
}
}
NOTE: Your credentials will need to be kept refreshed from your host
Installing via Smithery
To install Amazon Nova Canvas MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @awslabs/nova-canvas-mcp-server --client claude
AWS Authentication
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.
"env": {
"AWS_PROFILE": "your-aws-profile",
"AWS_REGION": "us-east-1"
}
Make sure the AWS profile has permissions to access Amazon Bedrock and Amazon Nova Canvas. The MCP server creates a boto3 session using the specified profile to authenticate with AWS services. Your AWS IAM credentials remain on your local machine and are strictly used for using the Amazon Bedrock model APIs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awslabs_nova_canvas_mcp_server-1.0.12.tar.gz.
File metadata
- Download URL: awslabs_nova_canvas_mcp_server-1.0.12.tar.gz
- Upload date:
- Size: 107.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e864fae66b93891098c582e06ff52e98ed3b5b5d394033dc66545cf52747631
|
|
| MD5 |
ea94fdd3a7f5ca2e08fdbef8af322ce9
|
|
| BLAKE2b-256 |
2e397c426024f3436560819f7009875c5d55acb791f7c6bce730f0bba52d4b1e
|
Provenance
The following attestation bundles were made for awslabs_nova_canvas_mcp_server-1.0.12.tar.gz:
Publisher:
release.yml on awslabs/mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awslabs_nova_canvas_mcp_server-1.0.12.tar.gz -
Subject digest:
1e864fae66b93891098c582e06ff52e98ed3b5b5d394033dc66545cf52747631 - Sigstore transparency entry: 825805215
- Sigstore integration time:
-
Permalink:
awslabs/mcp@0bb449ef24e57237bf567483639970b2aba7e3d3 -
Branch / Tag:
refs/tags/2026.01.20260115004242 - Owner: https://github.com/awslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0bb449ef24e57237bf567483639970b2aba7e3d3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file awslabs_nova_canvas_mcp_server-1.0.12-py3-none-any.whl.
File metadata
- Download URL: awslabs_nova_canvas_mcp_server-1.0.12-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9be9da12acc059d7ab2744059ca27ccc7730464f03fa7c6bea8afe1a22181bdd
|
|
| MD5 |
839219f59bf8087253f829c9ce766677
|
|
| BLAKE2b-256 |
8702168c7b84fa29b4f73e81a7755f65691651953536a94cb5f535c904e8a750
|
Provenance
The following attestation bundles were made for awslabs_nova_canvas_mcp_server-1.0.12-py3-none-any.whl:
Publisher:
release.yml on awslabs/mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awslabs_nova_canvas_mcp_server-1.0.12-py3-none-any.whl -
Subject digest:
9be9da12acc059d7ab2744059ca27ccc7730464f03fa7c6bea8afe1a22181bdd - Sigstore transparency entry: 825805240
- Sigstore integration time:
-
Permalink:
awslabs/mcp@0bb449ef24e57237bf567483639970b2aba7e3d3 -
Branch / Tag:
refs/tags/2026.01.20260115004242 - Owner: https://github.com/awslabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0bb449ef24e57237bf567483639970b2aba7e3d3 -
Trigger Event:
push
-
Statement type: