Skip to main content

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

Project description

awslabs MCP Nova Canvas 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

  1. Install uv from Astral or the GitHub README
  2. Install Python using uv python install 3.13
  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

Install the MCP server:

Add the server to your MCP client config (e.g. for Amazon Q 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",  // Optional: specify AWS profile
        "AWS_REGION": "us-east-1"           // Required: region where Bedrock is available
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

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",  // Specify which AWS profile to use
  "AWS_REGION": "us-east-1"           // Region where Bedrock is available
}

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

awslabs_nova_canvas_mcp_server-0.1.10233.tar.gz (33.0 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 awslabs_nova_canvas_mcp_server-0.1.10233.tar.gz.

File metadata

File hashes

Hashes for awslabs_nova_canvas_mcp_server-0.1.10233.tar.gz
Algorithm Hash digest
SHA256 c9cd17710e52e28175c9388919204f0405256d8323a7d8e4f74be74f2a2c5d15
MD5 00cc6560175df8cd72f4bcf693fc9329
BLAKE2b-256 1207ac1b99d4e9f9a89b4660694a706eefdef52066df3566d4ab6b58e080ac2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for awslabs_nova_canvas_mcp_server-0.1.10233.tar.gz:

Publisher: release.yml on awslabs/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awslabs_nova_canvas_mcp_server-0.1.10233-py3-none-any.whl.

File metadata

File hashes

Hashes for awslabs_nova_canvas_mcp_server-0.1.10233-py3-none-any.whl
Algorithm Hash digest
SHA256 d0d7eb1d1ef072b47568105839e877a4847c5bc15950f6b93ff6273a1fb41671
MD5 8da08e265f9ac0d6ffeb44db23409004
BLAKE2b-256 d98d2a86b6a50d71817b0f04af0fb8aaef838bbd5b257f06286fd35de1eafecf

See more details on using hashes here.

Provenance

The following attestation bundles were made for awslabs_nova_canvas_mcp_server-0.1.10233-py3-none-any.whl:

Publisher: release.yml on awslabs/mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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