Skip to main content
Glama

WordPress Ops MCP

A small, confirmation-gated MCP server for the standard WordPress REST API. It is configured entirely through environment variables and stores no credentials, sites, or personal data.

Features

  • Read configured sites and inspect, search, or list posts.

  • Create posts as drafts only.

  • Update only approved post fields, with explicit write confirmation. Publishing additionally requires confirm_publish=true.

  • Optionally use a post's modified value as an optimistic-concurrency check before updating it.

  • Upload media only after explicit confirmation.

Related MCP server: WordPress MCP Server

Install

python -m venv .venv
.venv/bin/pip install -e .

On Windows, use .venv\\Scripts\\pip install -e ..

Configuration

Use a single site:

WORDPRESS_BASE_URL=https://example.com
WORDPRESS_USERNAME=api-user
WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx

Or configure named sites:

WORDPRESS_SITES_JSON={"site-a":{"base_url":"https://example.com","username":"api-user","app_password":"xxxx"}}

Run with python server.py. Do not commit .env files or application passwords.

Safety model

Writes are never performed unless confirm_write=true is passed. New posts are drafts, and publishing an existing post requires a separate confirm_publish=true. The server has no delete endpoint.

Development

python -m unittest -v

License

MIT. See LICENSE.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DaveTheProfessor/wordpress-ops-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server