WP Manifestindependent plugin directory
manifest / social / mcp-abilities-scriptless-social-sharing

MCP Abilities - Scriptless Social Sharing

WordPress Abilities for Scriptless Social Sharing

by basicus · github.com/bjornfix/mcp-abilities-scriptless-social-sharing · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/bjornfix/mcp-abilities-scriptless-social-sharing/archive/refs/heads/main.zip

Readme

MCP Abilities – Scriptless Social Sharing

Inspect Scriptless Social Sharing settings and control automatic sharing buttons for an individual WordPress post through authenticated Abilities.

Tags: mcp, social-sharing, abilities-api

What It Does

MCP Abilities – Scriptless Social Sharing is an optional Adapter for the Scriptless Social Sharing plugin. It exposes the current settings, reports whether automatic buttons are disabled on a post, and updates that per-post state.

The Real Workflow

  1. Read the site-wide Scriptless Social Sharing settings when context is needed.
  2. Inspect the current per-post state before changing it.
  3. Enable or disable automatic sharing buttons for the exact post.
  4. Read the post state again whenever another workflow needs confirmation.

Why This Feels Different

The Adapter works with the supported plugin’s existing option and post-meta model. It does not replace the sharing plugin, recreate its frontend, or introduce a second settings store.

Before vs After

Before After
Open each post in the WordPress editor to inspect sharing state. Read the exact state through scriptless/get-post-sharing.
Toggle the per-post setting manually. Apply the same reversible change through one authenticated Ability.
Assume a database write worked. Report success only when the requested state is present afterwards.

Who It Is For

  • Sites already using Scriptless Social Sharing.
  • WordPress automation clients that coordinate article publication and sharing controls.
  • Operators who want a small Adapter rather than a second social-sharing system.

Requirements

  • WordPress 6.9 or later.
  • PHP 8.0 or later.
  • The WordPress Abilities API.
  • Scriptless Social Sharing active on the same WordPress installation.
  • An authenticated user with manage_options.

Documentation

The public product page is MCP Abilities – Scriptless Social Sharing. The stable package is available directly from Devenia.

Start Here

Disable automatic sharing buttons for post 42:

{
  "post_id": 42,
  "disabled": true
}

Abilities (3)

Ability Purpose
scriptless/get-settings Return the current Scriptless Social Sharing option array.
scriptless/get-post-sharing Report the stored sharing-button state for one post or page.
scriptless/update-post-sharing Enable or disable automatic sharing buttons for one post or page.

Safety and Ownership Boundaries

  • Every Ability requires manage_options.
  • Read operations do not mutate WordPress.
  • The update operation changes only _scriptlesssocialsharing_disable for the requested post.
  • Success is returned only after WordPress reflects the requested state.
  • The Adapter remains inactive when Scriptless Social Sharing is unavailable.
  • No external service or third-party PHP library is bundled.

Installation

  1. Install and activate Scriptless Social Sharing.
  2. Download the current Adapter ZIP.
  3. In WordPress, open Plugins → Add New Plugin → Upload Plugin.
  4. Upload the ZIP and activate the Adapter.
  5. Confirm that the Abilities API is active.

Recent Changes

1.0.1

  • Added the canonical public package identity and product page.
  • Added post-state persistence verification.

1.0.0

  • Added settings read, per-post state read, and per-post state update Abilities.

Contributing

Bug reports and focused improvements are welcome. Keep vendor behavior inside this Adapter and preserve the public Ability names.

License

GPL-2.0-or-later. See the GNU General Public License.

Author

basicus

Links

Read the full README on GitHub →