generate_prototype
根据已有项目 slug 或 PRD 配置生成/更新 prototype.html(Tailwind 高保真原型,含 PRD 标注弹框)。
This record as markdown: /tools/deppon-deppon-prd-mcp/generate-prototype.md
What generate_prototype does on Deppon Prd
AI agents use generate_prototype to create or update resources in Deppon Prd, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Deppon Prd environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | 项目 slug |
regenerateFromConfig | boolean | — | true 时从 project.config.json 重新生成 |
Parameters from the server's own tool schema.
Why generate_prototype is rated Medium
This tool creates or updates a prototype.html file, which is a reversible write operation. It does not delete data (not Destructive), does not execute arbitrary code or shell commands (not Execute), involves no financial transactions (not Financial), and produces tangible outputs (not Read-only).
From the tool's definition Tool description states '生成/更新 prototype.html' (generate/update prototype.html), indicating it creates or modifies files.
Attacks that exploit this kind of access
The rule that runs generate_prototype safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Deppon Prd, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For generate_prototype, this is the rule to start with:
generate_prototype stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Deppon Prd, apply this rule, and every generate_prototype call is checked against it from then on.
Questions about generate_prototype
根据已有项目 slug 或 PRD 配置生成/更新 prototype.html(Tailwind 高保真原型,含 PRD 标注弹框)。. It is categorised as a Write tool in the Deppon Prd MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
generate_prototype accepts 2 parameters: slug, regenerateFromConfig. Required: slug. The full parameter table on this page comes from the server's own tool schema.
Register the Deppon Prd MCP server in PolicyLayer and add a rule for generate_prototype: 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 Deppon Prd. Nothing to install.
generate_prototype is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate_prototype 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_prototype. 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_prototype is provided by the Deppon Prd MCP server (@deppon/deppon-prd-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Deppon Prd, and thousands of servers like it.
This server
Across the catalogue