Content
# 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 methods** — `mcp-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
```bash
openclaw plugins install @radicalgeek/openclaw-mcp-apps
```
## Configuration
Optional config in your OpenClaw config:
```json5
{
"plugins": {
"entries": {
"mcp-apps": {
"config": {
"maxResourceBytes": 2097152 // default: 2 MB
}
}
}
}
}
```
## Development
```bash
npm install
npm test
```
## License
MIT