mcp -amazon-bedrock
Model Context Procotol(MCP) server for using Amazon Bedrock Nova Canvas to generate images
claude mcp add --transport stdio zxkane-mcp-server-amazon-bedrock npx -y @zxkane/mcp-server-amazon-bedrock \ --env AWS_REGION="AWS region (default us-east-1)" \ --env AWS_PROFILE="Optional AWS CLI profile name" \ --env AWS_ACCESS_KEY_ID="Optional access key (if not using credentials file or IAM role)" \ --env AWS_SECRET_ACCESS_KEY="Optional secret key"
How to use
This MCP server provides an integration with Amazon Bedrock’s Nova Canvas model to generate images from text prompts. It exposes an generate_image tool that accepts a prompt, optional negativePrompt to constrain the output, and controls for image dimensions, quality, seed, and batch size. You can invoke this tool to produce single or multiple images per request, enabling deterministic results when a seed is supplied. The server is designed to validate inputs and handle errors gracefully, ensuring reliable image generation workflows for design, concept art, and rapid prototyping.
To use it, configure your MCP client or integrator to call the generate_image tool with the required prompt and any optional parameters. If you need to restrict or refine output, leverage negativePrompt to steer composition and rely on width, height, quality, cfg_scale, and seed to control resolution, fidelity, and reproducibility. The integration also supports batch generation via numberOfImages, which is useful for creating variations or multiple concepts in one request.
How to install
Prerequisites:
- An active AWS account with Bedrock access (Nova Canvas) and valid credentials
- Node.js v18 or later installed on your system
- Internet access to fetch the MCP server package from npm
Installation steps:
-
Clone the repository (if you have source access) or install the MCP server package directly:
- Cloning (example): git clone https://github.com/zxkane/mcp-server-amazon-bedrock.git cd mcp-server-amazon-bedrock
-
Install dependencies: npm install
-
Build the server (if the project provides a build step): npm run build
-
Start the server using npm (default startup script): npm start
Prerequisites recap:
- Ensure AWS credentials are configured (environment variables, credentials file, or IAM role) with access to Amazon Bedrock Nova Canvas
- Have npm and Node.js installed and accessible in your shell
Additional notes
- Ensure AWS credentials are configured prior to starting the server. Reflect the credentials in environment variables, the AWS credentials file, or an IAM role when deployed on AWS infrastructure.
- The generate_image tool supports width, height, quality, cfg_scale, and seed to control output characteristics. Higher resolutions and multiple images may increase generation time and cost.
- If using Claude Desktop integration, you can add the provided json snippet to the Claude config to expose the amazon-bedrock MCP server within Claude.
- Validate that your AWS region matches the Bedrock endpoint region you intend to use (e.g., us-east-1).
Related MCP Servers
mongodb-lens
🍃🔎 MongoDB Lens: Full Featured MCP Server for MongoDB Databases
mcp-arr
MCP server for *arr media management suite
claude-code
MCP Server connects with claude code local command.
short-url
简单易用的短链接生成工具,完全开源、免费、无需登录,可私有化部署,链接永久有效!
bluesky
mcp server for bluesky. featured in offical mcp server repo.
mcp
Model Context Protocol Server with Superface tools