MCP endpoint
Nano Banana MCP: one URL puts NanoBanana.one in every assistant.
NanoBanana.one exposes a Model Context Protocol (MCP) server. Add the URL to your assistant once. After that it can generate and edit Nano Banana images, check credits and search prompts from the chat.
Set up a client
Add to ~/.cursor/mcp.json (or a project's .cursor/mcp.json). Then Connect on the server in Cursor's MCP settings.
{
"mcpServers": {
"nanobanana-one": {
"url": "https://nanobanana.one/mcp"
}
}
}First run opens a NanoBanana.one page: sign in, review the requested access, Allow.
Tools
generate_imageGenerate or edit an image from a prompt. Options: aspect ratio, resolution, model, reference photos.
get_generationPoll an in-progress image and return the result.
list_image_modelsImage models (Nano Banana, Nano Banana 2, Nano Banana Pro and more) with credit costs.
list_my_imagesYour past images.
get_credit_balanceCredits left and current plan.
browse_banana_promptsSearch the Banana Prompts library.
Generation uses credits at website prices. Browsing and listing are free.
MCP FAQ
What is MCP?
An open standard for connecting AI assistants to outside tools. Any client that speaks it can call the tools listed above with your account.
What does it cost?
Connecting is free. Images cost the same credits as on the website. The pricing page shows the current sign-up credits.
Supported clients?
Any client with remote MCP over Streamable HTTP and OAuth: Claude (web, desktop, Claude Code), ChatGPT developer mode, Cursor, VS Code with GitHub Copilot, other MCP clients.
Can a client read my password or spend credits without approval?
No. Clients never see your password and can spend credits only after you approve them on the consent screen. Disconnect any time in Settings → MCP clients.
Can I pick Nano Banana Pro or Nano Banana 2?
Yes. Name the model or let the assistant choose. generate_image can also run one prompt across models side by side.
Troubleshooting checklist
- Authentication loop: disconnect the server in your client, connect again and click Allow on the NanoBanana.one screen.
- Out of credits: the request was rejected before any charge. Buy a pack and run it again.
- Result not back yet: generations can take up to a minute; get_generation fetches the final image.
- 403 Forbidden on a key: upgrade to a plan with API access, or use OAuth.