MCP server for Runpod Seedream and Nano Banana image APIs
Project description
RunPod Image MCP Server
An MCP server that gives Claude Code and Cursor the ability to generate and edit images using RunPod's Seedream V4 and Nano Banana Pro APIs.
Prerequisites
Setup
Claude Code
Quick Start (one command):
claude mcp add runpod-image-apis \
-e RUNPOD_API_KEY=your_api_key \
-- uvx runpod-mcp-server
Restart Claude Code and the tools are available.
Manual setup (clone and run locally): add to .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.
Cursor
Quick Start: create or edit your MCP config and add the server.
- Project-only: create
.cursor/mcp.jsonin your project root. - All projects: create
~/.cursor/mcp.jsonin your home directory.
If using uvx (no clone needed):
{
"mcpServers": {
"runpod-image-apis": {
"command": "uvx",
"args": ["runpod-mcp-server"],
"env": {
"RUNPOD_API_KEY": "your_api_key"
}
}
}
}
If running from a cloned repo:
git clone https://github.com/jashwanth0712/runpod-image-mcp.git
cd runpod-image-mcp
Then use one of the configs below.
In project .cursor/mcp.json (use ${workspaceFolder} so it works for any project that contains the clone):
{
"mcpServers": {
"runpod-image-apis": {
"command": "uv",
"args": ["run", "--directory", "${workspaceFolder}", "runpod-mcp-server"],
"env": {
"RUNPOD_API_KEY": "your_api_key"
}
}
}
}
In global ~/.cursor/mcp.json, use the absolute path to the repo:
{
"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 actual path. Restart Cursor (or reload the window) so the new MCP server is picked up.
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, ask Claude or Cursor 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_KEYis correct. - Job timeouts -- Increase
max_wait_secondsor usecheck_job_statusto 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file runpod_mcp_server-0.2.1.tar.gz.
File metadata
- Download URL: runpod_mcp_server-0.2.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19a7604fff72fd1975d2a042ca8f31d113133026c3ffd5717af847af5fdbc836
|
|
| MD5 |
d58f673bb1f5f09ad978d505deb1593d
|
|
| BLAKE2b-256 |
0d2bd9e3f6671f2e1f6c12cddcf683d8bf596a7e749bd78ccb08877c84d24264
|
File details
Details for the file runpod_mcp_server-0.2.1-py3-none-any.whl.
File metadata
- Download URL: runpod_mcp_server-0.2.1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ef8d22fb4fa4325fc4a89ec830f8474ce61051c29473dafada2ce84b9cf820d
|
|
| MD5 |
4a6139e835c75ab35b0e78805812e576
|
|
| BLAKE2b-256 |
23cd6f05a0887b050817cd5e4af5a6e5f547f5f020dc2e57075fbc3954aa78bc
|