Generate a premium iOS mobile UI mockup from a text brief. Outputs both the screenshot (PNG) and the underlying HTML. Use this when the user asks to design, mock up, or visualize a mobile app screen.
AI agents invoke generate_screen to trigger actions in Mockit. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
This tool executes a multi-step pipeline: it invokes an LLM (Claude) to generate HTML and then runs a Playwright headless browser to render and screenshot it. This constitutes executing external processes and browser automation, not merely reading or writing data. Misuse could result in arbitrary code execution within the headless browser context or unexpected API usage/costs.
From the tool's definition 'Generate a premium iOS mobile UI mockup' using 'Claude + a Playwright headless renderer' — triggers external operations including running a headless browser (Playwright) and potentially invoking Claude CLI or Anthropic API
Attacks that exploit this kind of access
Generate a premium iOS mobile UI mockup from a text brief. Outputs both the screenshot (PNG) and the underlying HTML. Use this when the user asks to design, mock up, or visualize a mobile app screen. It is categorised as a Execute tool in the Mockit MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Mockit MCP server in PolicyLayer and add a rule for generate_screen: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mockit. Nothing to install.
generate_screen is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the generate_screen rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for generate_screen. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
generate_screen is provided by the Mockit MCP server (karyaboyraz/mockit-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →