@socialneuron/mcp-server 1.7.3 → 1.7.5
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 +153 -17
- package/README.md +79 -19
- package/dist/http.js +1623 -421
- package/dist/index.js +1600 -394
- package/package.json +18 -5
- package/tools.lock.json +88 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,34 +2,170 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@socialneuron/mcp-server` will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [1.7.
|
|
5
|
+
## [1.7.5] - 2026-04-22
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
|
+
- **`upload_media` base64 path**: new optional `file_data` + `file_name` params let Claude Desktop, Claude Web, and other remote agents upload bytes directly without a filesystem path. Content-type is validated against an allowlist, base64 charset is checked, and decoded size is capped at 10MB before the Edge Function call. `file_name` is `basename()`-sanitized.
|
|
9
|
+
- **`schedule_post` auto-rehost**: any `media_url` / `media_urls` / `job_id` result URL that is not already R2-signed is automatically persisted into R2 via `upload-to-r2` before posting. Keeps scheduled posts alive past ephemeral-URL expiry (Replicate, OpenAI, DALL-E, kie.ai) and feeds byte-upload platforms (X, LinkedIn, YouTube, Bluesky). New optional `auto_rehost` parameter (default: true) opts out.
|
|
10
|
+
- **`create_carousel` meta-tool** (from v1.7.4): Brand-aware carousel generation that composes `generate_image` with brand color/tone constraints and auto-exports to R2. Catalog now at **73 tools**.
|
|
11
|
+
- **Brand runtime scoring**: `brandScoring.ts` + `colorAudit.ts` modules power multi-dimensional brand alignment checks used by the carousel meta-tool.
|
|
12
|
+
|
|
13
|
+
### Security
|
|
14
|
+
- **npm Trusted Publishing (OIDC)**: Release workflow publishes to npm via OIDC — no long-lived `NPM_TOKEN` secret. Package ships with SLSA provenance.
|
|
15
|
+
- **Production environment gate**: Release workflow requires manual approval of the `production` environment before publishing.
|
|
16
|
+
- **Perimeter hardening (Sprint 1)**: Repo-level `.npmrc` pins registry, disables funding/audit noise in CI, and enforces `save-exact`. `CODEOWNERS` locks security-sensitive paths (workflows, `.npmrc`, `package.json`, `src/auth/`) to `@socialneuron/sn-maintainers`.
|
|
17
|
+
- **Pre-push identity hook**: Blocks pushes from unexpected git identities; ships with a local allowlist.
|
|
18
|
+
- **Lockfile-lint + dependency cooldown**: CI validates `package-lock.json` integrity. Release enforces a 14-day cooldown on new dependency versions (temporarily warn-only for this release during OIDC validation — re-enforced in 1.7.6).
|
|
19
|
+
- **Sealed tools manifest (CVE-2025-6514 mitigation)**: `tools.lock.json` records a sha256 hash of every tool's `name`/`description`/`module`/`scope`. CI `lint:tools` blocks drift between source and manifest. Mitigates tool-poisoning attacks on MCP clients.
|
|
20
|
+
- **SSRF guard on caller URLs**: every URL passed to auto-rehost is validated by `quickSSRFCheck` — rejects localhost, RFC1918 private ranges, link-local, cloud metadata endpoints (AWS/GCP/Azure), embedded credentials, and non-HTTP(S) protocols.
|
|
21
|
+
- **Hono patched**: `hono` override bumped 4.12.12 → 4.12.14 to resolve GHSA-458j-xx4x-4375 (JSX attribute HTML injection, moderate).
|
|
22
|
+
- Covers **11 Dependabot alerts** pinned via npm `overrides` (security patches for transitive deps).
|
|
8
23
|
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
- **mcp-data gateway**: 17 new actions added for cloud-mode tool execution
|
|
24
|
+
### Changed
|
|
25
|
+
- `MCP_VERSION` bumped to `1.7.5`.
|
|
26
|
+
- Tool descriptions updated on `upload_media` and `schedule_post.media_url` to tell agents ephemeral URLs are safe to pass directly.
|
|
27
|
+
- CI runners upgraded: `actions/checkout@v6`, `actions/setup-node@v6`.
|
|
28
|
+
- Dependencies: `@supabase/supabase-js` 2.101 → 2.103, `posthog-node` 5.28 → 5.29.2, `hono` → 4.12.14, `@types/node` → 25.6, `typescript` → 6.0, `trufflehog` action → 3.94.2.
|
|
15
29
|
|
|
16
30
|
### Fixed
|
|
31
|
+
- Missing `sanitizeError` import on the presigned-PUT error branch of `upload_media`.
|
|
32
|
+
- Release workflow: removed stale `registry-url` directive that blocked OIDC Trusted Publishing.
|
|
33
|
+
- Release workflow: removed broken typecheck gate that blocked publish.
|
|
17
34
|
|
|
18
|
-
|
|
19
|
-
- **Zod 4 compatibility**: Upgraded zod 3→4 for SDK v1.27 compatibility
|
|
20
|
-
- **Express middleware**: Added express-rate-limit + cors as direct dependencies
|
|
35
|
+
## [1.7.3] - 2026-04-04
|
|
21
36
|
|
|
22
37
|
### Security
|
|
38
|
+
- **Full error sanitization**: `sanitizeError()` applied across all 15 catch blocks in 9 tool files + `http.ts` global error handler. No internal paths, table names, or stack traces leak to clients.
|
|
39
|
+
- **R2 key masking**: R2 storage keys are masked in all text output to prevent path disclosure.
|
|
23
40
|
|
|
24
|
-
|
|
25
|
-
- `
|
|
26
|
-
-
|
|
27
|
-
-
|
|
41
|
+
### Added
|
|
42
|
+
- **`upload_media` tool**: Upload local files or URLs to R2 storage for use in posts.
|
|
43
|
+
- **`get_media_url` tool**: Generate signed URLs for R2-stored media.
|
|
44
|
+
- **`schedule_post` enhancements**: Now accepts `r2_key`/`r2_keys`, `job_id`/`job_ids`, and typed `platform_metadata` — enables seamless generate-upload-post pipeline.
|
|
45
|
+
- **`check_status` enhancements**: Returns `all_urls` for multi-output jobs, presigned PUT URL support.
|
|
46
|
+
- **Brand consistency scoring**: New `brandScoring.ts` + `brandRuntime.ts` modules with multi-dimensional brand alignment scoring.
|
|
28
47
|
|
|
29
|
-
###
|
|
48
|
+
### Fixed
|
|
49
|
+
- Duplicate `sanitizeError` import removed.
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
- `MCP_VERSION` bumped to `1.7.3`.
|
|
53
|
+
- Removed `api/` directory (OpenAPI spec, router, tool-executor) — REST convenience routes consolidated into `http.ts`.
|
|
54
|
+
- Removed `cli/sn/completions.ts`, `cli/sn/generate.ts`, `cli/sn/parse.ts` — CLI streamlined.
|
|
55
|
+
- Removed `lib/tool-errors.ts` — error handling consolidated into `sanitizeError`.
|
|
56
|
+
|
|
57
|
+
## [1.7.0] - 2026-04-03
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
- 12 new tools (52 → 64): brandRuntime (3), pipeline (4), suggest (1), digest (2), remotion (+1), autopilot (+1)
|
|
61
|
+
- `/.well-known/mcp/server-card.json` endpoint for Smithery marketplace discovery
|
|
62
|
+
- `/config` endpoint for cloud-mode connection info (replaces hardcoded credentials)
|
|
63
|
+
- MCP tool safety annotations for Anthropic Connectors Directory
|
|
64
|
+
- Response truncation (100K char limit)
|
|
65
|
+
|
|
66
|
+
### Security
|
|
67
|
+
- Cloud config fetched at startup from `/config` endpoint (rotatable without npm republish)
|
|
68
|
+
- Supabase anon key (public, RLS-gated) restored with documentation — service role key remains env-only
|
|
69
|
+
|
|
70
|
+
### Dependencies
|
|
71
|
+
- `@modelcontextprotocol/sdk` 1.27 → 1.29
|
|
72
|
+
- `@supabase/supabase-js` 2.99 → 2.101
|
|
73
|
+
- `jose` 6.2.1 → 6.2.2
|
|
74
|
+
|
|
75
|
+
## [1.6.1] - 2026-03-22
|
|
76
|
+
|
|
77
|
+
### Security
|
|
78
|
+
- **Explicit body size limit**: `express.json({ limit: '50kb' })` prevents DoS via oversized payloads.
|
|
79
|
+
- **Error message sanitization**: MCP POST catch block now uses `sanitizeError()` — no more internal paths or table names in error responses.
|
|
80
|
+
- **PII removal**: Removed `email` from API key validation chain (7 files). Key validation no longer exposes user email addresses.
|
|
81
|
+
- **Generation rate limiting**: Added explicit `generation` category at 20 req/min (previously fell back to `read` at 60/min).
|
|
82
|
+
- **npm provenance**: Added `--provenance` flag and `id-token: write` permission to release workflow for supply chain verification.
|
|
83
|
+
- **Security comment**: Documented that Edge Functions must not trust `x-internal-worker-call` header without Bearer token verification.
|
|
84
|
+
|
|
85
|
+
### Fixed
|
|
86
|
+
- **hono prototype pollution**: Updated transitive dependency to fix GHSA-v8w9-8mx6-g223.
|
|
87
|
+
- `npm audit` now reports 0 vulnerabilities.
|
|
88
|
+
|
|
89
|
+
### Added
|
|
90
|
+
- 18 examples (8 REST curl, 5 TypeScript SDK, 4 CLI, 1 MCP prompts).
|
|
91
|
+
- TypeScript SDK package (`packages/sdk/`) with 9 resource classes.
|
|
92
|
+
- CLI tab completion and content generation commands.
|
|
93
|
+
- SDK documentation and release workflow.
|
|
94
|
+
|
|
95
|
+
## [1.6.0] - 2026-03-21
|
|
30
96
|
|
|
31
|
-
|
|
32
|
-
-
|
|
97
|
+
### Added
|
|
98
|
+
- **REST API layer**: Universal tool proxy at `POST /v1/tools/:name` — call any of the 52 MCP tools via standard HTTP REST. No MCP client required.
|
|
99
|
+
- **OpenAPI 3.1 spec**: Auto-generated from TOOL_CATALOG at `/openapi.json` — always in sync with tools.
|
|
100
|
+
- **15 convenience endpoints**: Resource-oriented routes for common operations (`/v1/credits`, `/v1/content/generate`, `/v1/posts`, etc.).
|
|
101
|
+
- **Express HTTP transport**: New `dist/http.js` entry point for running as a standalone REST API server.
|
|
102
|
+
- **MCP Registry metadata**: `server.json` with mcpName, endpoints, env, and auth configuration for registry discovery.
|
|
103
|
+
- **Cursor Directory manifest**: Plugin manifest for Cursor IDE integration.
|
|
104
|
+
|
|
105
|
+
### Fixed
|
|
106
|
+
- **TS2345**: Cast Express route param to string for strict TypeScript compatibility.
|
|
107
|
+
- **npm publish 404**: Removed `--provenance` flag from release workflow (incompatible with scoped packages on granular tokens).
|
|
108
|
+
|
|
109
|
+
### Changed
|
|
110
|
+
- Dual transport support: MCP (stdio) and HTTP (Express) from a single codebase.
|
|
111
|
+
- SECURITY.md updated with v1.6.x in supported versions.
|
|
112
|
+
- `docs/auth.md` domain reference corrected (`www.socialneuron.com` → `socialneuron.com`).
|
|
113
|
+
|
|
114
|
+
## [1.5.2] - 2026-03-20
|
|
115
|
+
|
|
116
|
+
### Added
|
|
117
|
+
- **Error recovery hints**: All 47 error paths now include actionable recovery guidance — agents know what to call next when something fails (e.g., "Call get_credit_balance to check remaining credits" or "Verify platform OAuth with list_connected_accounts").
|
|
118
|
+
- Central `formatToolError()` helper with 9 error categories: rate limits, credits, OAuth, generation, not-found, access, SSRF, scheduling, and plan validation.
|
|
119
|
+
- 18 new tests for error recovery formatting.
|
|
120
|
+
|
|
121
|
+
## [1.5.1] - 2026-03-20
|
|
122
|
+
|
|
123
|
+
### Added
|
|
124
|
+
- **MCP tool annotations**: All 52 tools now declare `readOnlyHint`, `destructiveHint`, `idempotentHint`, and `openWorldHint` per MCP spec. Agents can now determine which tools are safe to call without confirmation.
|
|
125
|
+
- **Complete parameter descriptions**: Added `.describe()` to all remaining parameters (248 total). Every parameter now has format examples, constraints, and usage guidance.
|
|
126
|
+
|
|
127
|
+
### Changed
|
|
128
|
+
- Updated test setup to support 5-argument `server.tool()` signature with annotations.
|
|
129
|
+
|
|
130
|
+
## [1.5.0] - 2026-03-19
|
|
131
|
+
|
|
132
|
+
### Changed
|
|
133
|
+
- **LLM-optimized tool descriptions**: Rewrote 27 tool descriptions and enriched 15 parameters for agent comprehension. Every tool now answers "when to call", "what to pass", and "what comes next" — following Arcade ToolBench patterns (Tool Description, Constrained Input, Dependency Hint, Performance Hint).
|
|
134
|
+
- **API key cache TTL**: Reduced from 60s to 10s to limit revocation exposure window.
|
|
135
|
+
- **OAuth issuer URL**: Production metadata now derives from `MCP_SERVER_URL` instead of defaulting to localhost.
|
|
136
|
+
- **SECURITY.md**: Updated supported versions, added scanner false-positive documentation.
|
|
137
|
+
- **CLI setup URL**: Fixed `app.socialneuron.com` → `www.socialneuron.com`.
|
|
138
|
+
|
|
139
|
+
### Dependencies
|
|
140
|
+
- `@supabase/supabase-js` 2.98.0 → 2.99.2
|
|
141
|
+
- `open` 10.0.0 → 11.0.0 (requires Node.js 20+)
|
|
142
|
+
- `posthog-node` 5.28.1 → 5.28.3
|
|
143
|
+
- `vitest` 3.2.4 → 4.1.0
|
|
144
|
+
- `esbuild` 0.27.3 → 0.27.4
|
|
145
|
+
- `@types/node` 25.4.0 → 25.5.0
|
|
146
|
+
|
|
147
|
+
## [1.4.0] - 2026-03-13
|
|
148
|
+
|
|
149
|
+
### Changed
|
|
150
|
+
- **Telemetry is now opt-IN**: No data is sent unless `SOCIALNEURON_TELEMETRY=1` is explicitly set. Previously telemetry was opt-out.
|
|
151
|
+
- **PostHog moved to optionalDependencies**: `posthog-node` is no longer a required runtime dependency. The package works fully without it installed. This reduces supply chain surface and resolves socket.dev security flags.
|
|
152
|
+
- **Dynamic import**: PostHog is loaded via `import()` at runtime, silently skipped if unavailable.
|
|
153
|
+
- `DO_NOT_TRACK=1` continues to override and disable telemetry in all cases.
|
|
154
|
+
|
|
155
|
+
## [1.3.2] - 2026-03-13
|
|
156
|
+
|
|
157
|
+
### Fixed
|
|
158
|
+
- **TypeScript strict mode**: Added `@types/express`, fixed `AuthenticatedRequest` type to extend express `Request`, corrected `StreamableHTTPServerTransport` constructor usage
|
|
159
|
+
- **Optional dependency stubs**: Added ambient declarations for `playwright`, `@remotion/bundler`, `@remotion/renderer` (dynamically imported, not required at runtime)
|
|
160
|
+
- **Removed unused directive**: Cleaned up stale `@ts-expect-error` in REPL module
|
|
161
|
+
- **Release CI**: Typecheck now passes in GitHub Actions release workflow
|
|
162
|
+
|
|
163
|
+
## [1.3.1] - 2026-03-13
|
|
164
|
+
|
|
165
|
+
### Fixed
|
|
166
|
+
- **zod v4 compatibility**: Updated `zod` dependency from v3 to v4 to match `@modelcontextprotocol/sdk` peer requirement, fixing `ERR_PACKAGE_PATH_NOT_EXPORTED` crash on `npx` install
|
|
167
|
+
- **Test domain**: Fixed test fixtures using deprecated `socialneuron.ai` domain (now `socialneuron.com`)
|
|
168
|
+
- **CLI E2E timeout**: Increased envelope test timeout to avoid false failures
|
|
33
169
|
|
|
34
170
|
## [1.3.0] - 2026-03-13
|
|
35
171
|
|
package/README.md
CHANGED
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
# @socialneuron/mcp-server
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> 73 tools for AI-powered social media management. MCP, REST API, CLI — create content, schedule posts, track analytics, and optimize performance.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@socialneuron/mcp-server)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
|
+
## Integration Methods
|
|
9
|
+
|
|
10
|
+
| Method | Best For | Docs |
|
|
11
|
+
|--------|----------|------|
|
|
12
|
+
| **MCP** | AI agents (Claude, Cursor, VS Code) | [Setup](#quick-start) |
|
|
13
|
+
| **REST API** | Any HTTP client, webhooks, Zapier | [Guide](docs/rest-api.md) |
|
|
14
|
+
| **CLI** | Terminal, CI/CD pipelines | [Guide](docs/cli-guide.md) |
|
|
15
|
+
| **SDK** | TypeScript/Node.js apps | Coming Q2 2026 |
|
|
16
|
+
|
|
17
|
+
All methods share the same 73 tools, auth, scopes, and credit system. [Compare methods](docs/integration-methods.md).
|
|
18
|
+
|
|
8
19
|
## Quick Start
|
|
9
20
|
|
|
10
|
-
###
|
|
21
|
+
### MCP (AI Agents)
|
|
22
|
+
|
|
23
|
+
#### 1. Authenticate
|
|
11
24
|
|
|
12
25
|
```bash
|
|
13
26
|
npx -y @socialneuron/mcp-server login --device
|
|
@@ -15,7 +28,7 @@ npx -y @socialneuron/mcp-server login --device
|
|
|
15
28
|
|
|
16
29
|
This opens your browser to authorize access. Requires a paid Social Neuron plan (Starter or above). See [pricing](https://socialneuron.com/pricing).
|
|
17
30
|
|
|
18
|
-
|
|
31
|
+
#### 2. Add to Claude Code
|
|
19
32
|
|
|
20
33
|
```bash
|
|
21
34
|
claude mcp add socialneuron -- npx -y @socialneuron/mcp-server
|
|
@@ -76,10 +89,42 @@ Add to `.cursor/mcp.json` in your workspace:
|
|
|
76
89
|
```
|
|
77
90
|
</details>
|
|
78
91
|
|
|
79
|
-
|
|
92
|
+
#### 3. Start using
|
|
80
93
|
|
|
81
94
|
Ask Claude: "What content should I post this week?" or "Schedule my latest video to YouTube and TikTok"
|
|
82
95
|
|
|
96
|
+
### REST API (Any Language)
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
# Check credits
|
|
100
|
+
curl -H "Authorization: Bearer snk_live_..." \
|
|
101
|
+
https://mcp.socialneuron.com/v1/credits
|
|
102
|
+
|
|
103
|
+
# Generate content
|
|
104
|
+
curl -X POST -H "Authorization: Bearer snk_live_..." \
|
|
105
|
+
-H "Content-Type: application/json" \
|
|
106
|
+
-d '{"topic": "AI trends", "platforms": ["linkedin"]}' \
|
|
107
|
+
https://mcp.socialneuron.com/v1/content/generate
|
|
108
|
+
|
|
109
|
+
# Execute any tool via proxy
|
|
110
|
+
curl -X POST -H "Authorization: Bearer snk_live_..." \
|
|
111
|
+
-H "Content-Type: application/json" \
|
|
112
|
+
-d '{"response_format": "json"}' \
|
|
113
|
+
https://mcp.socialneuron.com/v1/tools/get_brand_profile
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
See [REST API docs](docs/rest-api.md) | [OpenAPI spec](https://mcp.socialneuron.com/v1/openapi.json) | [Examples](examples/rest/)
|
|
117
|
+
|
|
118
|
+
### CLI (Terminal & CI/CD)
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
npx @socialneuron/mcp-server sn system credits --json
|
|
122
|
+
npx @socialneuron/mcp-server sn analytics loop --json
|
|
123
|
+
npx @socialneuron/mcp-server sn discovery tools --module content
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
See [CLI guide](docs/cli-guide.md) | [Examples](examples/cli/)
|
|
127
|
+
|
|
83
128
|
## What You Can Do
|
|
84
129
|
|
|
85
130
|
Ask Claude things like:
|
|
@@ -92,9 +137,11 @@ Ask Claude things like:
|
|
|
92
137
|
- "Check my analytics and suggest improvements"
|
|
93
138
|
- "Set up autopilot to post 3 times per week"
|
|
94
139
|
|
|
95
|
-
## Tool Categories (
|
|
140
|
+
## Tool Categories (73 tools)
|
|
141
|
+
|
|
142
|
+
> Full machine-readable listing in [`tools.lock.json`](tools.lock.json) (sealed manifest, verified in CI).
|
|
96
143
|
|
|
97
|
-
|
|
144
|
+
All tools are accessible via MCP, REST API (`POST /v1/tools/{name}`), and CLI.
|
|
98
145
|
|
|
99
146
|
### Content Lifecycle
|
|
100
147
|
|
|
@@ -216,7 +263,7 @@ socialneuron-mcp sn loop
|
|
|
216
263
|
socialneuron-mcp sn credits
|
|
217
264
|
|
|
218
265
|
# Agent-native CLI v2
|
|
219
|
-
socialneuron-mcp sn tools [--module ideation] [--scope mcp:write] # List/filter all
|
|
266
|
+
socialneuron-mcp sn tools [--module ideation] [--scope mcp:write] # List/filter all 73 tools
|
|
220
267
|
socialneuron-mcp sn info # Version, auth, credits, tool count
|
|
221
268
|
socialneuron-mcp sn plan list|view|approve # Content plan management
|
|
222
269
|
socialneuron-mcp sn preset list|show|save|delete # Platform presets (6 built-in)
|
|
@@ -250,37 +297,50 @@ Each iteration produces smarter content as performance data feeds back into the
|
|
|
250
297
|
- SSRF protection on all URL parameters with DNS rebinding prevention
|
|
251
298
|
- Rate limiting per user with per-tool limits for expensive operations
|
|
252
299
|
- Agent loop detection prevents runaway automation
|
|
253
|
-
-
|
|
300
|
+
- Telemetry is off by default — opt in with `SOCIALNEURON_TELEMETRY=1`
|
|
254
301
|
|
|
255
302
|
See [SECURITY.md](./SECURITY.md) for our vulnerability disclosure policy and credential safety details.
|
|
256
303
|
|
|
257
304
|
## Telemetry
|
|
258
305
|
|
|
259
|
-
|
|
306
|
+
Telemetry is **off by default**. No data is collected unless you explicitly opt in.
|
|
260
307
|
|
|
261
|
-
**To
|
|
308
|
+
**To enable**: Set `SOCIALNEURON_TELEMETRY=1` in your environment.
|
|
262
309
|
|
|
263
|
-
|
|
310
|
+
**To disable**: `DO_NOT_TRACK=1` or `SOCIALNEURON_NO_TELEMETRY=1` always disables telemetry, even if `SOCIALNEURON_TELEMETRY=1` is set.
|
|
311
|
+
|
|
312
|
+
When enabled, the following anonymous metrics are collected via PostHog:
|
|
313
|
+
- Tool name invoked
|
|
314
|
+
- Success or failure status
|
|
315
|
+
- Invocation duration (ms)
|
|
316
|
+
|
|
317
|
+
No personal content, API keys, or request payloads are ever collected. Your user ID is hashed (SHA-256) before transmission.
|
|
318
|
+
|
|
319
|
+
`posthog-node` is an optional dependency — if it is not installed, telemetry is a silent no-op regardless of environment variables.
|
|
264
320
|
|
|
265
321
|
## Examples
|
|
266
322
|
|
|
267
|
-
See the [examples
|
|
323
|
+
See the [`examples/`](examples/) directory:
|
|
268
324
|
|
|
269
|
-
-
|
|
270
|
-
-
|
|
325
|
+
- [REST API examples](examples/rest/) — curl scripts for every endpoint
|
|
326
|
+
- [CLI examples](examples/cli/) — automation workflows
|
|
327
|
+
- [MCP prompts](examples/mcp/claude-prompts.md) — natural language examples
|
|
328
|
+
- [External examples repo](https://github.com/socialneuron/examples) — prompt-driven workflow templates
|
|
271
329
|
- Performance review and optimization loops
|
|
272
330
|
- Brand-aligned content generation
|
|
273
331
|
- Comment engagement automation
|
|
274
332
|
|
|
275
333
|
## Links
|
|
276
334
|
|
|
277
|
-
- [
|
|
278
|
-
- [
|
|
335
|
+
- [For Developers](https://socialneuron.com/for-developers) — Integration methods, tools, pricing
|
|
336
|
+
- [REST API Docs](docs/rest-api.md) — Endpoint reference
|
|
337
|
+
- [CLI Guide](docs/cli-guide.md) — Terminal commands
|
|
338
|
+
- [Integration Methods](docs/integration-methods.md) — Compare MCP vs REST vs CLI
|
|
339
|
+
- [OpenAPI Spec](https://mcp.socialneuron.com/v1/openapi.json) — Machine-readable API spec
|
|
340
|
+
- [Developer Settings](https://socialneuron.com/settings/developer) — Generate API keys
|
|
279
341
|
- [Documentation](https://socialneuron.com/docs)
|
|
280
|
-
- [Examples](https://github.com/socialneuron/examples)
|
|
281
|
-
- [Agent Protocol](https://socialneuron.com/system-prompt.txt)
|
|
282
|
-
- [Developer Settings](https://socialneuron.com/settings/developer)
|
|
283
342
|
- [Pricing](https://socialneuron.com/pricing)
|
|
343
|
+
- [Agent Protocol](https://socialneuron.com/system-prompt.txt)
|
|
284
344
|
|
|
285
345
|
## License
|
|
286
346
|
|