A Model Control Protocol (MCP) server that integrates with Amazon Bedrock's Nova Canvas model for AI image generation. - 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 - Ro
Add this skill
npx mdskills install zxkane/mcp-server-amazon-bedrockWell-documented MCP server for AWS Bedrock image generation with comprehensive setup and parameter guidance
1[](https://mseep.ai/app/zxkane-mcp-server-amazon-bedrock)23# Amazon Bedrock MCP Server45A Model Control Protocol (MCP) server that integrates with Amazon Bedrock's Nova Canvas model for AI image generation.67<a href="https://glama.ai/mcp/servers/9qw7dwpvj9"><img width="380" height="200" src="https://glama.ai/mcp/servers/9qw7dwpvj9/badge" alt="Amazon Bedrock Server MCP server" /></a>89## Features1011- High-quality image generation from text descriptions using Amazon's Nova Canvas model12- Advanced control through negative prompts to refine image composition13- Flexible configuration options for image dimensions and quality14- Deterministic image generation with seed control15- Robust input validation and error handling1617## Prerequisites18191. Active AWS account with Amazon Bedrock and Nova Canvas model access202. Properly configured AWS credentials with required permissions213. Node.js version 18 or later2223## Installation2425### AWS Credentials Configuration2627The server requires AWS credentials with appropriate Amazon Bedrock permissions. Configure these using one of the following methods:28291. Environment variables:30 ```bash31 export AWS_ACCESS_KEY_ID=your_access_key32 export AWS_SECRET_ACCESS_KEY=your_secret_key33 export AWS_REGION=us-east-1 # or your preferred region34 ```35362. AWS credentials file (`~/.aws/credentials`):37 ```ini38 [the_profile_name]39 aws_access_key_id = your_access_key40 aws_secret_access_key = your_secret_key41 ```42 Environment variable for active profile:43 ```bash44 export AWS_PROFILE=the_profile_name45 ```46473. IAM role (when deployed on AWS infrastructure)4849### Claude Desktop Integration5051To integrate with Claude Desktop, add the following configuration to your settings file:5253MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`54Windows: `%APPDATA%/Claude/claude_desktop_config.json`5556```json57{58 "mcpServers": {59 "amazon-bedrock": {60 "command": "npx",61 "args": [62 "-y",63 "@zxkane/mcp-server-amazon-bedrock"64 ],65 "env": {66 "AWS_PROFILE": "your_profile_name", // Optional, only if you want to use a specific profile67 "AWS_ACCESS_KEY_ID": "your_access_key", // Optional if using AWS credentials file or IAM role68 "AWS_SECRET_ACCESS_KEY": "your_secret_key", // Optional if using AWS credentials file or IAM role69 "AWS_REGION": "us-east-1" // Optional, defaults to 'us-east-1'70 }71 }72 }73}74```7576## Available Tools7778### generate_image7980Creates images from text descriptions using Amazon Bedrock's Nova Canvas model.8182#### Parameters8384- `prompt` (required): Descriptive text for the desired image (1-1024 characters)85- `negativePrompt` (optional): Elements to exclude from the image (1-1024 characters)86- `width` (optional): Image width in pixels (default: 1024)87- `height` (optional): Image height in pixels (default: 1024)88- `quality` (optional): Image quality level - "standard" or "premium" (default: "standard")89- `cfg_scale` (optional): Prompt adherence strength (1.1-10, default: 6.5)90- `seed` (optional): Generation seed for reproducibility (0-858993459, default: 12)91- `numberOfImages` (optional): Batch size for generation (1-5, default: 1)9293#### Example Implementation9495```typescript96const result = await callTool('generate_image', {97 prompt: "A serene mountain landscape at sunset",98 negativePrompt: "people, buildings, vehicles",99 quality: "premium",100 cfg_scale: 8,101 numberOfImages: 2102});103```104105#### Prompt Guidelines106107For 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`.108109For detailed usage guidelines, refer to the [Nova Canvas documentation][nova-canvas-doc].110111## Development112113To set up and run the server in a local environment:114115```bash116git clone https://github.com/zxkane/mcp-server-amazon-bedrock.git117cd mcp-server-amazon-bedrock118npm install119npm run build120```121122### Performance Considerations123124Generation 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.125126## License127128This project is licensed under the MIT License - see the LICENSE file for details.129130[nova-canvas-doc]: https://docs.aws.amazon.com/nova/latest/userguide/image-gen-access.html131
Full transparency — inspect the skill content before installing.