PHPackages                             mcp-wp/mcp-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mcp-wp/mcp-server

Abandoned → [wordpress/mcp-adapter](/?search=wordpress%2Fmcp-adapter)ArchivedWordpress-plugin

mcp-wp/mcp-server
=================

MCP Server for WordPress

5937817[4 issues](https://github.com/mcp-wp/mcp-server/issues)[2 PRs](https://github.com/mcp-wp/mcp-server/pulls)PHPCI passing

Since Apr 5Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/mcp-wp/mcp-server)[ Packagist](https://packagist.org/packages/mcp-wp/mcp-server)[ RSS](/packages/mcp-wp-mcp-server/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

MCP Server for WordPress
========================

[](#mcp-server-for-wordpress)

[![Commit activity](https://camo.githubusercontent.com/66b159c36e235793a2d33031030835b53726a40af410f49a653379406251647d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f6d63702d77702f6d63702d736572766572)](https://github.com/mcp-wp/mcp-server/pulse/monthly)[![Code Coverage](https://camo.githubusercontent.com/898acc3bd0c051d5248265ffaae7bc305bcf36ee4d574e153f7ae85dbb8f0483/68747470733a2f2f636f6465636f762e696f2f67682f6d63702d77702f6d63702d7365727665722f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/mcp-wp/mcp-server)[![License](https://camo.githubusercontent.com/3145fa86db1dbe7c76ccc93733a362e28ad248d9ae36bc9b472219fdf3c4842d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d63702d77702f6d63702d736572766572)](https://github.com/mcp-wp/mcp-server/blob/main/LICENSE)

[Model Context Protocol](https://modelcontextprotocol.io/) server using the WordPress REST API.

Try it by installing and activating the latest nightly build on your own WordPress website:

[![Download latest nightly build](https://camo.githubusercontent.com/400cb42e7777861c40036039782302b926837acffcca4081e39b628b00b916d3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f776e6c6f61642532306c61746573742532306e696768746c792d3234323832443f7374796c653d666f722d7468652d6261646765266c6f676f3d46696c6573266c6f676f436f6c6f723d666666666666)](https://mcp-wp.github.io/mcp-server/mcp.zip)

Description
-----------

[](#description)

This WordPress plugin aims to implement the new [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http), as described in the latest MCP specification.

Under the hood it uses the [`logiscape/mcp-sdk-php`](https://github.com/logiscape/mcp-sdk-php) package to set up a fully functioning MCP server. Then, this functionality is exposed through a new `wp-json/mcp/v1/mcp` REST API route in WordPress.

Note: the Streamable HTTP transport is not fully implemented yet and there are no tests. So it might not 100% work as expected.

Usage
-----

[](#usage)

Given that no other MCP client supports the new Streamable HTTP transport yet, this plugin works best in companion with the [WP-CLI AI command](https://github.com/mcp-wp/ai-command).

1. Run `wp plugin install --activate https://github.com/mcp-wp/mcp-server/archive/refs/heads/main.zip`
2. Run `wp plugin install --activate ai-services`
3. Run `wp package install mcp-wp/ai-command:dev-main`
4. Run `wp mcp server add "mysite" "https://example.com/wp-json/mcp/v1/mcp"`
5. Run `wp ai "Greet my friend Pascal"` or so

Note: The WP-CLI command also works on a local WordPress installation without this plugin.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance47

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/841956?v=4)[Pascal Birchler](/maintainers/swissspidy)[@swissspidy](https://github.com/swissspidy)

---

Top Contributors

[![swissspidy](https://avatars.githubusercontent.com/u/841956?v=4)](https://github.com/swissspidy "swissspidy (75 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (9 commits)")[![EvanHerman](https://avatars.githubusercontent.com/u/5321364?v=4)](https://github.com/EvanHerman "EvanHerman (1 commits)")

---

Tags

mcpmcp-serverwordpress

### Embed Badge

![Health badge](/badges/mcp-wp-mcp-server/health.svg)

```
[![Health](https://phpackages.com/badges/mcp-wp-mcp-server/health.svg)](https://phpackages.com/packages/mcp-wp-mcp-server)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
