@socialneuron/mcp-server 1.7.5 → 1.7.9
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 +49 -0
- package/README.md +6 -4
- package/dist/http.js +424 -151
- package/dist/index.js +399 -31
- package/package.json +5 -3
- package/tools.lock.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@socialneuron/mcp-server` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.7.9] - 2026-05-01
|
|
6
|
+
|
|
7
|
+
### Security
|
|
8
|
+
- Hardened OAuth Dynamic Client Registration: production defaults now allow only known callback URIs plus localhost Claude development callbacks. Unknown HTTPS callbacks require `MCP_ALLOW_ANY_HTTPS_REDIRECT=true` for staging/onboarding.
|
|
9
|
+
- Made OAuth token revocation authoritative: backend revocation failures now surface as failures instead of silently succeeding after local cache eviction.
|
|
10
|
+
- Reduced auth error detail returned to clients and added no-store cache headers on protected HTTP responses.
|
|
11
|
+
- `MCP_VERSION` bumped to `1.7.9`.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Corrected auth documentation: this public server package currently uses an in-memory Dynamic Client Registration store. The earlier 1.7.7 changelog entry overstated persistent DCR storage; persistent DCR storage and separate short-lived connector tokens require companion backend changes outside this repo.
|
|
15
|
+
|
|
16
|
+
## [1.7.8] - 2026-04-25
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **Platform connection deep-link tools**: `start_platform_connection` mints a single-use deep link the user opens in their browser to complete platform OAuth (X/LinkedIn/IG/etc.) in their already-authenticated session; `wait_for_connection` polls until the connection becomes active or the timeout elapses. Closes the "agent can't trigger OAuth from the chat" gap.
|
|
20
|
+
- **Scope mapping**: `start_platform_connection` is `mcp:distribute`; `wait_for_connection` is `mcp:read`.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- `MCP_VERSION` bumped to `1.7.8` (live `mcp.socialneuron.com` continues at `1.7.7` until the next deploy carries this surface).
|
|
24
|
+
- Tool count: **76** (sealed via `tools.lock.json`).
|
|
25
|
+
|
|
26
|
+
## [1.7.7] - 2026-04-25
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- **MCP Apps — Calendar (Day 1 read-only scaffold)**: First inline UI surface inside Claude Desktop / claude.ai using `@modelcontextprotocol/ext-apps`. The `open_content_calendar` tool renders a drag-drop calendar of scheduled posts. Backed by existing tools (`list_recent_posts`, `schedule_post`, `find_next_slots`) — no new server-side work required.
|
|
30
|
+
- **Connector icon**: OAuth metadata `logo_uri` points at `https://socialneuron.com/logo-icon.svg`. Custom Connector tile in claude.ai now renders the SN brand mark.
|
|
31
|
+
- **Persistent OAuth client store**: Dynamic Client Registrations are persisted to `public.mcp_oauth_clients` (Supabase). Survives Railway redeploys — claude.ai's saved `client_id` no longer becomes invalid each deploy. Falls back to in-memory mode if the table is unreachable.
|
|
32
|
+
- **Scope-denied OAuth-aware message**: Permission-denied responses now branch the remediation hint between API-key users (regenerate at `/settings/developer`) and OAuth Custom Connector users (scope is plan-tier-gated). [PR #73]
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
- `MCP_VERSION` bumped to `1.7.7`.
|
|
36
|
+
- Tool count: **74** at this release; subsequent backports brought public surface to 76.
|
|
37
|
+
|
|
38
|
+
## [1.7.6] - 2026-04-22
|
|
39
|
+
|
|
40
|
+
### Security
|
|
41
|
+
- **Dependency cooldown re-armed**: `SN_DEP_AGE_ENFORCE` flipped back to `"true"` in `release.yml`. New dependency versions under 14 days old now block publish again. (Was temporarily warn-only in 1.7.5 while Trusted Publishing was being validated — that validation is complete.)
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
- `MCP_VERSION` bumped to `1.7.6`.
|
|
45
|
+
- First release published via npm Trusted Publishing (OIDC) with full SLSA provenance attestation. No tokens involved in the publish path.
|
|
46
|
+
- **Reproducible `tools.lock.json`**: removed the `generated_at` timestamp so the sealed manifest is byte-identical across builds of the same source. Per-tool sha256 hashes remain the actual integrity seal.
|
|
47
|
+
- **MCP Registry manifest synced**: `server.json` version fields bumped from `1.7.0` → `1.7.6` so registry discovery reflects the real latest package.
|
|
48
|
+
- **Cursor plugin manifest synced**: `.cursor-plugin/plugin.json` bumped from `1.6.0` → `1.7.6`, tool count corrected from 52 → 73, and the `author.email` field (which leaked a real address) replaced with `author.url`.
|
|
49
|
+
- **Docs tool-count drift fixed**: `docs/rest-api.md`, `docs/cli-guide.md`, `docs/integration-methods.md`, `docs/landing-page-brief.md`, `examples/rest/08-tool-proxy.sh`, and `examples/mcp/prompts.md` all updated from stale `52 tools` references to the current `73 tools`. CHANGELOG history entries are left intact.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
- **Flaky CLI e2e test**: `unified JSON envelope > all JSON outputs include schema_version "1"` was occasionally hitting the default 5000ms vitest timeout on machines with slower cold-start. Raised per-test timeout to 15000ms. (Root cause is 6 sequential CLI spawns; a future PR can share the warm process.)
|
|
53
|
+
|
|
5
54
|
## [1.7.5] - 2026-04-22
|
|
6
55
|
|
|
7
56
|
### Added
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @socialneuron/mcp-server
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> 76 tools for AI-powered social media management. MCP, REST API, CLI — create content, schedule posts, track analytics, and optimize performance.
|
|
4
|
+
>
|
|
5
|
+
> The live Railway endpoint at [`mcp.socialneuron.com`](https://mcp.socialneuron.com) may surface a small number of additional integrated tools beyond the npm-published surface — see [`/.well-known/mcp/server-card.json`](https://mcp.socialneuron.com/.well-known/mcp/server-card.json) for runtime truth.
|
|
4
6
|
|
|
5
7
|
[](https://www.npmjs.com/package/@socialneuron/mcp-server)
|
|
6
8
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
| **CLI** | Terminal, CI/CD pipelines | [Guide](docs/cli-guide.md) |
|
|
15
17
|
| **SDK** | TypeScript/Node.js apps | Coming Q2 2026 |
|
|
16
18
|
|
|
17
|
-
All methods share the same
|
|
19
|
+
All methods share the same 76 tools, auth, scopes, and credit system. [Compare methods](docs/integration-methods.md).
|
|
18
20
|
|
|
19
21
|
## Quick Start
|
|
20
22
|
|
|
@@ -137,7 +139,7 @@ Ask Claude things like:
|
|
|
137
139
|
- "Check my analytics and suggest improvements"
|
|
138
140
|
- "Set up autopilot to post 3 times per week"
|
|
139
141
|
|
|
140
|
-
## Tool Categories (
|
|
142
|
+
## Tool Categories (76 tools)
|
|
141
143
|
|
|
142
144
|
> Full machine-readable listing in [`tools.lock.json`](tools.lock.json) (sealed manifest, verified in CI).
|
|
143
145
|
|
|
@@ -263,7 +265,7 @@ socialneuron-mcp sn loop
|
|
|
263
265
|
socialneuron-mcp sn credits
|
|
264
266
|
|
|
265
267
|
# Agent-native CLI v2
|
|
266
|
-
socialneuron-mcp sn tools [--module ideation] [--scope mcp:write] # List/filter all
|
|
268
|
+
socialneuron-mcp sn tools [--module ideation] [--scope mcp:write] # List/filter all 76 tools
|
|
267
269
|
socialneuron-mcp sn info # Version, auth, credits, tool count
|
|
268
270
|
socialneuron-mcp sn plan list|view|approve # Content plan management
|
|
269
271
|
socialneuron-mcp sn preset list|show|save|delete # Platform presets (6 built-in)
|