bundlesocial-mcp 1.9.2 → 1.11.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/CHANGELOG.md +14 -0
- package/README.md +23 -10
- package/dist/chunk-MUVHM2HJ.js +4 -0
- package/dist/chunk-MUVHM2HJ.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/lib.d.ts +5 -0
- package/dist/lib.js +1 -1
- package/package.json +3 -2
- package/server.json +12 -4
- package/dist/chunk-G4PWSSO3.js +0 -4
- package/dist/chunk-G4PWSSO3.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.11.0](https://github.com/bundleglobal/bundlesocial-mcp/compare/v1.10.0...v1.11.0) (2026-11-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* upload_media takes files attached in ChatGPT ([#14](https://github.com/bundleglobal/bundlesocial-mcp/issues/14)) ([7aa6b76](https://github.com/bundleglobal/bundlesocial-mcp/commit/7aa6b76455a08a2327540b57bd060f0dab9341f4))
|
|
7
|
+
|
|
8
|
+
# [1.10.0](https://github.com/bundleglobal/bundlesocial-mcp/compare/v1.9.2...v1.10.0) (2026-11-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* upload links, explicit tool hints, optional generic API tools ([#13](https://github.com/bundleglobal/bundlesocial-mcp/issues/13)) ([2edb7ac](https://github.com/bundleglobal/bundlesocial-mcp/commit/2edb7ac1ce7e426b6bbd4b6e67327e818966c0ce))
|
|
14
|
+
|
|
1
15
|
## [1.9.2](https://github.com/bundleglobal/bundlesocial-mcp/compare/v1.9.1...v1.9.2) (2026-11-25)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
# bundlesocial-mcp
|
|
2
2
|
|
|
3
|
-
[Model Context Protocol](https://modelcontextprotocol.io) server for the [bundle.social](https://bundle.social) social-media API. It lets MCP clients — Claude
|
|
3
|
+
[Model Context Protocol](https://modelcontextprotocol.io) server for the [bundle.social](https://bundle.social) social-media API. It lets MCP clients — Claude, ChatGPT, Claude Code, Cursor, Codex, and anything else that speaks MCP — post, schedule, list and analyze content across 15+ platforms (X, Instagram, TikTok, LinkedIn, YouTube, Facebook, Pinterest, Reddit, Threads, Bluesky, Mastodon, Discord, Slack, Google Business Profile, Snapchat).
|
|
4
4
|
|
|
5
5
|
It's a thin wrapper over the official [`bundlesocial`](https://www.npmjs.com/package/bundlesocial) Node SDK. Same surface as [`bundlesocial-cli`](https://www.npmjs.com/package/bundlesocial-cli) — posting, comments, media, analytics, team & integration management, and post-history/comment/CSV imports — exposed as MCP tools.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Quick start: hosted server
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
The same tools run at `https://mcp.bundle.social` (Streamable HTTP). Add that URL to your client and sign in with your bundle.social account: nothing to install and no API key to copy. You choose **Full access** or **Read only** and can disconnect the app any time in [Connected apps](https://bundle.social/dashboard/organization/connected-apps).
|
|
10
|
+
|
|
11
|
+
- **Claude** (claude.ai, Desktop, mobile): Customize → Connectors → + Add → Add custom connector, URL `https://mcp.bundle.social`, then Connect.
|
|
12
|
+
- **ChatGPT**: Settings → Apps & Connectors → Developer mode, create an app with URL `https://mcp.bundle.social` and Authentication OAuth, then Connect.
|
|
13
|
+
- **Claude Code**: `claude mcp add --transport http bundlesocial https://mcp.bundle.social`, then `/mcp` → Authenticate.
|
|
14
|
+
- **Cursor**: `{ "mcpServers": { "bundlesocial": { "url": "https://mcp.bundle.social" } } }` in `~/.cursor/mcp.json`, then Connect in Cursor Settings → MCP.
|
|
15
|
+
- **Codex**: `[mcp_servers.bundlesocial]` with `url = "https://mcp.bundle.social"` in `~/.codex/config.toml`, then `codex mcp login bundlesocial`.
|
|
16
|
+
|
|
17
|
+
For scripts, scheduled agents and clients without sign-in, send an API key instead (see [Hosted server with an API key](#hosted-server-with-an-api-key)). Setup for every client: <https://info.bundle.social/api-reference/mcp>.
|
|
18
|
+
|
|
19
|
+
Run it locally (`npx bundlesocial-mcp`, below) when the agent needs to read files from your disk.
|
|
20
|
+
|
|
21
|
+
## Prerequisites (local server)
|
|
10
22
|
|
|
11
23
|
- Node.js 20+
|
|
12
24
|
- A bundle.social API key — create one at <https://bundle.social/dashboard/organization/api-keys>
|
|
@@ -19,7 +31,7 @@ Team-scoped tools take an optional `teamId`, either a team id or the exact team
|
|
|
19
31
|
|
|
20
32
|
| Tool | Description |
|
|
21
33
|
|---|---|
|
|
22
|
-
| `check_setup` | Self-diagnosis: API key
|
|
34
|
+
| `check_setup` | Self-diagnosis: credentials present (connection or API key), API reachable, credentials valid, org API access, team resolution, connected integrations, posts quota. Returns `{ ok, checks: [...] }`. Run it first. |
|
|
23
35
|
|
|
24
36
|
### Reference
|
|
25
37
|
|
|
@@ -91,7 +103,8 @@ Team-scoped tools take an optional `teamId`, either a team id or the exact team
|
|
|
91
103
|
|
|
92
104
|
| Tool | Description |
|
|
93
105
|
|---|---|
|
|
94
|
-
| `upload_media` | Upload an image/video/document from a public URL (or local path in stdio mode
|
|
106
|
+
| `upload_media` | Upload an image/video/document from a public URL, a file attached in ChatGPT (`file`, via `openai/fileParams`), or a local path in stdio mode. Local files >90 MB use the large-upload flow automatically (.jpg/.jpeg/.png/.gif/.mp4/.pdf only above that size). Returns the upload object — pass its `id` to `create_post`/`schedule_post` via `data` (e.g. `{"TWITTER":{"text":"hi","uploadIds":["<id>"]}}`). |
|
|
107
|
+
| `create_upload_link` / `get_upload_link` | A link the user opens in their browser to add files (JPG, PNG, GIF, MP4, MOV, PDF, up to 5 GB) without signing in, for chats that can't send a file (claude.ai, ChatGPT). `get_upload_link` returns the status and the upload ids. |
|
|
95
108
|
| `list_media` / `get_media` | List / fetch media uploads (filter by type and USED/UNUSED). |
|
|
96
109
|
| `delete_media` / `delete_media_many` | Delete one or several uploads (destructive). |
|
|
97
110
|
| `init_large_upload` / `finalize_large_upload` | Direct upload of any file up to 5 GB — `init` returns a signed PUT `url` + `path`; PUT the bytes there, then `finalize`. The way to send local files to the hosted server; in stdio mode `upload_media` with a local path does it for you. |
|
|
@@ -142,9 +155,9 @@ The action list is generated from the `bundlesocial` SDK (`npm run generate:acti
|
|
|
142
155
|
|
|
143
156
|
`create_post` / `schedule_post` target platforms by **name** (`x`, `tiktok`, `instagram`, `youtube`, `facebook`, `threads`, `linkedin`, `pinterest`, `reddit`, `mastodon`, `discord`, `slack`, `bluesky`, `gbp`, `snapchat`) or by **integration id** (from `list_integrations`). Put platform-required fields under `platformSettings` keyed by platform — e.g. Reddit `sr`, Pinterest `boardName`, TikTok `privacy`, YouTube `madeForKids`/`privacyStatus`, Instagram/Facebook `type` — or pass the full `data` object verbatim. The complete per-platform parameter reference is at **<https://docs.bundle.social/api-reference/platform-parameters>**.
|
|
144
157
|
|
|
145
|
-
## Configuration
|
|
158
|
+
## Configuration (local server)
|
|
146
159
|
|
|
147
|
-
The server reads these environment variables (CLI flags override them):
|
|
160
|
+
The local server reads these environment variables (CLI flags override them):
|
|
148
161
|
|
|
149
162
|
| Env var | Flag | Required | Purpose |
|
|
150
163
|
|---|---|---|---|
|
|
@@ -206,9 +219,9 @@ Add to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project):
|
|
|
206
219
|
}
|
|
207
220
|
```
|
|
208
221
|
|
|
209
|
-
### Hosted server
|
|
222
|
+
### Hosted server with an API key
|
|
210
223
|
|
|
211
|
-
|
|
224
|
+
Signing in (see [Quick start](#quick-start-hosted-server)) is the default. For automation, send your API key as `Authorization: Bearer YOUR_API_KEY` (or `x-api-key`), and optionally a default team as `x-bundle-team-id`:
|
|
212
225
|
|
|
213
226
|
```bash
|
|
214
227
|
claude mcp add --transport http bundlesocial https://mcp.bundle.social \
|
|
@@ -263,7 +276,7 @@ import { createServer } from "bundlesocial-mcp";
|
|
|
263
276
|
const server = createServer({ apiKey, mode: "hosted", defaultTeamId });
|
|
264
277
|
```
|
|
265
278
|
|
|
266
|
-
`createServer({ apiKey, apiUrl?, defaultTeamId?, mode?, clientId?, auth?, readOnly? })` builds the `McpServer` and is transport-agnostic. `mode: "hosted"` is for servers that run remotely: local file paths are refused (media and CSV sources must be public `https://` URLs), and CSV URLs are fetched without redirects and only from public addresses. Every request sends `x-bundle-client` (`mcp/<version>`, or `mcp-hosted/<version>` when hosted) so usage can be measured. `auth: "oauth"` tells `check_setup` the user signed in through an OAuth connection rather than an API key,
|
|
279
|
+
`createServer({ apiKey, apiUrl?, defaultTeamId?, mode?, clientId?, auth?, readOnly?, apiActions? })` builds the `McpServer` and is transport-agnostic. `mode: "hosted"` is for servers that run remotely: local file paths are refused (media and CSV sources must be public `https://` URLs), and CSV URLs are fetched without redirects and only from public addresses. Every request sends `x-bundle-client` (`mcp/<version>`, or `mcp-hosted/<version>` when hosted) so usage can be measured. `auth: "oauth"` tells `check_setup` the user signed in through an OAuth connection rather than an API key, `readOnly: true` registers only read-only tools, and `apiActions: false` leaves out `search_api_actions` / `call_api_read` / `call_api_action` for directories that don't accept generic API tools. Every tool carries a `title` and explicit `readOnlyHint`, `destructiveHint` and `openWorldHint`.
|
|
267
280
|
|
|
268
281
|
Every tool is annotated with a `title` and either `readOnlyHint` or `destructiveHint`; anything that writes, including creating a post, is marked destructive so clients ask before running it.
|
|
269
282
|
|