The Amazon Bedrock MCP Server allows you to generate high-quality images from text descriptions using Amazon's Nova Canvas model.
Generate images from text prompts: Create images based on detailed text descriptions
Negative prompts: Specify elements to exclude from the generated image
Customizable dimensions: Adjust image width and height (default: 1024x1024)
Quality options: Choose between 'standard' or 'premium' quality levels
Prompt adherence control: Adjust how closely the image follows the prompt using cfg_scale
Reproducible results: Use seed values for deterministic image generation
Batch generation: Generate multiple images (up to 5) in a single request
Base64-encoded output: Receive images as Base64 strings for easy handling
Integration: Works with Claude Desktop via MCP
Amazon Bedrock MCP Server
A Model Control Protocol (MCP) server that integrates with Amazon Bedrock's Nova Canvas model for AI image generation.
Features
High-quality image generation from text descriptions using Amazon's Nova Canvas model
Advanced control through negative prompts to refine image composition
Flexible configuration options for image dimensions and quality
Deterministic image generation with seed control
Robust input validation and error handling
Prerequisites
Active AWS account with Amazon Bedrock and Nova Canvas model access
Properly configured AWS credentials with required permissions
Node.js version 18 or later
Installation
AWS Credentials Configuration
The server requires AWS credentials with appropriate Amazon Bedrock permissions. Configure these using one of the following methods:
Environment variables:
export AWS_ACCESS_KEY_ID=your_access_key export AWS_SECRET_ACCESS_KEY=your_secret_key export AWS_REGION=us-east-1 # or your preferred regionAWS credentials file (
~/.aws/credentials
):[the_profile_name] aws_access_key_id = your_access_key aws_secret_access_key = your_secret_keyEnvironment variable for active profile:
export AWS_PROFILE=the_profile_nameIAM role (when deployed on AWS infrastructure)
Claude Desktop Integration
To integrate with Claude Desktop, add the following configuration to your settings file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Available Tools
generate_image
Creates images from text descriptions using Amazon Bedrock's Nova Canvas model.
Parameters
prompt
(required): Descriptive text for the desired image (1-1024 characters)negativePrompt
(optional): Elements to exclude from the image (1-1024 characters)width
(optional): Image width in pixels (default: 1024)height
(optional): Image height in pixels (default: 1024)quality
(optional): Image quality level - "standard" or "premium" (default: "standard")cfg_scale
(optional): Prompt adherence strength (1.1-10, default: 6.5)seed
(optional): Generation seed for reproducibility (0-858993459, default: 12)numberOfImages
(optional): Batch size for generation (1-5, default: 1)
Example Implementation
Prompt Guidelines
For optimal results, avoid negative phrasing ("no", "not", "without") in the main prompt. Instead, move these elements to the negativePrompt
parameter. For example, rather than using "a landscape without buildings" in the prompt, use "buildings" in the negativePrompt
.
For detailed usage guidelines, refer to the .
Development
To set up and run the server in a local environment:
Performance Considerations
Generation time is influenced by resolution (width
and height
), numberOfImages
, and quality
settings. When using higher values, be mindful of potential timeout implications in your implementation.
License
This project is licensed under the MIT License - see the LICENSE file for details.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Provides access to Amazon Bedrock's Nova Canvas model for AI image generation.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to create images and videos using Amazon Nova Canvas and Nova Reel models.Last updated -3
- AsecurityAlicenseAqualityAn MCP server that allows you to generate and edit images using Amazon Bedrock's Nova Canvas model, supporting features like text-to-image generation, inpainting, outpainting, image variation, and background removal.Last updated -84MIT License
AWS Nova Canvasofficial
AsecurityAlicenseAqualityProvides image generation capabilities using Amazon Nova Canvas through Amazon Bedrock, enabling the creation of visuals from text prompts and color palettes—perfect for mockups, diagrams, and UI design concepts.Last updated -26,644Apache 2.0- -securityFlicense-qualityA web application that enables users to interact with AWS Bedrock language models through a modern interface with support for multiple models like Claude 3, Titan, and Llama 2.Last updated -