https://github.com/bph/content-abilities
Registers post creation and editing abilities for the WordPress Abilities API, exposable via MCP. Requires WordPress MCP Adapter plugin
https://github.com/bph/content-abilities
Last synced: 4 months ago
JSON representation
Registers post creation and editing abilities for the WordPress Abilities API, exposable via MCP. Requires WordPress MCP Adapter plugin
- Host: GitHub
- URL: https://github.com/bph/content-abilities
- Owner: bph
- Created: 2026-02-10T13:29:16.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-10T13:49:13.000Z (5 months ago)
- Last Synced: 2026-02-10T18:30:45.363Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Content Abilities
A WordPress plugin that registers content management abilities via the Abilities API (6.9+), exposable to AI agents through the [MCP Adapter](https://github.com/WordPress/mcp-adapter).
## Abilities
| ID | Description |
|---|---|
| `content/create-post` | Create a post with title, content, excerpt, status, categories, and tags |
| `content/update-post` | Update an existing post — only provided fields are modified |
| `content/get-post` | Retrieve a single post by ID |
| `content/find-posts` | Search and filter posts by keyword, type, and status |
All abilities are scoped to public post types and enforce WordPress capability checks (create, edit, publish, read).
## Requirements
- WordPress 6.9+
- [MCP Adapter](https://github.com/WordPress/mcp-adapter) plugin
## Installation
1. Clone or copy this plugin into `wp-content/plugins/content-abilities/`
2. Activate both MCP Adapter and Content Abilities in wp-admin
## Connecting Claude Code
Add to your Claude Code MCP config (`~/.claude.json`):
```json
{
"mcpServers": {
"wordpress": {
"type": "stdio",
"command": "wp",
"args": [
"--path=/path/to/your/wordpress",
"mcp-adapter", "serve",
"--server=mcp-adapter-default-server",
"--user=admin"
]
}
}
}
```
For remote sites, use the HTTP transport via `@automattic/mcp-wordpress-remote` with application passwords.
## License
GPL-2.0-or-later