debugpy_set_breakpoint

Set a breakpoint at file:line. file should be a local path; path mapping is applied automatically.

Server Debugpy will-garrett/debugpy-mcp
Category Write
Risk class Medium
Parameters 00 required

What debugpy_set_breakpoint does on Debugpy

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

Why debugpy_set_breakpoint needs a policy

Setting a breakpoint modifies the state of a running debug session by inserting a breakpoint at a specific location. This is a reversible write operation (breakpoints can be removed), not destructive. It affects the execution behavior of the target process but doesn't execute arbitrary code itself. Misuse could disrupt a running production process if attached to one.

From the tool's definition Set a breakpoint at file:line. file should be a local path; path mapping is applied automatically.

Questions about debugpy_set_breakpoint

What does the debugpy_set_breakpoint tool do? +

Set a breakpoint at file:line. file should be a local path; path mapping is applied automatically. It is categorised as a Write tool in the Debugpy MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on debugpy_set_breakpoint? +

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

What risk level is debugpy_set_breakpoint? +

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

Can I rate-limit debugpy_set_breakpoint? +

Yes. Add a rate_limit block to the debugpy_set_breakpoint 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 debugpy_set_breakpoint completely? +

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

debugpy_set_breakpoint is provided by the Debugpy MCP server (will-garrett/debugpy-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.