publish-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
social-publish
Production-oriented social content publishing engine for Hermes Agent (MCP) with human-in-the-loop approval.
Stack
Node.js 22 · TypeScript strict · MCP SDK · Fastify · PostgreSQL · Prisma · Vitest · Pino · Docker Compose
Phase 1: LinkedIn text via POST /v2/ugcPosts (validated) and GET /v2/userinfo.
Related MCP server: mcp-server-linkedin
Quick start (local)
cd C:\Users\parth\social-publish
cp .env.example .env
# Edit .env — set MCP_SERVICE_TOKEN, ADMIN_API_TOKEN, APPROVAL_API_KEY (min 16 chars)
docker compose -f docker/compose.yml up -d postgres
npm install
npm run db:generate
npm run db:migrate # or: npx prisma migrate deploy (production)
npm run build
npm test
npm run dev:apiCreate a LinkedIn destination account (uses MCP token):
curl -X POST http://127.0.0.1:8090/v1/admin/platform-accounts ^
-H "Authorization: Bearer %ADMIN_API_TOKEN%" ^
-H "Content-Type: application/json" ^
-d "{\"platform\":\"linkedin\",\"account_key\":\"YENWoZekVM\",\"display_name\":\"Deepti Kaskar\"}"Approval UI: http://127.0.0.1:8090/approval/
Safety defaults
LIVE_PUBLISH_ENABLED=false— dry-run only (no LinkedIn POST).allow_mcp_triggerdefaults false on publication authorization.No live LinkedIn calls in tests.
Ambiguous LinkedIn timeouts →
ambiguousjob, no auto-retry.
MCP server
npm run build -w @social-publish/publish-mcp
# stdio entry: apps/publish-mcp/dist/index.jsSee docs/hermes-mcp-integration.md.
Media (local filesystem)
Place files under data/media/ and reference storage_key relative to that root (e.g. sessions/demo/photo.jpg).
Docker (API + Postgres)
docker compose -f docker/compose.yml up --buildRun migrations inside the API container before first use (npm run db:migrate).
Workspace layout
Path | Role |
| Fastify, approval UI, credentials |
| Hermes stdio MCP tools |
| Zod MCP/HTTP schemas |
| Domain services |
| Prisma |
| LinkedIn adapter |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Schedule and publish LinkedIn posts to profiles and company pages from AI agents.
Publish, schedule and boost LinkedIn posts from Claude. Hosted, OAuth, no API key.
Publish and schedule LinkedIn posts from your AI assistant.
Draft LinkedIn posts in your voice, then schedule or publish them through LinkedIn's official API.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with LinkedIn for posting, commenting, liking, and managing connections via OAuth2 authentication.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to publish posts, images, videos, and articles to LinkedIn.10MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to draft, format, and manage LinkedIn posts through a review pipeline, with human approval via a web UI before publication.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to audit professional profiles, check policy compliance, preview posts, and publish explicitly confirmed text posts through LinkedIn's official API.MIT