WordPress

Provides an MCP interface to WordPress posts enabling querying, creation, updates, and deletions via standardized MCP tools.
  • typescript

0

GitHub Stars

typescript

Language

1 month ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ssong-openmaru-io-ai-mcp-wordpress": {
      "command": "node",
      "args": [
        "/절대경로/wordpress-mcp-server/dist/stdio.js"
      ],
      "env": {
        "SSE_PORT": "3000",
        "WORDPRESS_TOKEN": "your-bearer-token",
        "WORDPRESS_BASE_URL": "https://your-wordpress-site.com",
        "WORDPRESS_USERNAME": "admin",
        "WORDPRESS_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx",
        "WORDPRESS_TLS_REJECT_UNAUTHORIZED": "false"
      }
    }
  }
}

You can run a WordPress MCP Server that wraps the WordPress REST API as an MCP (Model Context Protocol) service, enabling an AI agent to query, create, modify, and delete WordPress posts through standardized MCP tools.

How to use

Start the local MCP server in STDIO mode or expose it via HTTP/SSE as described in your setup. You interact with the server through the MCP client by invoking the available tools to list, read, create, update, and delete WordPress posts. The server handles authentication with WordPress using either Application Passwords or a Bearer Token and translates WordPress API responses into MCP results, including proper error signaling when WordPress returns an error.

How to install

Prerequisites you need before installation.

Additional content

Environment and startup configuration are defined in an example environment file. The server supports two transport modes: Streamable HTTP (modern) and Legacy SSE (older clients). The common server logic is centralized in a shared function that creates the MCP server instance and its tools.

Available tools

listPosts

Retrieve a paginated list of WordPress posts with optional search and filters such as status and category.

getPost

Fetch a single WordPress post by its ID.

createPost

Create a new WordPress post with title, content, and optional metadata like status, excerpt, categories, and tags.

updatePost

Update an existing WordPress post by ID, changing provided fields such as title, content, status, excerpt, categories, or tags.

deletePost

Delete a WordPress post by ID with optional hard delete flag.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational