Imagen 4 MCP Server
by runapi-aiio.github.runapi-builder/imagen-4-mcpv0.2.0
RunAPI Imagen 4 MCP server for image generation: create tasks, poll results, and check pricing across 4 model variants from Claude Code, Codex, Cursor, and VS Code.
context tax
queued
security
queued
cold start
queued
freshness
Active10d ago
Install Imagen 4 MCP server
Install in Claude Code
claude mcp add imagen-4 -e RUNAPI_API_KEY='<runapi-api-key>' -- npx -y @runapi.ai/imagen-4-mcpInstall in Cursor
{
"mcpServers": {
"imagen-4": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/imagen-4-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"imagen-4": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/imagen-4-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"imagen-4": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@runapi.ai/imagen-4-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"imagen-4": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/imagen-4-mcp"
],
"env": {
"RUNAPI_API_KEY": "<runapi-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| RUNAPI_API_KEY | — | yes | Optional RunAPI API key for headless hosts. Interactive MCP hosts can use the login tool, which writes shared RunAPI config. |
Freshness
Active — last maintenance signal 10d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-30 · 10d ago · GitHub
Latest release
2026-09-30 · 10d ago · GitHub · v0.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-30 · 10d ago · official registry · v0.2.0
FAQ
›How do I install the Imagen 4 MCP server in Claude Code?
Run: claude mcp add imagen-4 -e RUNAPI_API_KEY='<runapi-api-key>' -- npx -y @runapi.ai/imagen-4-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Imagen 4 require an API key?
Yes. It expects RUNAPI_API_KEY, of which 1 is a secret.
›Can I use Imagen 4 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Imagen 4 in the official MCP registry?
Yes, as io.github.runapi-builder/imagen-4-mcp.
Alternatives to Imagen 4
Other ai & llm tools MCP servers.