Repository navigation
Conversation
Show a discoverable card for the MCP Adapter on the Connectors screen with the default MCP endpoint, and let users create, list, and revoke the application passwords MCP clients sign in with. Includes the WordPress 7.1 compat shims for the core registration and script module data in wordpress-develop#14348.
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Updated as activity occurs, without notifying anyone named here. Add the 🏷️ LabelsThis pull request needs exactly one label indicating its type, and has 0.
Read more about Type labels in Gutenberg. If you cannot add labels yourself, a reviewer can do it for you. |
Adi-ty
marked this pull request as ready for review
October 16, 2026 18:41
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
See https://core.trac.wordpress.org/ticket/66323
Adds a WordPress MCP card to the Connectors screen for the MCP Adapter, so site owners can discover and set up MCP access to their site.
Why?
The Connectors screen offers no way to find or set up the MCP Adapter, and no guidance for connecting an MCP client (endpoint URL, application passwords). This implements the acceptance criteria of https://core.trac.wordpress.org/ticket/66323: a discoverable card, install/activate through the existing plugin flow, an endpoint that works for subdirectory installs and plain permalinks, and an application password that is created only on request and shown once.
Core counterpart: WordPress/wordpress-develop#14348 (registers the
mcp-adapterconnector and adds theapplicationPasswordsscript module data).How?
McpConnectorcard for themcp-adapterconnector. It follows the existing Install → Activate → Set up flow viauseConnectorPlugin; nothing is installed on page view, and the card never claims a verified client connection./mcpnamespace), so it matches the site's permalinks and directory layout. A missing route and a failed request produce distinct explanations./wp/v2/users/me/application-passwords, tagging created passwords with a fixedapp_idso the card lists only the ones created there. The secret and a ready-madeAuthorization: Basicheader are shown once and never stored in connector settings.applicationPasswordsscript module data, with a WP 7.1 compat shim that defers to core when present.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Use of AI Tools
Assisted by Claude Code, all changes tested & reviewed manually.