Skip to content

[MCP] Add MCP catalog guide and align MCP Apps guide - #3642

Open
josemontespg wants to merge 1 commit into
catalogs-mcp-kanban-functionsfrom
catalogs-mcp-docs-guide
Open

josemontespg wants to merge 1 commit into
catalogs-mcp-kanban-functionsfrom
catalogs-mcp-docs-guide

Conversation

@josemontespg

@josemontespg josemontespg commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This PR adds a practical setup and usage guide for @a2ui/catalog-mcp at docs/public/guides/mcp-catalog.md and aligns docs/public/guides/mcp-apps-in-a2ui.md as its companion architecture and runnable-samples guide under A2UI + MCP.

mcp-catalog.md introduces MCP for developers new to it and walks through configureMcpCatalog, client-side tool calls (targetDataPath and the four data functions), McpApp embedding and CSS variables, and collapsible advanced configuration. mcp-apps-in-a2ui.md documents McpApp's sandbox="allow-scripts" double-iframe isolation and v1.0 JSON-RPC channels, removes the obsolete pre-v1.0 custom-component snippet in favor of linking to mcp-catalog.md, leads with the v1.0 Kanban showcase, and folds pre-v1.0 samples into a collapsible block.

Running docs previews: MCP Catalog and MCP Apps in A2UI

Changes

  1. Add docs/public/guides/mcp-catalog.md covering @a2ui/catalog-mcp setup, callMcpTool, data functions, McpApp, collapsible advanced configuration, and troubleshooting.
  2. Update docs/public/guides/mcp-apps-in-a2ui.md to focus on double-iframe isolation, v1.0 JSON-RPC communication channels, and the v1.0 Kanban showcase (with pre-v1.0 samples collapsed).
  3. Link the guide from catalogs/mcp/README.md and group all four MCP guides under A2UI + MCP in mkdocs.yaml.

Verification

  1. Ran yarn format:check:all and typechecked the guide's TypeScript snippets against @a2ui/catalog-mcp and @a2ui/angular.
  2. Built and served the documentation site locally (mkdocs build and mkdocs serve) and verified that all internal anchors, Mermaid diagrams, admonitions, and relative file links resolve (external links are checked by lychee in CI).

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces a comprehensive guide for the MCP catalog (mcp-catalog.md), updates the navigation in mkdocs.yaml, and links to the new guide from catalogs/mcp/README.md. The review feedback suggests minor grammatical and punctuation improvements in both the README and the new guide, including updating a version reference to 'v1.0 or later' for forward compatibility. Additionally, it is recommended to update the troubleshooting section to suggest deduplicating @a2ui/web_core alongside lit in Vite configurations to prevent duplicate instance issues.

Comment thread catalogs/mcp/README.md Resolved
Comment thread docs/public/guides/mcp-catalog.md Resolved
Comment thread docs/public/guides/mcp-catalog.md Resolved
Comment thread docs/public/guides/mcp-catalog.md Resolved
@josemontespg
josemontespg removed this pull request from stack #3643 October 26, 2026 22:01
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 7c923e8 to 619e3ce Compare October 26, 2026 22:04
@josemontespg
josemontespg added this pull request to stack #3645 October 26, 2026 22:04
@josemontespg
josemontespg removed this pull request from stack #3645 October 26, 2026 23:14
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 619e3ce to 52a5d4c Compare October 26, 2026 23:14
@josemontespg
josemontespg changed the base branch from catalogs-docs-guide to catalogs-mcp-filesystem-sample-v1 October 26, 2026 23:14
@josemontespg
josemontespg added this pull request to stack #3647 October 26, 2026 23:17
@josemontespg
josemontespg removed this pull request from stack #3647 October 27, 2026 00:30
@josemontespg
josemontespg changed the base branch from catalogs-mcp-filesystem-sample-v1 to catalogs-mcp-kanban-functions October 27, 2026 00:30
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 52a5d4c to 5ef3998 Compare October 27, 2026 00:30
@josemontespg
josemontespg added this pull request to stack #3649 October 27, 2026 00:32
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 5ef3998 to bd71a59 Compare October 27, 2026 17:47
@josemontespg
josemontespg removed this pull request from stack #3649 October 27, 2026 18:27
@josemontespg
josemontespg added this pull request to stack #3661 October 27, 2026 18:29
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from bd71a59 to 21001c6 Compare October 27, 2026 18:33
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 21001c6 to 0cbe781 Compare October 28, 2026 21:30
@josemontespg
josemontespg removed this pull request from stack #3661 October 28, 2026 22:24
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 0cbe781 to aa7eda3 Compare October 28, 2026 22:25
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from aa7eda3 to 14cb7c3 Compare October 28, 2026 22:43
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 0c4ab00 to 7b2f020 Compare October 29, 2026 00:27
@josemontespg
josemontespg added this pull request to stack #3737 October 29, 2026 00:28
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 7b2f020 to cec5b55 Compare October 29, 2026 01:03
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from cec5b55 to 62f4f64 Compare October 29, 2026 17:15
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 62f4f64 to 3a3d0a0 Compare October 29, 2026 17:36
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 3a3d0a0 to 5803bb3 Compare October 29, 2026 18:30
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch 2 times, most recently from e505739 to 72d4676 Compare October 29, 2026 19:01
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch 2 times, most recently from 7c40176 to 8cb1dda Compare October 29, 2026 20:40
@josemontespg josemontespg changed the title [MCP] Add a guide for the MCP catalog package [MCP] Add MCP catalog guide and align MCP Apps guide Oct 29, 2026
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 8cb1dda to 40075ef Compare October 29, 2026 22:04
@josemontespg
josemontespg requested a review from ditman October 30, 2026 19:19
@josemontespg
josemontespg marked this pull request as ready for review October 30, 2026 19:19
@josemontespg
josemontespg removed this pull request from stack #3737 October 30, 2026 20:56
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 40075ef to 65ee808 Compare October 30, 2026 20:58
@josemontespg
josemontespg added this pull request to stack #3796 October 30, 2026 20:58
Add docs/public/guides/mcp-catalog.md introducing MCP for developers new to it and walking through setting up @a2ui/catalog-mcp, calling MCP tools from UI components (targetDataPath and the four data functions), embedding and styling sandboxed McpApp widgets, and collapsible advanced configuration and troubleshooting.

Update docs/public/guides/mcp-apps-in-a2ui.md as the companion architecture and runnable-samples guide: document McpApp's sandbox='allow-scripts' isolation and v1.0 JSON-RPC channels, replace the obsolete pre-v1.0 custom-component snippet with a link to mcp-catalog.md, lead with the v1.0 Kanban showcase, and fold pre-v1.0 samples into a collapsible section. Group all four MCP guides under A2UI + MCP in mkdocs.yaml.

Related to #3157
@josemontespg
josemontespg force-pushed the catalogs-mcp-docs-guide branch from 65ee808 to 77798c0 Compare October 30, 2026 21:41
@josemontespg
josemontespg removed this pull request from stack #3796 October 30, 2026 21:43
@josemontespg
josemontespg added this pull request to stack #3797 October 30, 2026 21:43

This branch has not been deployed

No deployments
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