ModelGain Event Abilities

Description

ModelGain Event Abilities adds a small, event-focused automation surface to a WordPress installation using The Events Calendar. It does not add a chatbot, remote account, model subscription, or its own MCP server.

The first version provides four actions:

  • Search events by keyword, start date, and status with bounded pagination.
  • Read one event, including its title, published status, start and end times, timezone, and website.
  • Retrieve upcoming events in a consistent, bounded format.
  • Update one event’s title, status, website, or start/end date pair using The Events Calendar’s supported event API, followed by a read-back of the stored event.

For date/time updates, provide both start_at and end_at as full ISO 8601 timestamps with seconds and an explicit timezone offset (for example, 2026-11-12T13:15:00+00:00 or 2026-11-12T13:15:00Z). Natural-language dates and timezone-less timestamps are rejected to prevent accidental schedule changes.

All actions use WordPress permissions. Event updates require editing permission for the specific event. Anonymous visitors cannot execute the abilities through WordPress’ built-in Abilities REST interface.

External access

The abilities are available inside WordPress through the native Abilities API when The Events Calendar is active. REST discovery and execution are disabled by default.

To allow authenticated external clients to use the WordPress Abilities REST interface, navigate to Settings > Event Abilities and explicitly enable External exposure. This does not grant any WordPress permissions. The official WordPress MCP Adapter can be used separately, if desired; it is not bundled or required.

Use WordPress Application Passwords or another supported WordPress authentication mechanism for REST clients, and grant the connecting WordPress user only the capabilities they need.

Privacy

The plugin does not transmit data to ModelGain or other third-party services and does not store execution history. A local WordPress action hook, modelgain_event_abilities_executed, emits limited technical metadata to other installed code if it chooses to listen. The hook never includes credentials, prompts, raw request bodies, event descriptions, or event content.

Requirements

  • WordPress 6.9 or later.
  • PHP 7.4 or later.
  • The Events Calendar for event operations (the plugin displays diagnostics and denies execution safely when it is absent).

Installation

  1. Upload the plugin or install it from WordPress.org when available.
  2. Activate ModelGain Event Abilities from the Plugins screen.
  3. Ensure The Events Calendar is active and view Settings > Event Abilities to check diagnostics.
  4. Leave External exposure disabled unless an authenticated REST/MCP client needs the ability surface.

FAQ

Does this plugin replace The Events Calendar’s own MCP server?

No. It provides a WordPress-native, transport-independent Abilities API surface. If you already use the first-party The Events Calendar MCP server and do not need native WordPress abilities, you may not need this plugin.

Can an agent delete events, process refunds, or buy tickets?

No. The four abilities do not support deletion, ticketing, payments, refunds, or bulk writes.

Does enabling external exposure allow any visitor to edit events?

No. WordPress authenticates REST clients, and each ability checks current user permissions. Updates require permission to edit the target event.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ModelGain Event Abilities” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.1.0

  • Introduce four bounded WordPress-native The Events Calendar abilities.
  • Add explicit opt-in external exposure, per-event permissions, provider diagnostics, and limited local execution hooks.