Skip to content

[docs] Adding MCP playground guide#3826

Open
fellyph wants to merge 4 commits into
trunkfrom
adding-mcp-guide
Open

[docs] Adding MCP playground guide#3826
fellyph wants to merge 4 commits into
trunkfrom
adding-mcp-guide

Conversation

@fellyph

@fellyph fellyph commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

This pull request adds a new guide explaining how to use WordPress Playground with AI assistants through the MCP server, and provides a full Spanish translation of the guide. The documentation covers use cases, setup instructions, and the differences between Playground MCP and CLI, making it easier for users to understand and leverage AI-powered interactions with Playground sites.

New documentation:

  • Added main/guides/ai-assistants-mcp.md with a comprehensive guide on using WordPress Playground with AI assistants via MCP, including use cases, setup steps, and feature overview.

Localization:

  • Added a complete Spanish translation of the guide in i18n/es/docusaurus-plugin-content-docs/current/main/guides/ai-assistants-mcp.md, ensuring accessibility for Spanish-speaking users.

@fellyph fellyph requested review from a team, Copilot and zaerl June 24, 2026 10:19
@github-actions github-actions Bot added the [Type] Documentation Improvements or additions to documentation label Jun 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new documentation guide describing how to use WordPress Playground with AI assistants via the MCP server, and wires it into the docs navigation, along with localized versions of the guide.

Changes:

  • Added a new “AI assistants + MCP” guide in the main docs.
  • Added localized versions of the guide (ES, plus additional locales in this PR).
  • Linked the guide in the Guides sidebar.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/docs/site/sidebars.js Adds the new MCP guide to the Guides sidebar list.
packages/docs/site/docs/main/guides/ai-assistants-mcp.md Introduces the new English MCP usage guide.
packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/main/guides/ai-assistants-mcp.md Adds the Spanish translation of the new guide.
packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/guides/ai-assistants-mcp.md Adds a French translation of the new guide.
packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/ai-assistants-mcp.md Adds a pt-BR translation of the new guide.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/docs/site/sidebars.js

@akirk akirk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start but I had some suggestions!

Comment thread packages/docs/site/docs/main/guides/ai-assistants-mcp.md Outdated

# Use WordPress Playground with AI assistants through MCP

The WordPress Playground MCP server lets an AI assistant connect to a real Playground site running in your browser. After the connection is open, you can ask the assistant to navigate WordPress, inspect pages, reproduce issues, take screenshots, and explain what it finds.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"take screenshots" I think this would need the Playwright or DevTools MCP?


WordPress Playground has two complementary products: the Playground website and the Playground CLI. The website is the browser experience at [playground.wordpress.net](https://playground.wordpress.net/). The CLI is the local automation environment for terminal, scripting, and CI workflows.

The choice depends on what you want the AI assistant to control.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing we talked about was that with the MCP the agent can make authenticated requests whereas in the CLI it would need to use curl and thus make unauthenticated requests.

The other thing is to control the displayed page in the browser using the redirect tool.

Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
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.

3 participants