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)







