gobananas-mcp 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +47 -11
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  MCP server for [Go Bananas](https://gobananasai.com) AI image generation. Connects MCP clients (Claude Desktop, Claude Code, Cursor, VS Code, Codex) to the Go Bananas server.
4
4
 
5
- **45 tools** for image generation, conversational editing, character consistency, product marketing, posters, style presets, model discovery, quota/cost checks, and analytics — powered by Gemini Flash, Gemini Pro, and OpenAI GPT Image 2.
5
+ **47 tools** for image generation, conversational editing, character consistency, product marketing, posters, style presets, model discovery, quota/cost checks, and analytics — powered by Gemini Flash, Gemini Pro, and OpenAI GPT Image 2.
6
6
 
7
7
  ## What's New (v1.0.7)
8
8
 
@@ -11,29 +11,47 @@ MCP server for [Go Bananas](https://gobananasai.com) AI image generation. Connec
11
11
 
12
12
  ## Quick Start
13
13
 
14
- ### Claude Desktop / claude.ai (Easiest — Remote Connector)
14
+ ### Auth Modes
15
15
 
16
- No installation needed. Works on desktop, web, and mobile:
16
+ There are two supported ways to connect:
17
+
18
+ | Mode | Best For | How Auth Works |
19
+ | --------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
20
+ | **Remote HTTP OAuth** | claude.ai connectors, Claude Code, Codex, Cursor/VS Code clients that support remote MCP OAuth | The client connects to `https://gobananasai.com/mcp` and stores OAuth tokens for that URL |
21
+ | **STDIO proxy** | Claude Desktop config files, older editors, Hermes/cloud agents, or clients without remote HTTP OAuth | The client launches `gobananas-mcp`; the proxy reads local `gobananas-cli` OAuth tokens or `GO_BANANAS_API_KEY` |
22
+
23
+ Keep only one `go-bananas` entry per client/scope. Logging in with
24
+ `npx -y gobananas-cli auth login` authenticates the STDIO proxy only; it does not authenticate
25
+ a separate direct HTTP config entry.
26
+
27
+ ### Claude Desktop / claude.ai Remote Connector
28
+
29
+ No installation needed when using the hosted connector flow:
17
30
 
18
31
  1. Go to **Settings > Connectors > Add custom connector**
19
32
  2. Enter URL: `https://gobananasai.com/mcp`
20
33
  3. Authenticate with your Go Bananas account
21
34
 
22
- That's it. All 45 tools are available immediately.
35
+ That's it. All 47 tools are available immediately.
23
36
 
24
37
  ### Claude Code (Recommended — Remote HTTP OAuth)
25
38
 
26
39
  ```bash
27
- claude mcp add go-bananas \
28
- --transport http \
29
- https://gobananasai.com/mcp
40
+ claude mcp add --transport http -s user go-bananas https://gobananasai.com/mcp
30
41
  ```
31
42
 
32
- Add `-s user` to install for all projects.
33
-
34
43
  Then run `/mcp` in Claude Code and authenticate in the browser. This uses Go Bananas OAuth;
35
44
  you do not need to paste an API key into your MCP config.
36
45
 
46
+ ### Codex (Remote HTTP OAuth)
47
+
48
+ ```bash
49
+ codex mcp add go-bananas --url https://gobananasai.com/mcp
50
+ codex mcp login go-bananas
51
+ ```
52
+
53
+ Use `codex mcp get go-bananas` to verify the configured endpoint.
54
+
37
55
  ### Universal Install (9+ Clients)
38
56
 
39
57
  Works across Claude, Cursor, VS Code, Gemini CLI, and more:
@@ -44,7 +62,7 @@ npx add-mcp https://gobananasai.com/mcp
44
62
 
45
63
  ### STDIO Clients / Hermes / Cloud Agents
46
64
 
47
- If your client cannot use remote HTTP MCP connectors, use the local STDIO proxy.
65
+ If your client cannot use remote HTTP MCP connectors, use this local STDIO proxy.
48
66
  Run browser login once, then point the client at `gobananas-mcp` without putting an
49
67
  API key in the MCP config:
50
68
 
@@ -77,6 +95,24 @@ Then add the proxy to your MCP config.
77
95
 
78
96
  Restart Claude Desktop after saving.
79
97
 
98
+ For Claude Code STDIO:
99
+
100
+ ```bash
101
+ claude mcp add -s user go-bananas \
102
+ -e GO_BANANAS_SERVER_URL=https://gobananasai.com \
103
+ -e GO_BANANAS_MCP_TRANSPORT=streamable-http \
104
+ -- npx -y gobananas-mcp
105
+ ```
106
+
107
+ For Codex STDIO:
108
+
109
+ ```bash
110
+ codex mcp add go-bananas \
111
+ --env GO_BANANAS_SERVER_URL=https://gobananasai.com \
112
+ --env GO_BANANAS_MCP_TRANSPORT=streamable-http \
113
+ -- npx -y gobananas-mcp
114
+ ```
115
+
80
116
  For headless/cloud environments, run `npx -y gobananas-cli auth login --no-open`
81
117
  and open the printed authorization URL in a browser that can reach the local
82
118
  callback address. If that is not possible, use the API-key fallback:
@@ -161,7 +197,7 @@ Run `list_models` before advanced model choices, and run `check_quota` before la
161
197
 
162
198
  ## How It Works
163
199
 
164
- This package re-exports the MCP STDIO proxy from [`gobananas-cli`](https://www.npmjs.com/package/gobananas-cli). The proxy bridges STDIO-based MCP clients to the remote Go Bananas server using Streamable HTTP transport. For clients with remote HTTP MCP support, connect directly to `https://gobananasai.com/mcp` so the client can perform OAuth login and token refresh itself. For STDIO-only clients, run `gobananas auth login` or `gb auth login` once; the proxy will use the saved OAuth tokens and refresh them automatically.
200
+ This package re-exports the MCP STDIO proxy from [`gobananas-cli`](https://www.npmjs.com/package/gobananas-cli). The proxy bridges STDIO-based MCP clients to the remote Go Bananas server using Streamable HTTP transport. For clients with remote HTTP MCP support, connect directly to `https://gobananasai.com/mcp` so the client can perform OAuth login and token refresh itself. For STDIO-only clients, run `gobananas auth login` or `gb auth login` once; the proxy will use the saved OAuth tokens and refresh them automatically. If you configure both direct HTTP and STDIO under the same name, authenticate the exact entry your client reports in its MCP status.
165
201
 
166
202
  - **Connect timeout**: 30 seconds
167
203
  - **Request timeout**: 10 minutes (image generation can take 25-55s)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gobananas-mcp",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "MCP server for Go Bananas AI image generation — use with Claude Desktop, claude.ai, Cursor, Claude Code, VS Code, Codex",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,6 +35,6 @@
35
35
  "node": ">=18.0.0"
36
36
  },
37
37
  "dependencies": {
38
- "gobananas-cli": "^1.0.9"
38
+ "gobananas-cli": "^1.0.10"
39
39
  }
40
40
  }