wordpress/mcp-adapter ? reverse-engineered prompt

Reverse engineered prompt

Build me a WordPress plugin that connects the WordPress Abilities API to the Model Context Protocol so AI tools can discover and use WordPress abilities. I want it to expose abilities as MCP tools, resources, and prompts, with a default server that lets clients discover abilities, get ability details, and run an ability.

Make it work over both HTTP and STDIO, and let it support more than one server if needed. Keep abilities private unless they are explicitly marked public. Add basic permission checks, error handling, and a clean way to plug in logging or monitoring later.

Please include the setup, a few simple examples, and enough docs so I can connect it from an MCP client like Claude Desktop or a similar app. If anything is unclear, look up the current MCP and WordPress docs online and follow the project’s existing style.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab