Skip to content

Expose GDS abilities through WordPress 7 API#17

Merged
oxyc merged 2 commits into
masterfrom
wp70-abilities-api
May 22, 2026
Merged

Expose GDS abilities through WordPress 7 API#17
oxyc merged 2 commits into
masterfrom
wp70-abilities-api

Conversation

@oxyc

@oxyc oxyc commented May 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Mark GDS MCP abilities as REST-visible via meta.show_in_rest for the WordPress 7 abilities registry.
  • Register gds/help through the shared ability helper so it gets the same MCP and REST metadata defaults.
  • Bootstrap wordpress/mcp-adapter from gds-mcp when the adapter is installed, removing the host-project MU-plugin requirement.
  • Update docs/tests to describe the new setup and assert GDS abilities opt into MCP through their own metadata.
  • Update the WP PHPUnit dev constraint to ^7.0.

Verification

  • composer lint:fix
  • composer lint
  • php -l src/Plugin.php
  • php -l tests/bootstrap.php
  • php -l tests/Integration/SchemaValidationTest.php
  • php -l tests/Integration/McpProtocolTest.php
  • git diff --check
  • composer test could not run locally because the WP PHPUnit bootstrap is missing WP_TESTS_DOMAIN, WP_TESTS_EMAIL, WP_TESTS_TITLE, and WP_PHP_BINARY.

@oxyc oxyc merged commit 8f17830 into master May 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant