npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fal-nano-mcp

v1.4.0

Published

MCP server for generating and editing images using Nano Banana 2 via Fal AI

Readme

fal-nano-mcp

A minimal MCP server hardcoded to use Nano Banana 2 via Fal AI. It exposes exactly two tools:

  • generate_image — text-to-image generation
  • edit_image — image-to-image editing (supports local file paths and URLs)
  • show_version — display the server version

No model selection, no routing — just Nano Banana 2.

Tools

generate_image

Generate images from text prompts.

Required: prompt (string)

Optional: num_images (1-4), aspect_ratio, output_format (jpeg/png/webp), resolution (0.5K/1K/2K/4K), seed, safety_tolerance (1-6), enable_web_search, thinking_level (minimal/high)

edit_image

Edit existing images with a text prompt.

Required: prompt (string), image_urls (array of image URLs or absolute local file paths)

Optional: Same as generate_image

Local file paths are uploaded to Fal's temporary storage before processing. Supported path formats:

  • Absolute paths: /home/user/photo.jpg
  • Tilde paths: ~/photo.jpg
  • file:// URIs: file:///home/user/photo.jpg
  • HTTP/HTTPS URLs (passed through directly)

show_version

Returns the current server version. No inputs required.

Setup

1. Get a Fal API Key

Sign up at fal.ai and create an API key.

2. Install

npm install -g fal-nano-mcp

3. Add to your MCP client

Claude Code (CLI)

claude mcp add fal-nano-mcp -e FAL_KEY=your-fal-api-key-here -- fal-nano-mcp

JSON config (Claude Code, Claude Desktop, Cursor, etc.)

Add to your MCP config file (e.g. ~/.claude/settings.json, claude_desktop_config.json, .cursor/mcp.json):

{
  "mcpServers": {
    "fal-nano-mcp": {
      "command": "fal-nano-mcp",
      "env": {
        "FAL_KEY": "your-fal-api-key-here"
      }
    }
  }
}

4. Verify

Restart your MCP client and the generate_image, edit_image, and show_version tools should be available.

MetaMCP (Docker) Setup

If you run MetaMCP in a Docker container, the MCP server runs inside the container and cannot access host filesystem paths by default. To enable edit_image with local file paths, mount your home directory into the MetaMCP container.

Add this volume to the app service in your docker-compose.yml:

volumes:
  - /home/youruser:/home/youruser:ro

The :ro (read-only) flag is recommended since the server only needs to read files. After updating, restart MetaMCP:

docker compose down && docker compose up -d

Usage Examples

Generate an image:

"Generate an image of a sunset over Jerusalem"

Edit an image:

"Edit this image to add a rainbow" (with image URL)

Pricing

~$0.08 per image at 1K resolution. 2K and 4K cost 1.5x and 2x respectively. See fal.ai pricing.

License

MIT