WordPress MCP Server
by beilunyang
README.md
# 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
```bash
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
```bash
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
<br />
<br />
<img src="https://pic.otaku.ren/20240212/AQADPrgxGwoIWFZ-.jpg" style="width: 400px;"/>
<br />
<br />
<a href="https://www.buymeacoffee.com/beilunyang" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="width: 400px;" ></a>
## License
MIT
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues