Skip to main content

MCP server for Runpod Seedream and Nano Banana image APIs

Project description

RunPod Image MCP Server

An MCP server that gives Claude Code the ability to generate and edit images using RunPod's Seedream V4 and Nano Banana Pro APIs.

Prerequisites

Quick Start (One Command)

Add the MCP server to Claude Code directly:

claude mcp add runpod-image-apis \
  -e RUNPOD_API_KEY=your_api_key \
  -- uvx runpod-mcp-server

That's it. Restart Claude Code and the tools are available.

Manual Setup

If you prefer to clone and run locally:

git clone https://github.com/jashwanth0712/runpod-image-mcp.git
cd runpod-image-mcp

Then add to your .mcp.json (project-level or ~/.claude/.mcp.json for global):

{
  "mcpServers": {
    "runpod-image-apis": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/runpod-image-mcp", "runpod-mcp-server"],
      "env": {
        "RUNPOD_API_KEY": "your_api_key"
      }
    }
  }
}

Replace /path/to/runpod-image-mcp with the absolute path to the cloned repo.

Available Tools

Tool Description
generate_image Generate images from text prompts (Seedream V4 T2I). Supports sizes up to 4096x4096, negative prompts, and seed control.
edit_image Edit/transform existing images (Nano Banana Pro Edit). Accepts 1-10 image URLs with 1k/2k/4k resolution options.
check_job_status Check the status of a previously submitted generation or editing job.
get_api_info Get reference info about supported parameters, sizes, pricing, and capabilities.

Usage Examples

Once configured, just ask Claude naturally:

Generate a photorealistic sunset over snow-capped mountains with dramatic clouds
Edit this product photo to have a white background and studio lighting: https://example.com/photo.jpg
Check the status of job abc123-def456 from Seedream
What sizes does the Seedream API support?

Troubleshooting

  • Server won't start -- Verify your RUNPOD_API_KEY is correct.
  • Job timeouts -- Increase max_wait_seconds or use check_job_status to poll manually. Large images take longer.
  • No image URL in response -- Check the RunPod console for job details and endpoint health.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runpod_mcp_server-0.2.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runpod_mcp_server-0.2.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file runpod_mcp_server-0.2.0.tar.gz.

File metadata

  • Download URL: runpod_mcp_server-0.2.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for runpod_mcp_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f6aca5318d939565fc6c5db807f8f2738562fbbe16ce0704f37a5d112b32d1af
MD5 13e4e0dd1d8e75522351eb20b5d06401
BLAKE2b-256 4937143bfe791ff0a3c7a33551960b4e134f3b5986f694250c6e16bab987c2a1

See more details on using hashes here.

File details

Details for the file runpod_mcp_server-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for runpod_mcp_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 def56634fac3b40bb3296ca1d5199ec071f3a2e77fb7057770178f8a661a2284
MD5 87de2a1f0fd69d58ae94536625324022
BLAKE2b-256 95d0a4da9d8a5fa072c461c4c8aa19bccb845186b577cd171f32411d60a884b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page