create_design_pr

Create GitHub PR with generated component and test results.

Server Figma to React MCP surisagar900/figma-to-react-mcp
Category Write
Risk class Medium
Parameters 00 required

What create_design_pr does on Figma to React MCP

AI agents use create_design_pr to create or update resources in Figma to React MCP — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Figma to React MCP environment.

Why create_design_pr needs a policy

This tool performs a write operation by creating a pull request (data modification in GitHub), but does not irreversibly delete data or execute arbitrary code with unpredictable side effects. While it does trigger downstream GitHub workflows, the primary action is creating/writing a PR.

From the tool's definition The tool 'create_design_pr' creates a GitHub pull request with generated component code and test results. Creating a PR is a write operation that commits code changes to a repository, modifying the state of the codebase and potentially affecting CI/CD…

Questions about create_design_pr

What does the create_design_pr tool do? +

Create GitHub PR with generated component and test results. It is categorised as a Write tool in the Figma to React MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on create_design_pr? +

Register the Figma to React MCP server in PolicyLayer and add a rule for create_design_pr: 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 Figma to React MCP. Nothing to install.

What risk level is create_design_pr? +

create_design_pr is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit create_design_pr? +

Yes. Add a rate_limit block to the create_design_pr 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.

How do I block create_design_pr completely? +

Set action: deny in the PolicyLayer policy for create_design_pr. 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.

What MCP server provides create_design_pr? +

create_design_pr is provided by the Figma to React MCP server (surisagar900/figma-to-react-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.