For developers
Nano Banana Pro MCP Server
Let an AI assistant generate images and videos for you. Add one server to Claude, Cursor or any other client that speaks the Model Context Protocol, then describe what you need in plain words.
Connect in three steps
Server address
https://www.bananapro.site/api/mcp- 01
Create an API key
Open the API keys page and create a key. The assistant acts with this key, so every generation is paid from the credits of your account.
Open API keys - 02
Add the server to your client
Give the client the server address above and send the key as a Bearer token. Ready-made settings for common clients are listed below.
- 03
Ask for what you need
For example: "Generate a 16:9 product photo of a ceramic mug with Nano Banana Pro." The assistant picks the tool, starts the task and returns the result link.
Client settings
Replace YOUR_API_KEY with the key you created. Keep the key private: anyone who has it can spend your credits.
Claude Code (run in a terminal)
claude mcp add --transport http bananapro https://www.bananapro.site/api/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Cursor and other clients that read a JSON configuration
{
"mcpServers": {
"bananapro": {
"url": "https://www.bananapro.site/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}The server takes requests over HTTP and answers each call directly. Sign-in through a browser is not offered; access is by API key only.
What the assistant can do
The server exposes six tools. Four only read information and cost nothing; two start a generation and use credits.
| Tool | What it does | Uses credits |
|---|---|---|
| list_models | Lists the image and video models available to your account and the request types each one accepts. | No |
| get_balance | Shows how many credits the account has left. | No |
| generate_image | Starts an image generation or an image edit from a prompt and optional reference images. | Yes |
| generate_video | Starts a video generation from a prompt, images or other reference media. | Yes |
| get_task | Checks a generation and returns the result links once it has finished. | No |
| list_tasks | Lists recent generations, which helps when a task id was lost. | No |
Questions about the MCP server
What does a generation cost through MCP?
The same as through the API. A tool call runs the matching API request with your key, and the credits are taken from your account. A task that fails is refunded in the same way.
Which models can the assistant use?
Every model the API offers to your account. The list_models tool returns the current list, so the assistant does not rely on a fixed table.
Can I use my own pictures or clips as references?
Yes, as public https links. The server does not accept file uploads; host the file somewhere reachable and pass its address.
Where do the results go?
The assistant returns the result links in the conversation. The same tasks are listed by list_tasks and are available through the API.
How do I stop an assistant from using my account?
Delete the API key on the API keys page. Calls with that key are refused from then on.
Prefer to call the API yourself?
The MCP server is built on the public API. The documentation lists every endpoint, parameter and model.