@socialneuron/mcp-server 1.7.14 → 1.7.18

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 CHANGED
@@ -2,6 +2,49 @@
2
2
 
3
3
  All notable changes to `@socialneuron/mcp-server` will be documented in this file.
4
4
 
5
+ ## [1.7.18] - 2026-07-06
6
+
7
+ ### Added
8
+
9
+ - **REST API is real.** `POST /v1/tools/{name}`, `GET /v1/tools`, and `GET /v1/openapi.json` are now served (previously documented but 404). The REST surface is a faithful projection of the MCP engine — same auth, scopes, rate limits, credit pool, and tool handlers — not a second implementation.
10
+ - **Generated OpenAPI 3.1 spec** at `/v1/openapi.json` (unauthenticated), built from the tool catalog + the same input schemas `tools/list` serves, so it can never drift from the tools. Import into Postman/Swagger or generate a client.
11
+ - **`sn call <tool> [--json|--arg]`** — CLI tool invoker that mirrors the same projection, resolving the caller's scopes from their key. Four surfaces (MCP · REST · SDK · CLI), one catalog.
12
+
13
+ ### Fixed
14
+
15
+ - Scrubbed an internal codename from `schedule_post`'s param descriptions (exposed via the new unauthenticated OpenAPI). Added a regression guard.
16
+
17
+ ### Changed
18
+
19
+ - `docs/rest-api.md` updated to the real response shape (MCP result on success, `error_type` on error) and re-links the live OpenAPI spec.
20
+
21
+ ## [1.7.16] - 2026-07-06
22
+
23
+ ### Fixed
24
+
25
+ - **Structured tool errors (audit #188).** New `toolError()` helper attaches a machine-readable `error_type` (`policy_block` / `validation_error` / `permission_denied` / `billing_error` / `rate_limited` / `not_found` / `upstream_error` / `server_error`) in `structuredContent`, mirrored to the text block — matching the 2025-11-25 spec convention (SEP-1303) so clients can programmatically distinguish a policy block from a validation, permission, or billing error. Input-safety blocks and scope denials are the first adopters.
26
+ - **Rate-limit category bug.** `getRateLimiter` resolved its config from the full `category:key` bucket string, so every per-user/per-tool call silently fell back to the loose 60/min `read` bucket — the intended `posting` (30/min) and `screenshot` (10/min) limits never applied. Config now resolves from the bare category; added `generation` (15/min) and `upload` (20/min) categories.
27
+ - **Capabilities pricing table drift.** The `socialneuron://docs/capabilities` resource showed the Free tier at 100 credits (canonical monthly allocation is 50; 100 is the spending cap) and omitted the 14-day Trial tier. Corrected.
28
+
29
+ ### Changed
30
+
31
+ - Removed unused `cors` and `express-rate-limit` dependencies.
32
+
33
+ ## [1.7.15] - 2026-07-06
34
+
35
+ ### Changed
36
+
37
+ - **Public tool surface tightened.** Internal service tools used by Social Neuron's own automation are still registered and scope-gated at runtime, but are no longer advertised on the hosted server card, HTTP discovery, `search_tools`, knowledge documents, or the CLI tool listing. The hosted endpoint now advertises 85 tools; the npm stdio server exposes 87 discoverable tools (including 2 local screen-capture tools).
38
+ - **Tool descriptions cleaned up.** Internal project references and implementation jargon removed from tool descriptions across the catalog.
39
+ - **`run_content_pipeline` scheduling guard restored.** Scheduling again requires `schedule_confirmed=true` after explicit user approval, cannot run with the quality stage skipped, caps generated posts to the requested plan size, drops posts targeting unrequested platforms, and counts scheduled posts against the credit budget. (This hardening was unintentionally dropped in the 1.7.14 source sync.)
40
+ - **Metadata contract unified + CI-guarded.** `server.json` version/pricing/tool-count now match `package.json` and the canonical pricing (MCP requires Pro $49/mo or higher; free tier is 50 credits/mo with no MCP access). Added `mcpName` for MCP Registry ownership verification. New `npm run verify:metadata` gate (wired into CI and release) blocks stale counts, stale pricing, internal codenames, and dead endpoint links from re-entering the public surface.
41
+ - **Docs corrected.** REST API docs (tool count, response `version` example, plan limits), troubleshooting boot log line (95/95), integration methods (stdio vs hosted tool split), and auth docs (plan-scope matrix; removed internal implementation notes). Removed links to the not-yet-deployed `/v1/openapi.json` endpoint.
42
+ - **SDK release path hardened.** `packages/sdk` now ships a `package-lock.json`, the SDK release workflow uses `npm ci --ignore-scripts`, and Dependabot watches `/packages/sdk` and `/apps/content-calendar`.
43
+
44
+ ## [1.7.12–1.7.14] - 2026-06/07
45
+
46
+ Released without changelog entries (see git history): OAuth connector flow + DCR, MCP Apps content calendar, trial-key scopes and post-trial degrade, funnel instrumentation, 96-tool catalog sync, dependency cooldown pins.
47
+
5
48
  ## [1.7.11] - 2026-05-15
6
49
 
7
50
  ### Changed
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @socialneuron/mcp-server
2
2
 
3
- > 96 MCP tools for AI-powered social media management. Create content, schedule posts, track analytics, and optimize performance — all from Claude Code or any MCP client.
3
+ > 85+ MCP tools for AI-powered social media management. Create content, schedule posts, track analytics, and optimize performance — all from Claude Code or any MCP client.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@socialneuron/mcp-server)](https://www.npmjs.com/package/@socialneuron/mcp-server)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -92,7 +92,9 @@ Ask Claude things like:
92
92
  - "Check my analytics and suggest improvements"
93
93
  - "Set up autopilot to post 3 times per week"
94
94
 
95
- ## Tool Categories (96 tools)
95
+ ## Tool Categories
96
+
97
+ The hosted endpoint advertises **85 tools** (live count: [server card](https://mcp.socialneuron.com/.well-known/mcp/server-card.json)); the npm stdio server adds 2 local screen-capture tools (87 discoverable). A small set of internal service tools used by Social Neuron's own automation are registered but not part of the public surface.
96
98
 
97
99
  These tools are available to AI agents (Claude, Cursor, etc.) via the MCP protocol.
98
100
 
@@ -217,7 +219,7 @@ socialneuron-mcp sn loop
217
219
  socialneuron-mcp sn credits
218
220
 
219
221
  # Agent-native CLI v2
220
- socialneuron-mcp sn tools [--module ideation] [--scope mcp:write] # List/filter all 96 tools
222
+ socialneuron-mcp sn tools [--module ideation] [--scope mcp:write] # List/filter available tools
221
223
  socialneuron-mcp sn info # Version, auth, credits, tool count
222
224
  socialneuron-mcp sn plan list|view|approve # Content plan management
223
225
  socialneuron-mcp sn preset list|show|save|delete # Platform presets (6 built-in)