惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
V
Visual Studio Blog
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
B
Blog
I
InfoQ
博客园 - 三生石上(FineUI控件)
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs
H
Help Net Security
博客园 - Franky
宝玉的分享
宝玉的分享
博客园 - 司徒正美
C
Check Point Blog
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Launching content-distribution-mcp: one finished post, ei...
Artyom Rabzo · 2026-05-20 · via DEV Community

Artyom Rabzonov

We just shipped content-distribution-mcp: an MCP server that takes one finished post and routes it to eight developer-facing channels.

It makes zero LLM calls. Adapter I/O only. Whatever model your MCP host runs is the model that writes the per-channel copy — Claude, GPT-4, Gemini, a local Llama, or none at all if you bring your own text.

pip install content-distribution-mcp

Enter fullscreen mode Exit fullscreen mode

Why we built this

Posting one blog article to DEV.to, Hashnode, GitHub Discussions, Bluesky, Reddit, LinkedIn, Twitter, and Medium is roughly 90 minutes of paste-and-fiddle per release. We were doing that by hand. So we wrote an MCP that handles the I/O: auth, idempotency, scheduling, retries, the Reddit anti-spam gate, and the manual-channel browser pre-fill.

What's in the box

Eight MCP tools — and that is the full surface:

Tool Purpose
publish Immediate publish; idempotent on (content.id, variant.channel)
schedule Queue variants for a future schedule_at
drain Fire any due scheduled posts
status Per-variant state for a content piece
unpublish Best-effort delete (DEV.to / GitHub Discussions only)
hints Static per-channel metadata (char limits, tags, canonical-URL support)
list_profiles Configured Distribution Profiles
list_subreddits Curated Subreddit Catalog entries

Eight channels, three tiers

Channel Tier Notes
DEV.to Auto Forem API, native canonical_url
Hashnode Auto GraphQL, native originalArticleURL
GitHub Discussions Auto Per-repo GraphQL, footer for canonical
Bluesky Auto atproto SDK, canonical appended to post text
Reddit Auto-gated Per-subreddit cooldown, 5/day global cap, self-promo ratio
Medium Manual Playwright pre-fill + mark-live CLI
LinkedIn Manual Personal + company-admin compose, plain-text draft
Twitter / X Manual Free-tier API unusable; compose URL + plain-text draft

The three manual channels exist because their APIs are either gone (Twitter free tier), paid-tier (LinkedIn Marketing API), or never existed (Medium). The MCP opens a pre-filled compose tab and the operator clicks Submit. Less elegant, still beats the manual copy/paste workflow.

The Reddit gate

Reddit punishes anyone who treats it like a content pipe. The adapter enforces four rules before posting:

  1. Per-subreddit cooldown — the last live post-log entry for that sub
  2. 5-per-day global cap — over the operator's full Reddit history with this MCP
  3. Self-promo ratio — over the last 30 posts in that subreddit, your own-domain links must stay under the curated max_self_link_pct
  4. Account age + karma — against minimums in the curated Subreddit Catalog

If any rule fails, publish returns state=failed with the specific reason. No bypass flag. If you want to post anyway, write a new entry in the Subreddit Catalog.

YAML or Notion: pick one

Two backends implement the same StateBackend Protocol:

  • YamlBackend — four YAML files under ~/.distribution-mcp/. Zero config; right for solo/local use.
  • NotionBackend — three Notion databases (Distribution Profiles, Subreddit Catalog, Post Log). Right for team/agency use; operators can audit the queue in Notion's UI.

You swap them with a single constructor argument. No caller code changes.

Works with any MCP host

The server speaks standard MCP (stdio or SSE) and has zero Anthropic-specific code:

grep -ri "anthropic" src/  # returns nothing

Enter fullscreen mode Exit fullscreen mode

Tested with Claude Code, Cursor, n8n's MCP Client node, and the plain mcp Python client. If your host can talk MCP, it can talk to this.

Install

pip install content-distribution-mcp

# optional extras
pip install "content-distribution-mcp[browser]"
pip install "content-distribution-mcp[bluesky]"
playwright install chromium  # only if you use the browser channels

Enter fullscreen mode Exit fullscreen mode

Then wire into your MCP host config:

// .claude/mcp.json
{
  "mcpServers": {
    "content-distribution": {
      "command": "content-distribution-mcp",
      "args": ["serve"]
    }
  }
}

Enter fullscreen mode Exit fullscreen mode

How we use it ourselves

This very post is the dogfood. The Ghost blog post is the canonical: https://automatelab.tech/content-distribution-mcp/. The DEV.to article you're reading came out of the same publish tool with a devto:main variant. Bluesky was the second auto-channel. The browser-tier channels (LinkedIn / Twitter / Reddit) got their compose tabs pre-filled by the same MCP run.

Links

MIT licensed. Issues, PRs, or any "I tried it and X broke" notes are welcome.