Digital Sovereignty for everyone

LH MCP General Abilities

LH MCP General Abilities exposes general-purpose, cross-post-type WordPress abilities over MCP. Where lh-mcp-developer-abilities covers the filesystem, runtime and diagnostics, and lh-query-library covers read-only SQL, this plugin covers the ordinary WordPress object layer: posts of any registered type, the post types themselves, and basic site information.

It both reads and writes, but writing is deliberately narrow. What the two authoring abilities may write is set per post type by a filterable rules array. Posts, pages and other content can only ever be drafts or pending, so publishing them stays a human act. Block-theme menus, template parts and synced patterns, which do nothing until they are published, may be published here, but only with edit_theme_options, only past guards that refuse a publish that would change the live site by itself, and with every write recorded in the audit trail.

Key features

  • Retrieve a single post by ID or slug, returned as both Markdown and raw block markup.
  • List posts of any registered post type, with pagination, status filtering and field subsetting.
  • Discover the registered public post types before querying them.
  • Author new drafts, and revise existing ones, from Markdown, HTML or block markup — never publishing posts or pages, never touching content that is already live.
  • Create and edit block-theme menus (wp_navigation), template parts and synced patterns (wp_block), with guards against silently changing the live header or footer.
  • Move a draft you no longer need to the trash, and restore it, with the same reach as revising: never a permanent delete, never live content.
  • On a multisite network, list-my-sites lists the sites you belong to, and the post abilities are marked as working on one site’s content (meta.site_scoped), so a cross-site layer such as LocalHero’s LH MCP Adapter Extensions can give them an optional site_id.
  • A slimmer discover-abilities, with category, search and detail options and an lh_mcp_general_abilities_discover_include filter for deciding which abilities are listed.
  • Discover and read MCP resource-typed abilities without a human attaching them by hand.

Install and setup

Network-activate the plugin. No configuration is required; abilities become available to any MCP connector whose authenticated account holds the required capability. LH Content Converter is an optional dependency used for content conversion — without it, post content can still be read raw but not rendered as Markdown, and the authoring abilities accept only block markup. LH Audit Trail is optional too; without it, design writes, trashes and restores are simply not logged.

Contents

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.