Skip to content

[Personal-WP] Add my.wordpress.net specific MCP instructions and skills#3818

Draft
akirk wants to merge 2 commits into
WordPress:trunkfrom
akirk:mywp-mcp-instructions
Draft

[Personal-WP] Add my.wordpress.net specific MCP instructions and skills#3818
akirk wants to merge 2 commits into
WordPress:trunkfrom
akirk:mywp-mcp-instructions

Conversation

@akirk

@akirk akirk commented Jun 22, 2026

Copy link
Copy Markdown
Member

What?

Adds MyWP-specific MCP prompts and tools through a dedicated package while keeping the generic Playground MCP server extensible.

Why?

External MCP clients need MyWP-specific operating instructions and task skills without changing the generic Playground MCP behavior.

How?

  • Lets createServer accept MCP server definitions and extensions that can add prompts or register tools.
  • Adds a side-effect-free @wp-playground/mcp/api entry point that exposes the generic MCP server building blocks.
  • Keeps the generic Playground MCP server free of MyWP-specific prompt and tool dependencies.
  • Moves MyWP-specific MCP prompts, tools, and CLI composition into a dedicated @wp-playground/personal-wp-mcp package that uses @wp-playground/mcp/api underneath.
  • Exposes the MyWP MCP executable as mywp, defaulting to https://my.wordpress.net/ while still supporting --url=... for another Personal Playground origin.
  • Registers MyWP prompts for agent workflow, abilities, file editing, plugin development, and syncing local changes into the MyWP sandbox.
  • Adds a MyWP-only mywp_get_plugin_guidance tool that applies AI Assistant filters in the connected site and returns structured entries plus prompt-ready instructions for preferring the WordPress Abilities API for matching ability categories/domains.
  • Documents the MyWP MCP configuration and local sync workflow.
  • Adds unit coverage for generic prompt extension registration and MyWP plugin guidance collected from ai_assistant_ability_domains.

Testing

  • npm run format:uncommitted
  • npm exec nx run playground-mcp:test:unit
  • npm exec nx run playground-personal-wp-mcp:test:unit
  • npm exec nx run playground-mcp:lint
  • npm exec nx run playground-personal-wp:lint
  • npm exec nx run playground-personal-wp-mcp:lint
  • npm exec nx run playground-personal-wp-mcp:build
  • npm exec nx run playground-mcp:build

@github-actions github-actions Bot added the [Type] Documentation Improvements or additions to documentation label Jun 22, 2026
@akirk akirk changed the title Add MyWP MCP profile prompts [Personal-WP] Add my.wordpress.net specific MCP instructions and skills Jun 22, 2026
@akirk akirk force-pushed the mywp-mcp-instructions branch 11 times, most recently from c9a70d2 to ba9d496 Compare June 22, 2026 12:50
@akirk akirk force-pushed the mywp-mcp-instructions branch from ba9d496 to 18cfeb9 Compare June 23, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant