MCP ExplorerExplorer

Wordpress Mcp Server

@beilunyangon 9 months ago
1 MIT
FreeCommunity
AI Systems
A Model Context Protocol (MCP) server implementation for WordPress integration

Overview

What is Wordpress Mcp Server

wordpress-mcp-server is a Model Context Protocol (MCP) server implementation designed for integrating with WordPress. It allows AI assistants to interact with WordPress blog systems, facilitating automated content management and publishing.

Use cases

Use cases for wordpress-mcp-server include automating blog post management, enabling AI-driven content generation, integrating WordPress with other applications, and enhancing user engagement through automated comment handling.

How to use

To use wordpress-mcp-server, first install the dependencies using ‘pnpm install’. Then, configure the necessary environment variables such as ‘WP_BASE_URL’, ‘WP_USERNAME’, and ‘WP_PASSWORD’. Finally, start the server with ‘pnpm start’.

Key features

Key features of wordpress-mcp-server include support for blog post search, retrieval of post details, creation of blog post drafts, comment retrieval, full compliance with MCP protocol specifications, and it is built with TypeScript for enhanced type safety.

Where to use

wordpress-mcp-server can be used in various fields where WordPress is utilized, particularly in content management systems, blogging platforms, and applications that require automated interactions with WordPress.

Content

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









Buy Me A Coffee

License

MIT

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers