gobananas-mcp 1.0.0

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.
package/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # gobananas-mcp
2
+
3
+ MCP STDIO proxy for [Go Bananas](https://gobananasai.com) AI image generation. Connects MCP clients (Claude Desktop, Cursor, Claude Code, Codex) to the Go Bananas server.
4
+
5
+ This is a thin wrapper around [`gobananas-cli`](https://www.npmjs.com/package/gobananas-cli) that provides the `gobananas-mcp` command for zero-install MCP setup.
6
+
7
+ ## Setup
8
+
9
+ ### Claude Desktop
10
+
11
+ Add to `claude_desktop_config.json`:
12
+
13
+ ```json
14
+ {
15
+ "mcpServers": {
16
+ "go-bananas": {
17
+ "command": "npx",
18
+ "args": ["-y", "gobananas-mcp"],
19
+ "env": {
20
+ "GO_BANANAS_SERVER_URL": "https://gobananasai.com",
21
+ "GO_BANANAS_MCP_TRANSPORT": "streamable-http"
22
+ }
23
+ }
24
+ }
25
+ }
26
+ ```
27
+
28
+ ### Cursor
29
+
30
+ Add to `.cursor/mcp.json`:
31
+
32
+ ```json
33
+ {
34
+ "mcpServers": {
35
+ "go-bananas": {
36
+ "command": "npx",
37
+ "args": ["-y", "gobananas-mcp"],
38
+ "env": {
39
+ "GO_BANANAS_SERVER_URL": "https://gobananasai.com",
40
+ "GO_BANANAS_MCP_TRANSPORT": "streamable-http"
41
+ }
42
+ }
43
+ }
44
+ }
45
+ ```
46
+
47
+ ### Claude Code
48
+
49
+ Add to `.mcp.json` in your project root or `~/.claude.json` for all projects:
50
+
51
+ ```json
52
+ {
53
+ "mcpServers": {
54
+ "go-bananas": {
55
+ "command": "npx",
56
+ "args": ["-y", "gobananas-mcp"],
57
+ "env": {
58
+ "GO_BANANAS_SERVER_URL": "https://gobananasai.com",
59
+ "GO_BANANAS_MCP_TRANSPORT": "streamable-http"
60
+ }
61
+ }
62
+ }
63
+ }
64
+ ```
65
+
66
+ ## Environment Variables
67
+
68
+ | Variable | Default | Description |
69
+ |----------|---------|-------------|
70
+ | `GO_BANANAS_SERVER_URL` | `https://gobananasai.com` | Server URL |
71
+ | `GO_BANANAS_MCP_TRANSPORT` | `streamable-http` | Transport protocol |
72
+
73
+ ## How It Works
74
+
75
+ This package re-exports the MCP STDIO proxy from `gobananas-cli`. The proxy bridges STDIO-based MCP clients to the remote Go Bananas server using Streamable HTTP transport.
76
+
77
+ - **Connect timeout**: 30 seconds
78
+ - **Request timeout**: 10 minutes (image generation can take 25-55s)
79
+
80
+ ## Related
81
+
82
+ - [`gobananas-cli`](https://www.npmjs.com/package/gobananas-cli) — Interactive CLI for Go Bananas
83
+ - [Go Bananas](https://gobananasai.com) — AI image generation platform
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Go Bananas MCP STDIO Proxy
4
+ *
5
+ * Thin wrapper that re-exports the MCP STDIO proxy from gobananas-cli.
6
+ * This package exists so `npx -y gobananas-mcp` works as a zero-install
7
+ * entry point for Claude Desktop, Cursor, Claude Code, and Codex.
8
+ */
9
+
10
+ import 'gobananas-cli/dist/mcp-stdio.js';
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "gobananas-mcp",
3
+ "version": "1.0.0",
4
+ "description": "MCP server for Go Bananas AI image generation — use with Claude Desktop, Cursor, Claude Code, Codex",
5
+ "type": "module",
6
+ "bin": {
7
+ "gobananas-mcp": "./bin/gobananas-mcp.js"
8
+ },
9
+ "files": [
10
+ "bin/"
11
+ ],
12
+ "keywords": [
13
+ "mcp",
14
+ "ai",
15
+ "image-generation",
16
+ "claude-desktop",
17
+ "cursor",
18
+ "claude-code",
19
+ "codex",
20
+ "gemini",
21
+ "go-bananas"
22
+ ],
23
+ "author": "",
24
+ "license": "MIT",
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "engines": {
29
+ "node": ">=18.0.0"
30
+ },
31
+ "dependencies": {
32
+ "gobananas-cli": "^1.0.1"
33
+ }
34
+ }