Connect WordPress to AI agents

Connect WordPress to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

update_post

Update Post

Update an existing blog post. Can modify the title, content, excerpt, status, categories, tags, featured image, slug, and other settings. Only provided fields are updated.

list_users

List Users

Retrieve a list of users on the WordPress site. Filter by search term or role. Results are paginated.

list_pages

List Pages

Retrieve a list of pages with optional filtering by status, search term, and sorting. Results are paginated.

create_page

Create Page

Create a new page on the WordPress site. Pages are hierarchical and can have parent pages. Supports setting title, content, status, parent page, and featured image.

get_site_stats

Get Site Stats

Retrieve site traffic statistics including page views, visitors, and top posts. **Only available for WordPress.com sites and Jetpack-connected self-hosted sites.**

delete_page

Delete Page

Permanently delete a page by its ID. This action cannot be undone.

update_media

Update Media

Update metadata of an existing media item including title, caption, alt text, and description. Only provided fields are updated.

get_post

Get Post

Retrieve a single blog post by its ID, including full content, metadata, and comment count.

moderate_comment

Moderate Comment

Moderate a comment by updating its status (approve, hold, spam, or trash) or editing its content.

delete_post

Delete Post

Permanently delete a blog post by its ID. This action cannot be undone.

list_media

List Media

Browse the site's media library. Filter by media type (image, video, audio, application) or search by keyword. Results are paginated.

list_tags

List Tags

Retrieve all tags on the site. Tags are flat (non-hierarchical) taxonomy terms used to describe posts. Supports search filtering.

get_media

Get Media

Retrieve details of a single media item by its ID, including URL, dimensions, caption, and alt text.

update_page

Update Page

Update an existing page. Can modify the title, content, status, parent page, and other settings. Only provided fields are updated.

create_post

Create Post

Create a new blog post on the WordPress site. Supports setting title, content, excerpt, status (draft/publish/pending/private), scheduling via date, post format, categories, tags, featured image, and comment settings.

list_categories

List Categories

Retrieve all categories on the site. Categories are hierarchical and can be used to organize posts. Supports search filtering.

delete_media

Delete Media

Permanently delete a media item from the library. This action cannot be undone.

create_category

Create Category

Create a new post category. Categories are hierarchical — you can specify a parent category to create subcategories.

search_content

Search Content

Search across posts and pages on the site by keyword. Returns matching content with titles, excerpts, and URLs. Useful for finding specific content or checking for duplicate topics.

list_posts

List Posts

Retrieve a list of blog posts with filtering options. Filter by status, search term, category, tag, author, and date range. Results are paginated.

get_site_info

Get Site Info

Retrieve general site information including title, description, URL, and other metadata. Useful for verifying site configuration and connectivity.

list_comments

List Comments

Retrieve comments from the site. Can filter by post ID, status, and search term. Results are paginated.

create_tag

Create Tag

Create a new post tag for organizing and labeling content.

create_comment

Create Comment

Add a new comment to a post. Can create top-level comments or replies to existing comments by specifying a parent comment ID.

delete_tag

Delete Tag

Delete a tag. Posts with this tag will not be deleted but will lose this tag assignment.

delete_comment

Delete Comment

Permanently delete a comment by its ID. This action cannot be undone.

delete_category

Delete Category

Delete a category. Posts in this category will not be deleted but will be reassigned to the default category.

get_current_user

Get Current User

Retrieve the profile of the currently authenticated user, including display name, email, avatar, and roles.

update_category

Update Category

Update a post category name, description, parent, or slug. For WordPress.com, categoryId may be the numeric ID returned by list/create tools or the category slug.

upload_media

Upload Media

Upload an image, document, or other supported file to the WordPress media library from a publicly accessible URL. Returns the created media item ID and URL for use as a featured image or attachment.

get_site_settings

Get Site Settings

Retrieve editable WordPress site settings such as title, description, timezone, date format, time format, and default content settings.

update_tag

Update Tag

Update a post tag name, description, or slug. For WordPress.com, tagId may be the numeric ID returned by list/create tools or the tag slug.

get_tag

Get Tag

Retrieve a single post tag by ID. For WordPress.com, a tag slug is also accepted.

update_site_settings

Update Site Settings

Update common editable WordPress site settings. Only provided fields are changed.

get_category

Get Category

Retrieve a single post category by ID. For WordPress.com, a category slug is also accepted.

More integrations teams use with WordPress

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Discord

Send, edit, and delete messages in channels. Manage servers (guilds), channels, roles, members, invites, webhooks, threads, scheduled events, auto moderation rules, audit logs, application commands, and custom guild emojis. Add or remove users, assign roles, kick or ban members, and receive supported message, guild, channel, member, and inbound webhook triggers.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Technical notes for WordPress

Create, read, update, and delete WordPress posts and pages. Manage media library items, comments, categories, tags, site users, site metadata, editable site settings, content search, and WordPress.com site statistics. Supports WordPress.com hosted sites via OAuth and self-hosted WordPress sites via application passwords.

Connect WordPress to production AI agents

See how Metorial gives WordPress access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting WordPress to AI agents with Metorial.

  1. Can Metorial connect WordPress to AI agents?
    Yes. Metorial connects AI agents to WordPress through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.