← Browse

@ggui-ai/iframe-runtime

A

MCP server package @ggui-ai/iframe-runtime

mcp_servermcp

Install

agr install @ggui-ai/iframe-runtime --target claude

This artifact does not publish files for Claude.

Document

{ "name": "@ggui-ai/iframe-runtime", "version": "0.5.0-rc.2", "description": "The iframe-local ggui runtime: a self-contained ESM bundle that boots inside an MCP Apps host iframe, runs the protocol-version handshake, opens the live-channel WebSocket, and mounts the rendered UI. Bundles React, ReactDOM, and the ggui design system so generated component code has a single seam to read from.", "keywords": [ "ggui", "mcp", "mcp-apps", "iframe", "runtime", "react" ], "license": "Apache-2.0", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./server": { "types": "./dist/server.d.ts", "import": "./dist/server.js", "default": "./dist/server.js" } }, "scripts": { "build": "rm -rf dist && node esbuild.config.mjs && tsc -p tsconfig.types.json && pnpm run check:bundle-size", "check:bundle-size": "tsx scripts/check-bundle-size.ts", "check:bundle-size:self-test": "tsx scripts/check-bundle-size.ts --self-test", "typecheck": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest" }, "dependencies": { "@ggui-ai/live-channel": "workspace:", "@ggui-ai/gadgets": "workspace:", "@ggui-ai/design": "workspace:", "@ggui-ai/preview-a2ui": "workspace:", "@ggui-ai/protocol": "workspace:", "@ggui-ai/wire": "workspace:", "@modelcontextprotocol/ext-apps": "^1.7.2", "qrcode-generator": "^2.0.4", "react": "^19.0.0", "react-dom": "^19.0.0" }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.27.0" }, "devDependencies": { "@modelcontextprotocol/sdk": "^1.27.0", "@testing-library/react": "^16.0.0", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "esbuild": "^0.25.12", "jsdom": "^24.0.0", "tsx": "^4.21.0", "typescript": "^5.0.0", "vitest": "^3.2.6" }, "repository": { "type": "git", "url": "https://github.com/ggui-ai/ggui.git", "directory": "packages/iframe-runtime" }, "homepage": "https://github.com/ggui-ai/ggui/tree/main/packages/iframe-runtime", "bugs": { "url": "https://github.com/ggui-ai/ggui/issues" }, "publishConfig": { "access": "public" }, "engines": { "node": ">=20.0.0" }, "author": "ggui contributors hello@ggui.ai" }

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • warnType matchbest-effort: server code not analyzed

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-f03ff69860c62026-08-06