Fal Nano MCP
Local MCP for using Nano Banana via Fal AI
About This Project
Fal-Nano-MCP is a minimal Model Context Protocol server that wraps the Nano Banana 2 model hosted on Fal AI. It is hardcoded to that single model, with no model selection or routing, and exposes three tools: generate_image for text-to-image generation, edit_image for image-to-image editing, and show_version for reporting the server version. The edit_image tool accepts HTTP and HTTPS URLs as well as local file paths in absolute, tilde, and file:// URI formats, uploading local files to Fal's temporary storage before processing. The server is written in JavaScript, distributed through npm, and configured through a FAL_KEY environment variable.
The project is designed to be added to MCP-compatible clients such as Claude Code, Claude Desktop, and Cursor through a JSON configuration entry or a single CLI command. The README also documents a Docker-based setup for MetaMCP, which requires mounting the host home directory into the container read-only so that local file paths can be accessed. Generation options include aspect ratio, output format, resolution from 0.5K to 4K, seed, safety tolerance, web search, and thinking level.
The project is useful for developers and creators who want to generate or edit images from within an AI assistant workflow without managing multiple image model integrations. Its narrow scope and per-image pricing, roughly $0.08 at 1K resolution, make it suitable for those who only need one model and want predictable configuration. It is released under the MIT license.