MCP Publish

Reviewed publish step for AI agent drafts sent over MCP

Community 0 826/wk Apache-2.0 v0.2.0

Installation

pnpm add payload-mcp-publish

About

MCP Publish lets an AI agent write drafts through MCP while a person decides what goes live. The agent calls a publish tool for one draft at a time, and the tool first returns every field that differs from the live version with both values in full. The owner then publishes with a digest that ties the call to that exact draft and live version, so a change made in between is refused.

The package also guards against an agent undoing an owner's decision. A document the owner unpublished stays hidden from MCP reads and rejects further agent updates. API keys get no publish rights by default, and only the collections on an allowlist can publish from this path.

Package info

Package name
payload-mcp-publish
Latest version
0.2.0
Unpacked size
84 kB
License
Apache-2.0
Weekly downloads
826
Last publish
Nov 26, 2026

More from anatolykoptev

View profile

Generates Open Graph share cards from Payload content with versioned URLs

Similar plugins

More in Devtools

Markdown fields with a CodeMirror editor, styled directives and MCP access for AI agents

Typed custom RPC endpoints for Payload with shared schemas and a type-safe client

Logs collection create, update, delete and read operations

Exposes Payload collections and globals to AI agents through the Model Context Protocol

Chat agent that composes and edits Payload pages from your block library

Lets AI assistants read and edit Payload content over MCP with scoped API keys