imagen-4-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RUNAPI_API_KEY | Yes | Your RunAPI API key. Get one at https://runapi.ai. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
RunAPI MCP server for the imagen-4 model line.
Each tool creates a RunAPI media task and optionally polls until completion. Behavior:
Use the user's language and be concise.
Confirm before expensive, long-running, or batch requests.
Present results as task ID, status, output URLs, and cost fields when available.
Do not describe generated media as if you inspected it.
On an API key error, call the login tool for interactive browser auth; headless hosts can use RUNAPI_API_KEY or ~/.config/runapi/config.json.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| loginA | Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json. |
| remix_imageC | Create a Imagen 4 task on RunAPI (remix image). Returns a task id, status, and output URLs. |
| text_to_imageC | Create a Imagen 4 task on RunAPI (text to image). Returns a task id, status, and output URLs. |
| get_taskB | Fetch the current status and latest result payload for a imagen-4 task. |
| check_pricingC | Look up RunAPI pricing for the imagen-4 model line. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
The two creation tools (text_to_image and remix_image) are the only pair with overlapping shape, but their descriptions clearly distinguish text-prompt generation from image remixing. login, check_pricing, and get_task each occupy a clearly separate role. Minor risk that an agent won't know whether get_task also covers listing tasks, but overall boundaries are clear.
Four of five tools follow a clean snake_case verb_noun pattern (check_pricing, get_task, remix_image, text_to_image). 'login' is a bare verb without a noun, a small deviation that doesn't hurt readability.
Five tools is a sensible minimal surface for an image-generation API: auth, pricing, task creation (two modes), and task retrieval. It is on the thin side but each tool clearly earns its place with no filler.
Core lifecycle is partially covered (create task, poll task, auth, pricing), but there is no way to list tasks, cancel/delete a task, or discover available models/parameters, so agents must guess task IDs and options. These are notable gaps rather than fatal ones.