Dev.to WebDev ๐Ÿ›  Dev ๐Ÿ‘ 2 ๐Ÿ“– 4 min read

What I learned forking self-hosted Postiz and hosting an MCP server for scheduling

I'm the maker of PulsePost, a hosted social media scheduler. This is a practitioner's write-up, not a launch post with traction numbers I can't back. PulsePost is built on open-source Postiz (AGPL-3.0). The source of the

I'm the maker of PulsePost, a hosted social media scheduler. This is a practitioner's write-up, not a launch post with traction numbers I can't back. PulsePost is built on open-source Postiz (AGPL-3.0). The source of the version we run, including our modifications, is at nindzia.com/source.

Why fork a self-hosted scheduler

Postiz already does the hard part: a calendar, per-network composers, and a backend that talks to social APIs. I wanted a hosted product with simple pricing, and a way for an AI client โ€” Claude, ChatGPT, Cursor, or similar โ€” to draft and schedule posts in that same calendar.

I did not start a new scheduler from scratch. I ran the self-hosted Postiz stack and changed it. The public archive is a tarball (currently pulsepost-core-20261126.tar.gz, 203 files) that includes the licence, the exact upstream version, every modified file, and notes on how to apply them. The marketing site, importer and similar add-on services are separate programs and stay proprietary, which the /source page states.

The AGPL lesson I got wrong at first

AGPL section 13 is blunt if you run a modified program as a network service: you have to offer the source of the version you actually run, at no charge. Pointing users at the unmodified upstream repository is not that offer.

I made that mistake early. It is easy to link the word "open source" to the original project and feel done. The useful offer is narrower and more honest: here is the upstream version we started from, and here are our modifications. That is what nindzia.com/source is for.

A practical consequence follows from that. If a new feature should remain closed, it should not be patched into the AGPL process. We built Preflight Guard โ€” a free, no-account checker for per-network limits โ€” as a separate HTTP service that talks to the product over the public API. The calendar and the MCP server live in the modified core, so they are in the tarball.

The MCP endpoint

Postiz already ships an MCP server in the open-source app. PulsePost's job was to run it as a hosted endpoint that an agent can actually connect to.

The public URL is https://nindzia.com/mcp (Streamable HTTP). The same server also answers at /api/mcp. Clients that support OAuth open a "Sign in with PulsePost" screen; they register themselves, and you click Authorize. Scripts and tools such as n8n can send Authorization: Bearer <API key> instead. The MCP server, the public REST API and webhooks are included on every plan, including Starter at $9/month. Setup notes for Claude, Cursor, VS Code, ChatGPT, Windsurf and n8n are at nindzia.com/ai-agents. The server is listed in the official MCP Registry as com.nindzia/pulsepost.

Once connected, an agent can list your channels, read each network's posting rules, create drafts, schedule a post for a time you name or post immediately, list what is queued between two dates, change settings or delete a post that has not gone out yet, and pull media from a public URL into the library. Everything lands in the PulsePost calendar, where you can preview, edit or cancel it. PulsePost itself has no built-in AI: the "AI" is the client you already use.

A prompt that behaves well:

Look at my connected channels, draft a short post about <topic> for Bluesky and X, keep each post within that network's limit, and schedule them for tomorrow 9:00 in my timezone. Don't publish anything โ€” drafts only.

What I actually learned

Limits are not one number. A draft that fits Bluesky (graphemes) can fail or look truncated on X (weighted characters). Hashtag and link rules differ too. The useful first tool call is "read this network's rules," not "publish this text everywhere."

Agents will publish if you let them. "Schedule this" is easy to interpret as "post now." Say "drafts only," then review the calendar. Treat the API key like a password; it can publish as you.

OAuth discovery is path-sensitive. Several clients look up authorization-server metadata with the path-aware well-known convention, not only at the site root. For PulsePost, https://nindzia.com/.well-known/oauth-authorization-server is a 404, while https://nindzia.com/.well-known/oauth-authorization-server/mcp-oauth-dynamic and https://nindzia.com/.well-known/oauth-protected-resource/mcp return the documents. If you put a hosted MCP server behind a reverse proxy, test the exact URLs your clients will request, not just /mcp.

The proxy has to stream. Streamable HTTP needs chunked responses. A proxy that buffers the whole body will make the server look dead.

A bind-mount fork is workable and messy. Changing compiled frontend chunks and backend modules on top of a pinned image is fast to ship and awkward to maintain. The tarball is the form we actually edit. A clean public git history would be nicer; we do not have one yet.

I use this stack on our own brand channels. I don't have an independent customer story to tell here, and I will not invent one. If you try the MCP connection or the source archive and something is wrong, tell me โ€” especially if a client's OAuth discovery still fails, or if a character limit in the rules looks stale.

Further reading: nindzia.com ยท Connect an agent ยท Source (AGPL-3.0) ยท Preflight Guard

๐Ÿ“ฐ Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.