ZM

zxkane/mcp-server-amazon-bedrock

Productivity workflow

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

25 stars 12 forks 품질 67 트렌드 0MIT

Model Context Procotol(MCP)는 Amazon Bedrock Nova Canvas를 사용하여 이미지를 생성하기 위한 서버

개요

AI 이미지 생성을 위한 Amazon Bedrock의 Nova Canvas 모델과 통합되는 Model Control Protocol (MCP) 서버. - Amazon 's Nova Canvas Model을 사용하여 텍스트 설명에서 고품질 이미지 생성 - 이미지 크기 및 품질을 위한 유연한 구성 옵션 - 시드 컨트롤이있는 Deterministic 이미지 생성 - Robust 입력 검증 및 오류 처리 1. Amazon Bedrock 및 Nova Canvas 모델 액세스가있는 Active AWS 계정 2. 필수 권한 3. Node.js 버전 18 이상으로 구성된 AWS 자격 증명 서버는 적절한 Amazon Bedrock 권한을 가진 AWS 자격 증명을 요구합니다. 다음 방법 중 하나를 사용하여 이러한 구성: 2. AWS 자격 증명 파일 (~/.aws/credentials): 활동적인 단면도를 위한 환경 변수: 3. 명세.

개요(AI 번역)

AI 이미지 생성을 위한 Amazon Bedrock의 Nova Canvas 모델과 통합되는 Model Control Protocol (MCP) 서버.

특징

  • Amazon 's Nova Canvas Model을 사용한 텍스트 설명의 고품질 이미지 생성
  • 음색을 통한 고급 제어는 이미지 구성을 정제
  • 이미지 차원과 질을 위한 가동 가능한 윤곽 선택권
  • 종자 통제를 가진 Deterministic 이미지 발생
  • Robust 입력 검증 및 오류 처리

필수품

  1. Amazon Bedrock 및 Nova Canvas 모델 액세스와 Active AWS 계정
  2. 요구되는 허가를 가진 Properly 형성된 AWS credentials
  3. Node.js 버전 18 이상

설치

AWS Credentials 구성

서버는 적절한 Amazon Bedrock 권한을 가진 AWS 자격 증명을 요구합니다. 다음 방법 중 하나를 사용하여 이러한 구성:

  1. 환경 변수:

  2. AWS 자격 증명 파일 (~/.aws/credentials):

Active Profile에 대한 환경 변수:

  1. IAM 역할 (AWS 인프라에 배포되는 경우)

Claude 데스크탑 통합

Claude Desktop과 통합하려면 설정 파일에 다음 구성을 추가하십시오.

MacOS: `~/Library/Application Support/Claude/claude desktop config.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

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

  1. Active AWS account with Amazon Bedrock and Nova Canvas model access
  2. Properly configured AWS credentials with required permissions
  3. 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:

  1. 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 region
    
  2. AWS credentials file (~/.aws/credentials):

    [the_profile_name]
    aws_access_key_id = your_access_key
    aws_secret_access_key = your_secret_key
    

    Environment variable for active profile:

    export AWS_PROFILE=the_profile_name
    
  3. IAM 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

{
  "mcpServers": {
    "amazon-bedrock": {
      "command": "npx",
      "args": [
        "-y",
        "@zxkane/mcp-server-amazon-bedrock"
      ],
      "env": {
        "AWS_PROFILE": "your_profile_name",         // Optional, only if you want to use a specific profile
        "AWS_ACCESS_KEY_ID": "your_access_key",     // Optional if using AWS credentials file or IAM role
        "AWS_SECRET_ACCESS_KEY": "your_secret_key", // Optional if using AWS credentials file or IAM role
        "AWS_REGION": "us-east-1"                   // Optional, defaults to 'us-east-1'
      }
    }
  }
}

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)
GitHub에서 전체 README 보기

설치

npx -y @zxkane/mcp-server-amazon-bedrock
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "amazon-bedrock": { "command": "npx", "args": [ "-y", "@zxkane/mcp-server-amazon-bedrock" ], "env": { "AWS_PROFILE": "your_profile_name", // Optional, only if you want to use a specific profile "AWS_ACCESS_KEY_ID": "your_access_key", // Optional if using AWS credentials file or IAM role "AWS_SECRET_ACCESS_KEY": "your_secret_key", // Optional if using AWS credentials file or IAM role "AWS_REGION": "us-east-1" // Optional, defaults to 'us-east-1' } } } }