
AWS Nova Canvas MCP Server
一个 MCP 服务器,允许您使用 Amazon Bedrock 的 Nova Canvas 模型来生成和编辑图像,支持诸如文本到图像生成、图像修复(inpainting)、图像外延(outpainting)、图像变体和背景移除等功能。
Tools
text_to_image
Generate an image from a text prompt. After generation, you can use the show_image tool to view the thumbnail. Args: prompt: Text prompt for generating an image (maximum 1024 characters) negative_prompt: Text prompt for excluding attributes from generation (maximum 1024 characters) height: Image height (pixels) width: Image width (pixels) num_images: Number of images to generate (maximum 4) cfg_scale: Image matching degree for the prompt (1-20) seed: Seed value for image generation open_browser: Whether to open the image in the browser after generation Returns: Dict: Dictionary containing the file path of the generated image and the thumbnail image
inpainting
Inpaint a specific part of an image using a text mask prompt. Args: image_path: File path of the original image prompt: Text prompt for the area to be inpainted mask_prompt: Text prompt for specifying the area to be masked (e.g., "window", "car") negative_prompt: Text prompt for excluding attributes from generation height: Output image height (pixels) width: Output image width (pixels) cfg_scale: Image matching degree for the prompt (1-20) open_browser: Whether to open the image in the browser after generation Returns: Dict: Dictionary containing the file path of the inpainted image
outpainting
Expand the image to create an outpainting. Args: image_path: File path of the original image mask_image_path: File path of the mask image prompt: Text describing the content to be generated in the outpainting area negative_prompt: Text specifying attributes to exclude from generation outpainting_mode: Outpainting mode (DEFAULT or PRECISE) height: Output image height (pixels) width: Output image width (pixels) cfg_scale: Prompt matching degree (1-20) Returns: Dict: Dictionary containing the file path of the outpainted image
image_variation
Generate a new variation of the input image while maintaining its content. Args: image_paths: List of file paths of the original images (1-5) prompt: Text for generating a variation image (optional) negative_prompt: Text specifying attributes to exclude from generation similarity_strength: Similarity between the original image and the generated image (0.2-1.0) height: Output image height (pixels) width: Output image width (pixels) cfg_scale: Prompt matching degree (1-20) Returns: Dict: Dictionary containing the file path of the variation image
image_conditioning
Generate an image that follows the layout and composition of a reference image. Args: image_path: File path of the reference image prompt: Text describing the image to be generated negative_prompt: Text specifying attributes to exclude from generation control_mode: Control mode (CANNY_EDGE, etc.) height: Output image height (pixels) width: Output image width (pixels) cfg_scale: Prompt matching degree (1-20) Returns: Dict: Dictionary containing the file path of the generated image
color_guided_generation
Generate an image using a specified color palette. Args: prompt: Text describing the image to be generated colors: List of color codes (1-10 hex color codes, e.g., "#ff8080") reference_image_path: File path of the reference image (optional) negative_prompt: Text specifying attributes to exclude from generation height: Output image height (pixels) width: Output image width (pixels) cfg_scale: Prompt matching degree (1-20) ctx: MCP context Returns: Dict: Dictionary containing the file path of the generated image
background_removal
Remove the background of an image automatically. Args: image_path: File path of the original image ctx: MCP context Returns: Dict: Dictionary containing the file path of the image with the background removed
show_image
Create a thumbnail of the image and return it. The maximum size is 1048578. Supports URLs or local file paths. Args: image_path: Image URL or local file path width: Output image width (pixels) height: Output image height (pixels) Returns: Image: Thumbnail image
README
<h2 align="center"> AWS Nova Canvas MCP 服务器 </h2>
<div align="center"> <img src="https://img.shields.io/badge/Python-3.12-3776AB?logo=python"/> <img src="https://img.shields.io/badge/Amazon-Bedrock-FF9900?logo=amazon&logoColor=white"/> </div>
一个 MCP 服务器,允许您使用 Amazon Bedrock 的 Nova Canvas 模型生成和编辑图像。
特性
- 文本到图像
- 图像修复
- 图像外绘
- 图像变体
- 图像条件控制
- 颜色引导生成
- 背景移除
- 显示图像缩略图
安装
Claude 桌面设置
- 克隆仓库
git clone https://github.com/yunwoong/aws-nova-canvas-mcp.git
- 配置 Claude 桌面
- 从 Claude 桌面菜单中点击 Claude > Settings。
- 当弹出窗口出现时,从左侧菜单中选择 Developer,然后点击 Edit Settings 按钮。
- 这将打开一个包含设置文件的文件夹。此设置文件的名称是:
claude_desktop_config.json
<div align="center"> <img src="https://blog.kakaocdn.net/dn/bIl5q9/btsM3U5Vjw5/aGruWqP3wNmWZ1sKrnhbPk/img.png" width="70%"> </div>
-
将以下内容添加到设置文件中(Python 版本):
-
python 版本
"nova-canvas": { "command": "uv", "args": [ "--directory", "克隆文件夹的路径", "run", "server.py" ], "env": { "AWS_PROFILE": "您的_AWS_PROFILE" } }
✅ 只需要 AWS_PROFILE。如果您的 AWS 配置文件设置正确,则 AWS_ACCESS_KEY_ID、AWS_SECRET_ACCESS_KEY、AWS_REGION 和 PORT 等其他变量是可选的,不需要。
⚙️ 如果设置成功完成,您可以在 Claude > Settings > Developer tab 中看到已添加 "nova-canvas" 项。 ⚠️ 重要提示: MCP 设置仅适用于 Claude 桌面应用程序,不适用于 Claude Web 浏览器版本
-
图像保存位置
默认情况下,所有生成或编辑的图像将保存在以下目录中:
- macOS / Linux:
~/Desktop/aws-nova-canvas
- Windows:
C:\Users\您的用户名\Desktop\aws-nova-canvas
📁 如果未指定图像保存路径,应用程序将自动创建并使用上述文件夹。
<div align="center"> <img src="https://blog.kakaocdn.net/dn/bpUWLj/btsM4kJZC6v/HHQfQctKsevWnK6LCKEkv0/img.png" width="70%"> </div>
使用示例
<div align="center"> <img src="https://blog.kakaocdn.net/dn/uNi8L/btsM4pEjswV/hSfxo1gHzPvpXPsEEyuijk/img.gif" width="70%"> </div>
限制
- 提示文本最多支持 1024 个字符
- 图像生成一次最多允许 3 张图像
- 图像变体需要 1-5 张参考图像
- 颜色引导支持 1-10 个颜色代码
许可证
MIT 许可证
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。