Wp Rest Api

🏢Official
by wordpress · vlatest · Repository

Official wordpress skill covering REST APIs, API for developing backend services and APIs.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add wp-rest-api npx -- -y @trustedskills/wp-rest-api
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "wp-rest-api": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/wp-rest-api"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The wp-rest-api skill enables AI agents to interact with WordPress sites using the REST API. It allows actions such as retrieving posts, users, and media, as well as creating or updating content programmatically.

When to use it

  • Automating content publishing workflows on a WordPress site
  • Fetching blog data for integration into another application
  • Building custom plugins or tools that require programmatic access to WordPress data

Key capabilities

  • Access WordPress posts, pages, and media via REST API endpoints
  • Retrieve user information and manage roles programmatically
  • Create, update, or delete content using API requests

Example prompts

  • "Fetch the latest 5 blog posts from the WordPress site."
  • "Create a new post titled 'AI in Marketing' with the given content."
  • "Update the featured image of the post with ID 123 to the provided media URL."

Tips & gotchas

  • Ensure REST API access is enabled on your WordPress installation.
  • Authentication may be required for write operations, typically using OAuth or application passwords.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
wordpress
Installs
238

🏢 Official

Published by the company or team that built the technology.