Overview
MCP Image Generator is a server that utilizes Together AI's image generation models to create images based on text prompts.
To use the MCP Image Generator, clone the repository, install the necessary dependencies, and configure it with your Together AI API key. You can then use the generate_image tool to create images from text prompts.
- Generates images from text prompts using AI models. - Customizable image dimensions (width and height). - Easy setup with Node.js and Together AI API.
- Creating unique artwork based on user-defined prompts.
- Generating images for marketing materials or social media posts.
- Assisting designers in visualizing concepts quickly.
Add to your AI client
Use these steps to connect MCP Image Generator in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-imagegen-gmkr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-imagegen-gmkr"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-imagegen-gmkr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-imagegen-gmkr"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-imagegen-gmkr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-imagegen-gmkr"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-imagegen-gmkr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-imagegen-gmkr"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-imagegen-gmkr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-imagegen-gmkr"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-imagegen-gmkr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-imagegen-gmkr"
]
}
}
}FAQ
What do I need to run MCP Image Generator?
You need Node.js and a Together AI API key to run the server.
Can I customize the image size?
Yes! You can specify the width and height for the generated images.
Is there a license for MCP Image Generator?
Yes, it is licensed under the MIT License.