opencontent-mcp
Allows planning, scheduling, and publishing Facebook page posts through openContent, including uploading media, reading statistics, and managing posts.
Allows planning, scheduling, and publishing Instagram posts through openContent, including uploading images/videos, reading post statistics, and managing posts.
Click on "Deploy 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., "@opencontent-mcpUpload 'sale.jpg' and schedule it for Instagram tomorrow."
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.
opencontent-mcp
English: A small stdio bridge to the MCP server of openContent, a self-hosted Markdown editor with a social media planner for Instagram and Facebook. It connects to openContent over Streamable HTTP with a bearer token, passes all remote tools through unchanged, and adds one local tool to upload image or video files from disk. Start it with npx -y github:IonFlux84/opencontent-mcp and set OPENCONTENT_TOKEN. The rest of this document is in German.
Mit dieser Brücke kann ein KI-Agent über das Model Context Protocol (MCP) mit openContent arbeiten: Beiträge für Instagram und Facebook planen, Grafiken hochladen, sofort senden, Statistiken lesen und Artikel schreiben.
Die Brücke läuft lokal als stdio-Server. Sie meldet sich mit deinem Schlüssel bei openContent an, holt dort die Werkzeugliste und reicht jedes Werkzeug 1:1 durch. Kommen in openContent neue Werkzeuge dazu, sind sie ohne Update der Brücke da. Zusätzlich bringt sie social-datei-hochladen mit, damit dein Agent eine Datei von seinem Rechner an einen Beitrag hängen kann.
Voraussetzungen
Node.js 18 oder neuer (
npxgehört dazu)Ein openContent mit MCP-Server, Standard ist
https://content.huggenberg.dev/mcpEin Schlüssel aus openContent (siehe unten)
Related MCP server: ClaudeMetaMCP
Schlüssel in openContent anlegen
In openContent anmelden.
System → Zugänge für Agenten öffnen.
Einen neuen Zugang anlegen, Namen vergeben (zum Beispiel „Grok“) und bei Social senden wählen. „Senden“ schliesst Planen und Lesen ein. Wer nur planen soll, bekommt „planen“, wer nur schauen soll, „lesen“. Bei Artikel wählst du „keine“, wenn der Agent nur Social machen soll.
Den Schlüssel kopieren. Er wird nur einmal angezeigt.
Einbinden
Die meisten MCP-Clients nehmen eine Konfiguration in dieser Form:
{
"mcpServers": {
"opencontent": {
"command": "npx",
"args": ["-y", "github:IonFlux84/opencontent-mcp"],
"env": {
"OPENCONTENT_TOKEN": "dein-schluessel-aus-opencontent"
}
}
}
}Läuft dein openContent unter einer anderen Adresse, gib sie zusätzlich mit:
"env": {
"OPENCONTENT_TOKEN": "dein-schluessel-aus-opencontent",
"OPENCONTENT_URL": "https://dein-server.example/mcp"
}Die Adresse muss mit https:// beginnen. Nur für Tests auf dem eigenen Rechner geht auch http://localhost.
Zum Ausprobieren in der Kommandozeile:
OPENCONTENT_TOKEN=dein-schluessel npx -y github:IonFlux84/opencontent-mcpDie Brücke wartet dann auf MCP-Nachrichten über stdin. Meldungen stehen auf stderr.
Werkzeuge
Dein Agent sieht immer alle Werkzeuge. Was er davon nutzen darf, hängt von den Rechten des Schlüssels ab (Spalte „Recht“). Fehlt das Recht, antwortet das Werkzeug mit einem Fehler, der das fehlende Recht nennt.
Social
Werkzeug | Was es tut | Recht |
| Verbundene Instagram-Konten und Facebook-Seiten mit Zustand und freien Plätzen der nächsten sieben Tage | lesen |
| Beiträge einer Ansicht: Warteschlange, Ideen, gesendet oder Fehler, auf Wunsch für einen Kanal | lesen |
| Ein Beitrag vollständig: Text, Text je Kanal, Medien, Status, Fehler, Zahlen | lesen |
| Summen und beste Beiträge der letzten 7, 30 oder 90 Tage | lesen |
| Legt einen Beitrag an oder ändert ihn | planen |
| Setzt den Termin: nächster freier Platz oder eine feste Zeit (Europe/Berlin) | planen |
| Liest einen ganzen Contentplan als geplante Beiträge ein, standardmässig als Probelauf | planen |
| Hängt ein Bild oder Video an einen Beitrag, als base64 ( | senden |
| Nur in dieser Brücke: liest eine lokale Datei ( | senden |
| Entfernt ein Medium von einem Beitrag | senden |
| Sendet einen Beitrag sofort, wie der Knopf „Jetzt senden“ | senden |
| Löscht einen Beitrag in openContent. Was schon gesendet ist, bleibt bei Instagram und Facebook stehen. | senden |
Artikel
Werkzeug | Was es tut | Recht |
| Alle Artikel mit Kennung, Titel, Stand und Wortzahl | lesen |
| Ein Artikel vollständig als Markdown | lesen |
| Speichert einen Artikel oder legt einen neuen an. Veröffentlicht wird damit nichts. | schreiben |
social-datei-hochladen im Detail
{ "id": 42, "pfad": "grafiken/herbst.png", "alt": "Drei Darts im Triple 20" }id: Kennung des Beitragspfad: absolut oder relativ zum Arbeitsverzeichnis der Brückealt: Bildbeschreibung, optional
Erlaubt sind PNG, JPEG, WebP, MP4 und MOV bis 20 MB. Den Typ erkennt die Brücke am Inhalt der Datei, nicht an der Endung. Grössere Dateien lädst du mit social-medium-hochladen über eine öffentliche https-Adresse hoch.
Grenzen
Kanäle verbindest du nur in der Oberfläche von openContent, nicht über MCP.
Storys gehen ohne Sticker (also ohne Link, Umfrage oder Erwähnung). Das erlaubt die Schnittstelle von Meta nicht.
Instagram nimmt höchstens 100 Beiträge in 24 Stunden pro Konto an.
Medien als Datei oder base64 bis 20 MB, grössere per https-Adresse bis 50 MB.
Zeiten gelten in Europe/Berlin.
Sicherheit
Behandle den Schlüssel wie ein Passwort. Er gehört nicht in Repos, Screenshots oder Chats.
Ein Schlüssel mit „senden“ kann öffentlich posten, sofort und ohne Rückfrage. Was dein Agent liest (Kommentare, Webseiten, fremde Texte), kann ihn zu Dingen verleiten, die du nicht willst. Gib „senden“ nur einem Agenten, dem du das zutraust, und schau regelmässig in die Warteschlange und das Protokoll.
Du kannst jeden Schlüssel jederzeit unter System → Zugänge für Agenten zurückziehen. Er gilt dann sofort nicht mehr.
Die Brücke schreibt den Schlüssel nie in Ausgaben oder Meldungen und schickt ihn nur per https an die eingestellte Adresse.
Fehlersuche
Meldung | Was hilft |
| Der Schlüssel ist nicht als Umgebungsvariable gesetzt. Prüfe den |
| Schlüssel falsch kopiert oder zurückgezogen. Lege einen neuen an. |
| Dem Schlüssel fehlt das Recht für dieses Werkzeug, zum Beispiel „Social: senden“ für Uploads und sofortiges Senden. Lege unter System einen Schlüssel mit diesem Recht an. |
| Adresse prüfen ( |
| Die Datei ist kein PNG, JPEG, WebP, MP4 oder MOV. |
| Datei verkleinern oder per https-Adresse mit |
Meldungen der Brücke stehen auf stderr und beginnen mit [opencontent-mcp]. Bei den meisten Clients findest du sie im Log des MCP-Servers.
npx merkt sich heruntergeladene Pakete. Holt dein Client nach einem Update noch die alte Version, lösche den Ordner ~/.npm/_npx und starte den Client neu.
Entwicklung
npm install
npm testDie Tests starten einen nachgebauten openContent-Server auf localhost und prüfen das Weiterreichen von Werkzeugliste, Aufrufen und Fehlern, den Bearer-Schlüssel und den Datei-Upload.
Lizenz
MIT, siehe LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
Schedule and publish social posts across 9 platforms (Instagram, LinkedIn, X, TikTok, Facebook, Threads, Pinterest, Bluesky, Mastodon) straight from Claude, ChatGPT, Cursor, or any MCP client. Create, edit, and reschedule posts, upload media, and pull account and post analytics, follower demographics, and best-time windows. 20 tools, free on every plan.
Create, schedule, and publish social posts, manage accounts, and read analytics as MCP tools.
SocialFaktory (https://www.socialfaktory.com) is a social media MCP server that lets your AI agent run a brand's social content with you. It reads the brands, channels and media you already have, writes posts in the brand's own voice, prices and generates short video, takes a file you upload, composes one post per channel, schedules or sends it on TikTok, Instagram, YouTube, X, LinkedIn, Facebook and Pinterest, and reads the metrics back. It is a hosted remote server at https://www.socialfaktory.com/mcp (Streamable HTTP) with OAuth 2.1 sign-in and 20 tools. Install steps cover Claude Code, Claude Desktop, Cursor, VS Code, Codex CLI, Gemini CLI and Windsurf. You stay in control. Generating spends the credits in your wallet, and the agent is told to quote the price and ask you first. Posts are drafts until you send them, and nothing reaches a channel without the publish permission you grant on the consent screen, where you also pin the connection to one brand, cap monthly spend and choose when it expires. Generating and publishing need an active SocialFaktory plan. Not available through an agent yet: cloning a video from a link, and generating still images or carousels. Connecting a social channel is a browser sign-in and stays in the app. Docs: https://www.socialfaktory.com/docs/mcp
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceSocial media API and MCP server for AI agents that enables publishing to X, Instagram, LinkedIn, Reddit, Bluesky, and Threads from a single endpoint.13 npmMIT
- FlicenseAqualityBmaintenanceLocal MCP server for operating Instagram, Meta Ads, and Facebook Page from Claude Code via Meta's Graph API. Provides 20 tools for publishing, campaign management, and insights.20-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to post, schedule, thread, delete, and analyze social media posts across platforms like X, Bluesky, LinkedIn, and Instagram through a single MCP interface.2,215 npmMIT
- AlicenseBqualityAmaintenanceConnects an MCP-compatible agent to a real Instagram, WhatsApp, or Messenger inbox, exposing 29 tools, 11 playbook prompts, and 2 resources for reading and writing conversations, messages, contacts, templates, journeys, campaigns, comments, and tickets. Includes guided zero-key setup, plan recommendation, and destructive-action hints so cautious agents can confirm state-changing operations.3186 npmMIT