# WordPress MCP server

> Allows AI agents to read WordPress site content and create new post drafts via the REST API.

- Repository: https://github.com/bgildea/wordpress-mcp-server
- Page: https://hostedmcp.org/servers/bgildea/wordpress-mcp-server
- Transport: —
- Stars: 0
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `WP_APP_PASSWORD` | no | no |  |
| `WP_READ_ONLY` | no | no |  |
| `WP_URL` | no | no |  |
| `WP_USERNAME` | no | no |  |

## Tools (7)

- `get_site_info`
- `list_posts`
- `get_post`
- `list_comments`
- `get_comment`
- `list_plugins`
- `create_draft_post`

## FAQ

### Can the AI publish posts directly?

No, the assistant can only create drafts. A human must manually press the Publish button.

### How can I prevent the AI from making any changes to my site?

You can enable read-only mode by setting the WP_READ_ONLY environment variable to true, which removes all write tools.

### What kind of credentials does the server use?

It uses WordPress Application Passwords rather than admin passwords for secure, revocable access.
