Governed ability

Get events

aafm/tec-get-eventsRead only

Get events is a governed The Events Calendar ability in Agent Abilities for MCP, a free WordPress plugin that runs an MCP server on your site.

List events via the Events Calendar ORM (tribe_events()), filtered by an optional free-text search term and an optional `status` input. Defaults to publish; draft/pending/future require edit access to events (scoped to the caller's own unless they can edit others' events); private requires read-private access.

How it is governed

The same model as every ability in the plugin, stated for this one.

  • Off until you enable it

    Like every ability, Get events ships switched off. You turn it on one at a time, and an update never widens access on its own.

  • Reads only

    It reads data and returns it to your client. Nothing on your site is created, changed, or removed.

  • Capability gated

    A connection only sees Get events if the user you connected can run it, and the plugin checks that capability again before it executes.

  • Every call audited

    The call is written to the log in your own database, denials included, with the argument keys and the identifiers it touched, never free-text content.

Get events is one of the 13 governed The Events Calendar abilities. See the full The Events Calendar MCP integration.

See it in action

An illustrative run. Your real calls and data stay on your own site.

agent-abilities · auditGoverned
YouGet events on this site.
RunRunning aafm/tec-get-events
GateAllowedread capability confirmed
Auditaafm/tec-get-events · principal: editor · args: event_id
ResultReturns the data the agent asked for. Nothing on the site changes.

Try it with a prompt

Example requests you could paste to your agent.

  1. List the published events on the calendar.
  2. Find every event with workshop in its title.
  3. Show me the draft events I have not published yet.

These are illustrative example prompts. The agent runs them as the user you connected, checked against that user's capabilities and written to your audit log.

Frequently asked

Short answers for Get events.

How does it find events?

Get events queries The Events Calendar's own ORM (tribe_events()), not its REST API, with an optional free text search term and an optional status.

Can it show me other people's drafts?

Get events defaults to published events. Draft, pending, and future events need edit access to events, scoped to the caller's own unless they can edit others' events, and private events need read-private access.

What does it need installed?

The Events Calendar 6.17.3.1 or newer, active on the site. The ability is off until an administrator enables it, and every call is audited.

Back to all abilities

Governed by default, from the first call.

Get events is off until you enable it, scoped to the user you connect, and logged like everything else. Turn on only what you need.

Every ability off until you enable it, capability-gated on every call.