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

gobananas-cli

v1.0.10

Published

Command-line interface for Go Bananas! AI Image Generation

Downloads

100

Readme

gobananas-cli

Interactive command-line interface and MCP proxy for Go Bananas AI image generation.

What's New (v1.0.6)

  • Prompt Optimization: New enhance_prompt parameter enriches short prompts with AI-powered visual details (lighting, composition, style) before generation
  • Timeout Fix: Fixed MCP SDK 60s timeout causing -32001 errors on parallel Pro model requests. Now uses 10-minute timeout with progress-based keep-alive.

Install

npm install -g gobananas-cli

Or use without installing:

npx gobananas-cli

Commands

| Command | Alias | Description | | --------------- | ----- | ------------------------------ | | gobananas | gb | Interactive CLI | | gobananas-mcp | — | MCP STDIO proxy for AI editors |

MCP Setup

Go Bananas supports two MCP auth modes. Pick one per client/scope:

  • Remote HTTP OAuth: the MCP client connects to https://gobananasai.com/mcp and stores its own OAuth tokens.
  • STDIO proxy: the MCP client launches gobananas-mcp; the proxy reads credentials from gobananas-cli auth login or GO_BANANAS_API_KEY.

Do not expect gobananas-cli auth login to authenticate a direct HTTP MCP entry. It only authenticates the STDIO proxy.

For Claude Code, claude.ai connectors, Codex, Cursor, VS Code, and other clients that support remote HTTP MCP OAuth, use the hosted endpoint:

claude mcp add --transport http -s user go-bananas https://gobananasai.com/mcp

Then run /mcp in Claude Code and complete the Go Bananas browser login.

Codex uses:

codex mcp add go-bananas --url https://gobananasai.com/mcp
codex mcp login go-bananas

Use the local STDIO proxy for MCP clients that cannot connect to remote HTTP servers, or when you want one local credential shared across STDIO clients. Run browser login once:

npx -y gobananas-cli auth login

Then configure the proxy:

{
  "mcpServers": {
    "go-bananas": {
      "command": "npx",
      "args": ["-y", "gobananas-mcp"],
      "env": {
        "GO_BANANAS_SERVER_URL": "https://gobananasai.com",
        "GO_BANANAS_MCP_TRANSPORT": "streamable-http"
      }
    }
  }
}

For CI/headless environments, add GO_BANANAS_API_KEY to the same env object instead of using browser login.

See the gobananas-mcp README for client-specific setup instructions.

Environment Variables

| Variable | Default | Description | | -------------------------- | ------------------------- | -------------------------------------------------------- | | GO_BANANAS_API_KEY | — | API-key fallback for STDIO proxy and CI/headless clients | | GO_BANANAS_SERVER_URL | https://gobananasai.com | Server URL | | GO_BANANAS_MCP_TRANSPORT | streamable-http | Transport protocol |

Architecture

  • src/ — TypeScript source
  • dist/ — Compiled output
  • bin/ — CLI entry points (gobananas.js, gobananas-mcp.js)

The MCP STDIO proxy (bin/gobananas-mcp.js) bridges STDIO-based MCP clients to the remote server using Streamable HTTP transport with a 30s connect timeout and 10-minute request timeout.

Related