# AutomateLab-tech/content-distribution-mcp [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/AutomateLab-tech/content-distribution-mcp  
**GitHub Stars:** 4  
**npm Downloads (last month):** 364  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/automatelab-tech-content-distribution-mcp

## Description
Publish one piece of content to DEV.to, Hashnode, GitHub Discussions, Reddit, Bluesky, LinkedIn, Medium and Twitter with idempotent state and per-platform adaptation.

## Tools
Capabilities this server exposes over MCP:

- **post_publish** — Publish one or more channel variants immediately. Side effects: makes external HTTP requests to each channel platform; writes publish state to the local YAML backend; requires valid credentials in the named profile. Idempotent on (content.id, channel) — re-running with the same IDs returns cached state without re-posting. Use post_publish for immediate-only delivery; use post_schedule when any variant needs a future schedule_at; use post_drain to flush a previously built queue.
- **post_schedule** — Enqueue channel variants with schedule_at for future publishing; variants without schedule_at are published immediately. Side effects: writes entries to the local YAML schedule store; makes external HTTP requests for any immediately-published variants; requires credentials in the named profile. Idempotent on (content.id, channel). Use post_schedule when any variant needs a future publish time; use post_publish for all-immediate delivery; use post_drain to process the scheduled queue later.
- **post_drain** — Fire all scheduled posts due at or before the given time boundary. Side effects: makes external HTTP requests for each due entry; writes results to the YAML backend. Idempotent — already-published (content.id, channel) pairs are skipped; no-op when no entries are due. Safe to call from cron. Use post_drain on a recurring schedule to flush the queue; use post_publish or post_schedule to add new content; use post_status to inspect results after drain runs.
- **post_status** — Return publish state for content pieces. Filters by content_id, channel, or both; returns all entries when neither is given. Side effects: read-only; no external HTTP calls; no auth needed. Deterministic given unchanged backend state. Use post_status to inspect what has been published, what is queued, or what errored; use post_publish, post_schedule, or post_drain to change state.
- **post_unpublish** — Best-effort delete of a published post on the target platform. Side effects: makes an external HTTP DELETE or update request; DEV.to sets published=false (soft delete); platforms without a delete API return success=false without error. Non-idempotent — calling on an already-deleted URL may return a platform 404. Use post_unpublish to retract a live post; use post_status first to obtain the live_url; use post_publish to re-publish after an unpublish.
- **channel_hints** — Return static per-channel metadata: character limits, Markdown support flags, tag vocabulary, and CTA placement rules. Side effects: read-only; no external HTTP calls; no auth needed. Fully deterministic — returns compile-time adapter constants. Use channel_hints before composing a variant body to understand channel constraints; use post_publish or post_schedule once you have a valid variant.
- **profile_list** — Return all distribution profile names configured in the YAML backend. Side effects: read-only; no external HTTP calls. Deterministic given backend state. Use profile_list to discover available profiles before calling post_publish, post_schedule, or subreddit_list; then pass the chosen name as profile_name.
- **subreddit_list** — Return all subreddits in the Subreddit Catalog with cooldown windows, flair vocabulary, and last-posted metadata. Optionally filtered to subreddits allowed by the named profile. Side effects: read-only; no external HTTP calls. Deterministic given backend state. Use subreddit_list to select a subreddit and obtain flair IDs before composing a reddit: channel variant; pass flair in variant.extras.flair.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "content-distribution-mcp": {
    "command": "npx",
    "args": ["-y","@automatelab/content-distribution-mcp"]
  }
}
```

## Documentation

## What AutomateLab-tech/content-distribution-mcp MCP server does

AutomateLab-tech/content-distribution-mcp MCP server accepts a core content item and one or more channel variants, then sends those variants to supported publishing destinations. Automatic API publishing is available for DEV.to, Hashnode, GitHub Discussions, Reddit, and Bluesky. LinkedIn, Medium, and Twitter/X use a browser fallback that returns a compose URL and a `needs_browser` result instead of publishing through an API.

The server keeps distribution state in YAML files under the local distribution directory. It records published, queued, and failed channel entries, and uses the `(content.id, channel)` pair as its idempotency key. Repeating an already completed publish returns the stored state rather than making another platform request.

## How it works

An MCP client or agent creates channel variants with the appropriate title, body, tags, canonical URL, and optional extras. The agent is responsible for adapting the content; the server does not make LLM calls or generate copy. `channel_hints` exposes channel limits, Markdown support, tag vocabulary, and call-to-action placement rules to guide that work.

Use `post_publish` when every variant should go out immediately. Use `post_schedule` when at least one variant has a future ISO-8601 `schedule_at` value; variants without a schedule are sent immediately. `post_drain` processes scheduled entries due at or before a supplied time, making it suitable for recurring cron execution. `post_status` reads the resulting state without authentication or external requests.

Reddit distribution can use the subreddit catalog to account for cooldown windows, flair vocabulary, and last-posted metadata. `profile_list` lists configured profile names, while `subreddit_list` can filter catalog results according to a selected profile.

## Setup and configuration

AutomateLab-tech/content-distribution-mcp runs with Node.js 18 or later and is installed with `npx @automatelab/content-distribution-mcp`. It uses the standard input/output MCP transport and can be added to Claude Code, Claude Desktop, Cursor, Windsurf, n8n, or another MCP host.

Distribution profiles are stored in `~/.distribution-mcp/profiles.yaml`. Profiles can contain credentials for DEV.to, Hashnode, GitHub Discussions, Reddit, and Bluesky, along with permitted subreddit names. Only credentials for intended channels need to be configured. LinkedIn, Medium, and Twitter/X do not require credentials because their adapters return browser compose links.

The YAML backend is selected by default. `DISTRIBUTION_BACKEND` supports the `yaml` backend in the documented version, and `DISTRIBUTION_BACKEND_DIR` changes the location of YAML state files from `~/.distribution-mcp`. Scheduled entries are stored in `scheduled.yaml` within that directory.

## Tools and capabilities

- `post_publish`: Send immediate variants and reuse cached results for repeated content-channel pairs.
- `post_schedule`: Queue future variants and immediately publish variants without a schedule.
- `post_drain`: Publish all due scheduled entries and skip entries already completed.
- `post_status`: Inspect state by content ID, channel, both, or neither.
- `post_unpublish`: Attempt to retract a live post using a platform delete or update request.
- `channel_hints`: Read static channel constraints and formatting metadata.
- `profile_list`: Discover available YAML distribution profiles.
- `subreddit_list`: Inspect subreddit rules and posting metadata.

## Limitations and notes

The server makes external HTTP requests for publishing and unpublishing, so valid credentials are required in the selected profile for API-backed channels. Reddit is additionally subject to the configured catalog and community rules. `post_unpublish` is best effort: DEV.to is unpublished by setting `published=false`, while platforms without a delete API report an unsuccessful result. Unpublishing is not idempotent and may encounter a platform 404 when the URL is already gone.

AutomateLab-tech/content-distribution-mcp does not provide a separate state database; the documented backend is YAML only. Scheduled publishing requires a later `post_drain` call, either from an agent or a recurring job. Version 2.2.0 uses the `post_*` and related tool names, so clients or prompts using older flat names must be updated.

_Full upstream README: https://allmcps.com/mcp/automatelab-tech-content-distribution-mcp/readme_

