SuperAPIAI Directory

wp-agent-harness

github.com · AI agents

wp-agent-harness is a local, disposable WordPress environment for coding agents such as Claude Code, Cursor, and Codex, running on Docker. It provides out-of-the-box MCP support through the official MCP Adapter and Abilities API, with 29 built-in abilities from MS WordPress Abilities, and all versions are pinned. Use ./bin/setup to build the environment and ./bin/reset for a one-command reset; the site runs at http://localhost:8080,管理员账号为 admin, and the password is stored in WP_ADMIN_PASSWORD in .env. In Claude Code and Cursor, every change requires approval, and all attempted changes are logged. The project is for development only, uses localhost and disposable data, and does not involve production data.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

wp-agent-harness is a local WordPress development environment for coding agents, primarily aimed at tools such as Claude Code, Codex, and Cursor. Its core purpose is to let agents perform operations on a local WordPress site that can be discarded at any time, without touching production data.

In terms of main capabilities, the project is built on the official MCP Adapter and Abilities API and provides MCP support out of the box, which differs from wp-env or Playground. It includes 29 built-in abilities from MS WordPress Abilities, and all versions are pinned. In Claude Code and Cursor, every change requires user approval, and all attempted changes are logged.

In terms of usage, the environment runs via Docker. Run ./bin/setup to complete the build, and run ./bin/reset to reset to a fresh state with one command. The site address is http://localhost:8080,使用 admin to log in to wp-admin; the password is stored in WP_ADMIN_PASSWORD in the .env file. If you want to log in with lower privileges instead of as an administrator, run ./bin/connect --role publisher. For how to connect Codex and Cursor, refer to their setup guides. Docker Compose v2, Git, Bash, curl, and jq are required before running.

The applicable scenarios are mainly local WordPress development and agent-assisted coding tests, especially development workflows that require MCP integration and change approval logs. In terms of limitations, the project is explicitly for development only: localhost only, disposable data, and no production data. The project uses the MIT license; agent skills, WordPress, and plugins each retain their own licenses, as detailed in the NOTICE file.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools