Skip to main content

An AWS Labs Model Context Protocol (MCP) server for Amazon Nova Canvas

Project description

Amazon Nova Canvas MCP Server

smithery badge

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

  1. Install uv from Astral or the GitHub README
  2. Install Python using uv python install 3.10
  3. 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 configure or environment variables
    • Ensure your IAM role/user has permissions to use Amazon Bedrock and Nova Canvas

Installation

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):

{
  "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": []
    }
  }
}

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_awslabs_nova_canvas_mcp_server-0.2.4.tar.gz (71.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file mseep_awslabs_nova_canvas_mcp_server-0.2.4.tar.gz.

File metadata

File hashes

Hashes for mseep_awslabs_nova_canvas_mcp_server-0.2.4.tar.gz
Algorithm Hash digest
SHA256 b050047bfc94a1f5689799b4f278df90305c09700629161f0c7a6721af8e91f7
MD5 99ce6fbbb4f3cb4e127a9366dc55d071
BLAKE2b-256 39aa1f909ef0217b14bd06c4b69cf0c99720bd81b084222044d97b724df1a530

See more details on using hashes here.

File details

Details for the file mseep_awslabs_nova_canvas_mcp_server-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_awslabs_nova_canvas_mcp_server-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ad07f685945f965d408b0b477164bcb1a20ce9d830be7b98b92aa905301e8aaa
MD5 ef658ab7a385242fdd4ebe15a69cdee6
BLAKE2b-256 41aa515c0a1c993105d2488bd289495f9b9cb8a1eb9a6649d6421969de67bc9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page