Get the plugin
WP MCP/Guides/Guide

By · Published · Updated

Read your Modern Events Calendar events with an AI agent

WP MCP gives an AI agent a curated read view of your Modern Events Calendar events: list what’s coming up, and read any event’s full schedule without needing to know MEC’s mec_* meta-key names.

What you need

  • WP MCP installed and connected to your AI client.
  • Modern Events Calendar active (the free version is enough). WP MCP registers the mec-read ability when the mec-events post type is present.

List what’s on

› What events are coming up, and when?
› List the events in August with their dates.

The agent calls mec-read with list-events and gets each event’s id, title, status, and start/end date, newest first.

Read a schedule

› Read the Launch Party event, tell me its start and end time, whether it's
  all-day, and its location.

get-event returns a curated schedule: start_date, end_date, start_time, end_time, all_day, location_id, organizer_id, and cost, resolved from MEC’s meta so the agent works with named fields.

The Events Calendar works the same way

If you run The Events Calendar instead of (or alongside) MEC, it has its own curated read surface, tec-read, with the same list-events and get-event operations. TEC keeps its schedule in underscore-prefixed _Event* meta that the generic tools hide, so the dedicated read is what surfaces those fields as clean named values. Same prompts, same shape.

Creating and editing events

The mec-read surface is read-only, but MEC events are an ordinary custom post type, so an agent can create and edit them through WP MCP’s general content tools:

› Create a new event titled "Autumn Fair" as a draft.

That runs create-post with post_type: mec-events, and, like every WP MCP write, it is snapshotted first so you can roll it back in one click. Set the mec_* schedule meta the same way, through the content tools, and the event shows up in the curated get-event read.

Common questions

Can an AI agent read my Modern Events Calendar events?

Yes. WP MCP registers the mec-read ability when the mec-events post type exists. list-events returns each event's id, title, status and dates, and get-event returns its full schedule.

Do I need the paid version of Modern Events Calendar?

No. The free version of Modern Events Calendar is enough for the mec-read ability, since it only needs the mec-events post type to be present.

What fields does get-event return?

It returns start_date, end_date, start_time, end_time, all_day, location_id, organizer_id and cost, resolved from MEC's meta into named fields so the agent does not need the mec_* key names.

Does this work with The Events Calendar plugin?

Yes, through a separate ability, tec-read, with the same list-events and get-event operations. It surfaces the underscore-prefixed _Event* meta that the generic tools hide.

Can the agent create or edit events?

The mec-read ability is read-only, but MEC events are an ordinary custom post type. The agent can create and edit them with the general content tools, for example create-post with post_type mec-events, and that write is snapshotted so you can roll it back.

All WP MCP guides, or see every plugin integration. Topic: Community, events and memberships.