LF Content MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
LF Content MCP
A minimal, security-focused Model Context Protocol server for AI-assisted editorial content ingestion.
Features
Draft-only article creation.
Human-controlled editorial review and publication.
Official MCP SDK and Zod validation.
Stdio and Streamable HTTP transports.
Bounded retries for transient gateway failures.
No direct database access.
No automatic publication.
Related MCP server: NexusPress Draft MCP
Architecture
MCP client
|
LF Content MCP
|
Local HTTP gateway adapter
|
Editorial CMS gateway
|
Content databaseThe MCP server is independent of the CMS implementation. The gateway is responsible for authorization, persistence, audit logging and durable idempotency.
Installation
Requires Node.js 22 or later.
npm ci
npm run build
npm testConfiguration
Copy the example configuration:
cp .env.example .env
chmod 600 .envConfigure the following environment variables:
Variable | Purpose |
LF_CONTENT_API_URL | Loopback URL of the editorial gateway |
LF_CONTENT_API_TOKEN | Gateway bearer credential |
MCP_HTTP_TOKEN | Independent HTTP transport credential |
MCP_HTTP_PORT | HTTP listener port, defaults to 33181 |
Gateway URLs must use HTTP on a loopback address. Remote gateways require a separately secured local relay.
HTTP transport requires a 64-character lowercase hexadecimal token.
Generate an independent HTTP token using:
openssl rand -hex 32Never commit actual credentials or infrastructure configuration.
Running with stdio
node --env-file=.env dist/index.jsRunning with Streamable HTTP
node --env-file=.env dist/httpIndex.jsThe HTTP transport listens on loopback only.
Default MCP endpoint:
http://127.0.0.1:33181/mcpThe transport validates authorization, Host and Origin.
MCP tool
content_draft_create
Creates an unpublished editorial article draft.
Required inputs:
title
lead
body_markdown
Optional inputs:
seo_title
seo_description
tags
Successful response:
{
"id": "draft-record-id",
"status": "draft",
"published": false
}The tool cannot publish, delete, list or modify existing content. Callers cannot select the publication status or override the author identity.
Gateway contract
The adapter submits JSON using HTTP POST and bearer authorization to the configured local gateway endpoint.
The gateway must enforce draft-only persistence and return the draft result contract.
Repeated identical requests must be safe. Durable idempotency is a gateway responsibility.
Reliability
Transient transport failures and HTTP 502, 503 and 504 responses are retried with bounded backoff.
Retries preserve the original payload. Application errors and redirects are not retried.
A persistent outage may still cause a tool failure.
Security
This server is intended for public editorial material. Customer records, credentials and confidential information are outside its permitted editorial scope.
Do not expose the HTTP listener directly to the internet. Use an authenticated and appropriately secured transport.
The CMS gateway must independently enforce authorization, validation and publication restrictions.
Testing
npm testThe test suite uses local mock gateways and does not require access to a production CMS or database.
Project scope
This project implements editorial content ingestion. It is not an autonomous editorial agent, research agent or content distribution system.
Human editorial approval remains mandatory.
License
Apache License 2.0.
Copyright 2026 Lhotse Finance.
See LICENSE and NOTICE for details. See CONTRIBUTING.md for contribution requirements.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage MaynorAI cloud article drafts with an API key. Does not publish to social platforms.
Draft, edit, organise, schedule and publish a Writavo Site's content from any AI assistant.
Agent control plane for multi-site content ops: research, drafts, review, CMS draft delivery.
Read, create, publish, and delete WritingTools.ai editor drafts from your AI assistant.
1
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI to import, format, check originality, and save articles as drafts to WeChat Official Account draft box, without auto-publishing.439 npmMIT
- FlicenseBqualityDmaintenanceEnables creating and updating NexusPress article drafts from MCP-compatible clients, automatically filling dependent fields and saving changes without ever publishing.7-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to inspect a WordPress blog, reuse existing media and taxonomy, prepare and update drafts, and publish only after explicit human approval through a narrow, auditable interface.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants in MCP clients to read, write, edit, and manage blog posts, upload images, save drafts, and publish content privately by default with human-controlled public release.1165 PyPI2MIT