Ideogram MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Used for environment variable management to store Ideogram API credentials

  • Used for source code hosting and version control for the Ideogram MCP Server project

  • Used for package distribution and dependency management for the Ideogram MCP Server

🎨 Ideogram MCP Server

Ideogram API를 사용하여 이미지 생성 기능을 제공하는 Model Context Protocol (MCP) 서버

https://github.com/user-attachments/assets/041553d3-6fbc-4dfa-b149-d195dcb9e8f8

📋 기능

  • 프롬프트를 기반으로 이미지 생성
  • 사용자 정의 가능한 매개변수
    • 종횡비
    • 모델 선택
    • 매직 프롬프트
    • 스타일 타입
    • 부정적인 프롬프트
    • 생성된 이미지 수

🚀 설정

  1. 필요한 종속성 설치:
npm install
  1. 환경 변수 설정: .env 파일을 만들고 다음 내용을 추가합니다.
IDEOGRAM_API_KEY=your_api_key_here
  1. 빌드:
npm run build
  1. (선택 사항) 전역 설치:
npm link

💻 사용법

MCP 도구

generate_image

이미지를 생성하는 도구.

필수 매개변수:

  • prompt : 이미지 생성에 사용할 프롬프트

선택적 매개변수:

  • aspect_ratio : 이미지의 종횡비
    • ASPECT_1_1
    • ASPECT_4_3
    • ASPECT_3_4
    • ASPECT_16_9
    • ASPECT_9_16
  • model : 사용할 모델
    • V_1
    • V_1_TURBO
    • V_2
    • V_2_TURBO
  • magic_prompt_option : 매직 프롬프트 설정
    • AUTO
    • ON
    • OFF
  • style_type : 생성 스타일
  • negative_prompt : 제외하려는 요소 설명
  • num_images : 생성할 이미지 수(1-8)

사용 예

const result = await use_mcp_tool({ server_name: "ideagram-mcp-server", tool_name: "generate_image", arguments: { prompt: "A beautiful sunset over mountains", aspect_ratio: "ASPECT_16_9", model: "V_2", num_images: 1 } });

🔧 개발

디렉토리 구조

ideagram-mcp-server/ ├── src/ │ ├── index.ts # メインのサーバーコード │ └── ideogram-client.ts # Ideogram APIクライアント ├── package.json ├── tsconfig.json └── README.md

스크립트

  • npm run build : TypeScript 컴파일
  • npm run watch : 개발 모드에서 실행 (파일 변경 모니터링)
  • npm run lint : 코드 린트
  • npm test : 테스트 실행

📄 라이센스

MIT

🤝 기여

  1. 이 저장소를 포크
  2. 새로운 브랜치 만들기 ( git checkout -b feature/amazing-feature )
  3. 변경 커밋 ( git commit -m '✨ feat: Add amazing feature' )
  4. 브랜치에 푸시 ( git push origin feature/amazing-feature )
  5. 끌어오기 요청 만들기

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

A Model Context Protocol server that provides image generation capabilities using the Ideogram API, allowing users to create images from text prompts with customizable parameters.

  1. 📋 機能
    1. 🚀 セットアップ
      1. 💻 使用方法
        1. MCPツール
        2. 使用例
      2. 🔧 開発
        1. ディレクトリ構造
        2. スクリプト
      3. 📄 ライセンス
        1. 🤝 コントリビューション
          ID: xzcx34d305