Embed Codepen

Renders an embedded interactive CodePen sandbox workspace within the document.

Surfaces
webmcp-apps
Degraded on
SurfaceNote
google-meet-stageLive sandboxed tabs and result viewports fail to initialize.
google-chatBlocked — degrades to CodePen URL link.
emailThird-party sandboxes reject external frame initialization.
google-apps-script-webexternal iframe — depends on site's X-Frame-Options; test before use
Live preview
✏️ CodePen · CodePen Embed
Fields
FieldType
pen_idstring. Alphanumeric identity of the target snippet.required
user_handlestring. Profile handle owning the snippet.required
Example payload
{
  "type": "embed_codepen",
  "pen_id": "Pen id",
  "user_handle": "User handle"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:embed_codepen",
  "displayName": "Embed Codepen",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/embed_codepen",
  "capabilities": [
    "web",
    "mcp-apps"
  ],
  "description": "Renders an embedded interactive CodePen sandbox workspace within the document.",
  "representativeQueries": [
    "show a embed interactive CodePen workspace development environments",
    "renders an embedded interactive codepen sandbox workspace within the document.",
    "render a embed codepen"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →