WordPress.com MCP server for AI agents

Write, edit, publish and list posts and pages, list and create tags, read categories and media, and read and add comments on WordPress.com and Jetpack-connected sites.

WordPress.comOAUTH2

Runs with your users' own WordPress.com accounts. Credentials stay on prompt-tm.com.

18 tools · 0 triggers

Auth
OAuth 2.0 (sign in with the app)
Tools
18
Triggers
0
Category
Productivity

Tools and triggers

  • Get the current user

    WORDPRESS_GET_ME

    Returns the WordPress.com user the connection acts as, with their primary site.read-only

  • List my sites

    WORDPRESS_LIST_MY_SITES

    Lists the sites the user can access, with each site's ID and URL.read-only

  • List posts

    WORDPRESS_LIST_POSTS

    Lists a site's posts, newest first by default, filtered by text, status, category, tag, author or date.read-only

  • Get a post

    WORDPRESS_GET_POST

    Returns one post with its title, content, excerpt, status, categories and tags.read-only

  • Create a post

    WORDPRESS_CREATE_POST

    Creates a post as a draft, or as pending review or private. It doesn't go live until you run Publish a post.

  • Update a post

    WORDPRESS_UPDATE_POST

    Changes the fields given and leaves the others. A published post's changes show at once; to publish a draft, use Publish a post.

  • Publish a post

    WORDPRESS_PUBLISH_POST

    Publishes a post so it is live on the site, or schedules it when `date` is in the future.destructive

  • Delete a post

    WORDPRESS_DELETE_POST

    Moves a post to the trash, or deletes it for good with `force: true`.destructive

  • List pages

    WORDPRESS_LIST_PAGES

    Lists a site's pages, filtered by text, status, parent or date.read-only

  • Create a page

    WORDPRESS_CREATE_PAGE

    Creates a page, optionally under a parent page, as a draft, or as pending review or private. Use Publish a page to make it live.

  • Update a page

    WORDPRESS_UPDATE_PAGE

    Changes the fields given on a page and leaves the others. A published page's changes show at once; to publish a draft, use Publish a page.

  • Publish a page

    WORDPRESS_PUBLISH_PAGE

    Publishes a page so it is live on the site, or schedules it when `date` is in the future.destructive

  • List categories

    WORDPRESS_LIST_CATEGORIES

    Lists a site's categories with their IDs, names and post counts.read-only

  • List tags

    WORDPRESS_LIST_TAGS

    Lists a site's tags with their IDs, names and post counts.read-only

  • Create a tag

    WORDPRESS_CREATE_TAG

    Creates a tag and returns its ID, for the `tags` of a post.

  • List comments

    WORDPRESS_LIST_COMMENTS

    Lists a site's comments, optionally on given posts or with a given status.read-only

  • Add a comment

    WORDPRESS_CREATE_COMMENT

    Adds a comment to a post as the connected user, or a reply to another comment.

  • List media

    WORDPRESS_LIST_MEDIA

    Lists a site's media library items with their IDs, URLs and types.read-only

Try WordPress.com now

Sign in, connect your account and run any of these in the playground, or ask your agent through the router.

Try it free

Connect via MCP

Create an MCP server for WordPress.com in the dashboard, then add its URL to your client. This is the Claude Code command; the client guide has the others.

terminal
claude mcp add --transport http wordpress \
  "https://www.prompt-tm.com/mcp/<server id>?user_id=<your user>" \
  --header "x-api-key: ptm_…"

Connect via REST

Run a tool with one request. The response is { data, error, successful, log_id } for every tool.

terminal
curl -X POST https://www.prompt-tm.com/api/v3/tools/execute/WORDPRESS_GET_ME \
  -H "x-api-key: $PROMPT_TM_KEY" -H "content-type: application/json" \
  -d '{ "user_id": "alice", "arguments": {} }'

WordPress.com questions