MCP Apps

MCP Apps plugin for OpenClaw — tool UI, resource registry, and gateway handlers

Install

openclaw plugins install clawhub:@radicalgeek/openclaw-mcp-apps

OpenClaw MCP Apps Plugin

An OpenClaw plugin that adds MCP App tool UI, resource registry, and gateway handlers. Tools that register with this plugin get UI rendering capabilities via HTML resources served through the MCP Apps protocol.

Features

  • Tool registry — tools register with MCP App UI metadata (resource URIs, visibility control)
  • Resource registry — manages HTML resources (builtin, file-based, canvas) with automatic CSP generation
  • Gateway WS methodsmcp-apps.tools.list, mcp-apps.tools.call, mcp-apps.resources.list, mcp-apps.resources.read
  • HTTP routes/api/mcp-apps/resources/list and /api/mcp-apps/resources/read for loopback access

Install

openclaw plugins install @radicalgeek/openclaw-mcp-apps

Configuration

Optional config in your OpenClaw config:

{
  "plugins": {
    "entries": {
      "mcp-apps": {
        "config": {
          "maxResourceBytes": 2097152  // default: 2 MB
        }
      }
    }
  }
}

Development

npm install
npm test

License

MIT