For Claude, ChatGPT and Cursor

Make images with Nano Banana Art from your AI assistant

Nano Banana Art has its own Model Context Protocol (MCP) server. Paste its URL into your assistant and you can ask for new images or edits to a photo, check your credits and find prompts in the Banana Prompts library, all in the same chat.

Pick where you work

ChatGPT needs Developer mode: Settings → Apps & Connectors → Advanced settings. Turn it on, choose Create, paste the URL and pick OAuth.

ChatGPT
https://nano-banana.art/mcp

The first connection opens a Nano Banana Art page in your browser. Sign in, look over the requested access and press Allow.

What you can ask for

  • generate_image

    Make a new piece or rework a photo from a prompt, with your choice of aspect ratio, resolution, model and reference images.

  • get_generation

    Check on a piece that is still being painted and fetch it when it is done.

  • list_image_models

    See every image model (Nano Banana, Nano Banana 2, Nano Banana Pro and others) and its credit cost.

  • list_my_images

    Pull up pieces you made earlier.

  • get_credit_balance

    Check your credit balance and plan.

  • browse_banana_prompts

    Browse the Banana Prompts gallery for prompts that already work.

Each piece costs the same credits it would on the site. Browsing and lists are free.

Questions about MCP

What is MCP?

The Model Context Protocol is an open standard that lets AI assistants call outside tools. Ours is one of those tools: it lets Claude, ChatGPT and others make Nano Banana art on your account.

Is it free to connect?

Yes. You pay only for pieces you make, at the same credit price as the website. The pricing page shows the current sign-up credits.

Which apps can I connect?

Anything that supports remote MCP servers over Streamable HTTP with OAuth: Claude on web, desktop and Claude Code, ChatGPT in developer mode, Cursor, VS Code with GitHub Copilot, and other MCP clients.

Is my password or my credit balance at risk?

No. Apps never see your password and can only spend credits once you approve them on the consent screen. Disconnect any app in Settings → Assistants.

Can I choose Nano Banana Pro or Nano Banana 2?

Yes. Ask for a model by name, or leave the choice to the assistant. generate_image can also make the same prompt on several models so you can compare.

Fixes for common snags
  1. The client keeps showing "needs auth": delete the connector and re-add it so a fresh OAuth login starts.
  2. "Not enough credits" means the run never started and cost nothing. Add credits, then ask again.
  3. An image is taking a while: ask the assistant to check it with get_generation in about 20 seconds.
  4. Getting 403 with a key: API access isn't part of that plan. Use the OAuth sign-in instead.