wordpress-mcp-server

wordpress-mcp-server

3.2

If you are the rightful owner of wordpress-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This is a Model Context Protocol (MCP) server implementation for WordPress integration, enabling AI assistants to interact with WordPress blog systems.

WordPress MCP Server

This is a Model Context Protocol (MCP) server implementation for WordPress integration. The server enables AI assistants to interact with WordPress blog systems, providing automated content management and publishing capabilities.

Features

  • Support blog post search
  • Support post details retrieval
  • Support blog post draft creation
  • Support comment retrieval
  • Full MCP protocol specification compliance
  • Built with TypeScript for type safety

Tech Stack

  • Node.js
  • TypeScript
  • MCP SDK (@modelcontextprotocol/sdk)
  • WordPress REST API

Quick Start

Install Dependencies

pnpm install

Configuration

Before running the server, make sure to configure the following environment variables:

  • WP_BASE_URL: WordPress site URL
  • WP_USERNAME: WordPress admin username
  • WP_PASSWORD: WordPress admin password

Run Server

pnpm start

Project Structure

src/
├── index.ts      # Server entry point
├── config.ts     # Configuration file
└── wp-client.ts  # WordPress API client implementation

Sponsor

If you like this project, please give it a Star ⭐️ or sponsor me



License

MIT