content-publish-engine-mcp
Provides publishing tools for the CSDN platform, including preflight checks, publish job creation and execution, and verification via an authorized local bridge or custom transport. Supports mock and real modes.
Provides publishing tools for the Juejin platform, including preflight checks, publish job creation and execution, and verification via an authorized local bridge or custom transport. Supports mock and real modes.
Provides publishing tools for the WeChat platform, including preflight checks, publish job creation and execution, and verification via an authorized local bridge or custom transport. Supports mock and real modes.
Provides publishing tools for the Zhihu platform, including preflight checks, publish job creation and execution, and verification via an authorized local bridge or custom transport. Supports mock and real modes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@content-publish-engine-mcpPreflight my WeChat draft and show official rule coverage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
content-publish-engine
An experimental TypeScript engine for governed AI content production and multi-platform publishing in the Chinese content ecosystem.
Status:
v0.1 experimental. The deterministic production, validation, persistence, and lifecycle primitives are usable. Real publishing requires an authorized local bridge or a custom transport and must be validated against each platform's current rules.
What it provides
A frozen production contract that combines evidence, product, content-type, channel, expression, and promotion rules.
Deterministic output checks for structure, traceable facts, prohibited terms, CTA integrity, URLs, and cross-channel similarity.
WeChat, Juejin, CSDN, and Zhihu adapter contracts with
mock, disabled, and real modes.Idempotent publish jobs, platform locks, persisted results, verification backoff, liveness states, and reliability metrics.
Qwen, DeepSeek, and Doubao through an OpenAI-compatible provider interface.
A standalone MCP server exposing publish preparation, execution, verification, and liveness tools.
Related MCP server: mcp-server-wechat-mp
Safety model
Real publishing is disabled by default. Without DIRECT_PUBLISH_ENABLED=true, adapters run in mock mode unless DIRECT_PUBLISH_MOCK=false explicitly disables publishing. The built-in bridge transport only accepts loopback hosts and requires a bearer token.
The project does not ship browser selectors, cookies, platform credentials, or mechanisms intended to bypass CAPTCHA or platform risk controls. Use only accounts, APIs, and automation methods you are authorized to operate.
Requirements
Node.js 20 or newer
npm 10 or newer recommended
Install and verify
npm ci
npm run checknpm run check runs TypeScript checks, JavaScript syntax checks, tests, a clean build, and import checks against the built package.
Package entry points
import { compileProductionContract } from "content-publish-engine/content-production";
import { getCalendarMonthBounds } from "content-publish-engine/free-production";
import { getPublishAdapter, setDefaultTransport } from "content-publish-engine/publish-engine";
import { createBrowserPublishJobStore } from "content-publish-engine/platforms";
import { callAiProvider } from "content-publish-engine/ai-provider";The repository can be used directly after npm run build. Publishing to npm is optional; before doing so, add the final GitHub repository, bugs, and homepage metadata to package.json.
Mock publishing
import { getPublishAdapter } from "content-publish-engine/publish-engine";
const adapter = getPublishAdapter("juejin");
const auth = await adapter.checkAuth();
// Mock mode is the default and never writes to an external platform.Real publishing
The default BridgeTransport calls an authorized local service:
DIRECT_PUBLISH_ENABLED=true
WECHATSYNC_BRIDGE_URL=http://127.0.0.1:9528
WECHATSYNC_BRIDGE_TOKEN=replace-with-a-local-secretThe bridge must implement POST /auth/check, POST /publish, and POST /publish/verify. A custom transport is usually the simplest integration path; see examples/custom-transport.mjs and docs/adapter-guide.md.
MCP server
From a source checkout:
npm run mcp:startFrom a built or installed package:
content-publish-engine-mcpThe server persists jobs and publish results to .data/publish-jobs.json by default. Override it with PUBLISH_JOB_STORE_PATH.
Available tools:
platform_auth_probepublish_content_preflightpublish_job_createpublish_job_runpublish_job_getpublish_job_verifypublish_liveness_checkpublish_verification_due
publish_content_preflight does not score writing quality or impose default limits on length, promotional wording, technical depth, or external links. It checks only required payload fields and platform-specific rules backed by identified official sources. Every result includes an officialRuleCoverage status so callers can distinguish verified coverage from missing public documentation. See docs/official-platform-rules.md.
Content media protocol
content-media://media-asset-<uuid> references can be rewritten to HTTPS URLs through rewriteContentMediaSources. The resolver is provided by the host application; the package does not assume a specific media backend.
Configuration
Copy .env.example and supply only the providers and publishing mode you use. Never commit the resulting .env file. See docs/architecture.md for component boundaries and durability behavior.
Known limitations
Platform adapters define payload validation and lifecycle behavior; real platform actions and final policy enforcement still require a bridge or custom transport.
Official rule coverage is intentionally partial where a platform does not publish a stable, machine-verifiable publishing contract.
No live platform credentials are exercised in CI.
File-backed job persistence is intended for a single local process or low-volume deployment, not distributed workers.
Provider output quality and platform policy compliance remain the operator's responsibility.
Contributing and security
See CONTRIBUTING.md before opening a pull request. Report vulnerabilities according to SECURITY.md, not through a public issue.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI tools to automatically publish articles to WeChat Official Accounts, supporting Markdown-to-HTML conversion, image handling, and both preview and official publishing modes.253MIT
- FlicenseAqualityFmaintenanceEnables AI agents to publish articles to WeChat Official Account (微信公众号). Supports image upload, draft creation, and publishing via standardized MCP protocol.51
- AlicenseAqualityBmaintenanceA local MCP service for safely preparing, validating, and executing multi-platform social media auto-publishing, with dry-run mode and real adapter for Douyin.61MIT
- Flicense-qualityBmaintenanceAI-powered content automation MCP server that enables researching topics, generating articles, formatting WeChat HTML, creating covers, and publishing drafts to WeChat Official Accounts.
Related MCP Connectors
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Social media MCP: publish, schedule & analyze posts on TikTok, Instagram, YouTube, LinkedIn & X
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/1736280642-Star/content-publish-engine'
If you have feedback or need assistance with the MCP directory API, please join our Discord server