WordPress MCP server

Connect WordPress to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the WordPress MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the update post tool in WordPress
  • Use the list users tool in WordPress
  • Use the list pages tool in WordPress
  • Use the create page tool in WordPress
  • Use the get site stats tool in WordPress
  • Use the delete page tool in WordPress

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. **Requires a WordPress.com OAuth connection to a WordPress.com or Jetpack-connected site.**

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 for moderation, 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 and URLs (plus status, excerpt, and date on WordPress.com sites). 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.

get_page

Get Page

Retrieve a single page by its ID, including its full content, status, parent page, and URL.

get_comment

Get Comment

Retrieve a single comment by its ID, including its post, author, content, status, and parent comment.

Connect WordPress to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable WordPress in Metorial. In your Metorial portal, enable the WordPress MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load WordPress tools.

Run WordPress through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give WordPress and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use WordPress tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with WordPress

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

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.

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. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. 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. Retrieve site properties and search for sites across Microsoft 365.

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.

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.

Frequently asked questions

Common questions about connecting WordPress to AI agents with Metorial.

  1. How many tools does the WordPress MCP server have?
    The WordPress MCP server exposes 37 tools, including Update Post, List Users, List Pages. Each one is governed and traced through Metorial.
  2. WordPress exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the WordPress MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use WordPress and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the WordPress MCP server yourself or use the hosted gateway.

Connect WordPress to production AI agents

See how Metorial gives your team governed access to WordPress, with tracing and security controls built in.