Ideogram MCP Server
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.
Sunwood-ai-labs
Tools
generate_image
Generate an image using Ideogram AI
README
<div align="center"> <img src="assets/header-animation.svg" width="100%">
🎨 Ideogram MCP Server
<p align="center"> <img alt="GitHub" src="https://img.shields.io/github/license/sunwood-ai-labs/ideagram-mcp-server"> <img alt="GitHub package.json version" src="https://img.shields.io/github/package-json/v/sunwood-ai-labs/ideagram-mcp-server"> <img alt="GitHub issues" src="https://img.shields.io/github/issues/sunwood-ai-labs/ideagram-mcp-server"> <img alt="GitHub pull requests" src="https://img.shields.io/github/issues-pr/sunwood-ai-labs/ideagram-mcp-server"> <img alt="npm" src="https://img.shields.io/npm/v/@sunwood-ai-labs/ideagram-mcp-server"> <img alt="npm" src="https://img.shields.io/npm/dt/@sunwood-ai-labs/ideagram-mcp-server"> </p>
Ideogram APIを使用して画像生成機能を提供するModel Context Protocol (MCP) サーバー
</div>
https://github.com/user-attachments/assets/041553d3-6fbc-4dfa-b149-d195dcb9e8f8
📋 機能
- プロンプトに基づく画像生成
- カスタマイズ可能なパラメータ
- アスペクト比
- モデル選択
- マジックプロンプト
- スタイルタイプ
- ネガティブプロンプト
- 生成画像数
🚀 セットアップ
- 必要な依存関係をインストール:
npm install
- 環境変数の設定:
.envファイルを作成し、以下の内容を追加:
IDEOGRAM_API_KEY=your_api_key_here
- ビルド:
npm run build
- (オプション)グローバルにインストール:
npm link
💻 使用方法
MCPツール
generate_image
画像を生成するためのツール。
必須パラメータ:
prompt: 画像生成に使用するプロンプト
オプションパラメータ:
aspect_ratio: 画像のアスペクト比ASPECT_1_1ASPECT_4_3ASPECT_3_4ASPECT_16_9ASPECT_9_16
model: 使用するモデルV_1V_1_TURBOV_2V_2_TURBO
magic_prompt_option: マジックプロンプトの設定AUTOONOFF
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
🤝 コントリビューション
- このリポジトリをフォーク
- 新しいブランチを作成 (
git checkout -b feature/amazing-feature) - 変更をコミット (
git commit -m '✨ feat: Add amazing feature') - ブランチにプッシュ (
git push origin feature/amazing-feature) - プルリクエストを作成
Recommended Servers
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
@kazuph/mcp-fetch
Model Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.
mcp-pinterest
A Pinterest Model Context Protocol (MCP) server for image search and information retrieval
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
ScreenshotOne MCP Server
An official MCP server implementation that allows AI assistants to capture website screenshots through the ScreenshotOne API, enabling visual context from web pages during conversations.
Glif
Run AI workflows hosted on Glif.app via MCP, including ComfyUI-based image generators, meme generators, selfies, chained LLM calls, and more
DeepSRT MCP Server
An MCP server that enables users to generate summaries of YouTube videos in multiple languages and formats through integration with DeepSRT's API.
Frontend Review MCP
An MCP server that visually reviews UI edit requests by comparing screenshots before and after edits, ensuring changes satisfy user requests.
MCP Media Processing Server
A Node.js server that provides advanced video and image processing capabilities through the Model Context Protocol, enabling operations like conversion, compression, editing, and effects application.
Youtube MCP Server
Bridges YouTube API and AI assistants, enabling video analysis by downloading and processing closed captions to create summaries of YouTube videos.