breakpoint

breakpoint is a command for coding agents from bherbruck/mcp-debugger. It costs 10 tokens per session (383 once invoked), scanned A, original, MIT.

A command for managing breakpoints, which are deliberate pauses placed on specific lines while a program runs.

In plain words
What is it for?
Adding, removing, and listing breakpoints, including pauses triggered only when a condition or hit count is met.
Why use it?
It makes it easier to control where debugging stops and to remove or review existing pauses.

Command

Part of the mcp-debugger plugin — 3 commands, 1 agent, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/bherbruck/mcp-debugger/breakpoint
Clone the repo
git clone --depth 1 https://github.com/bherbruck/mcp-debugger

Or install mcp-debugger, the plugin that ships this one along with the rest of its 3 commands, 1 agent, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for breakpoint

README.md
[![agentmods](https://agentmods.dev/badge/commands/bherbruck/mcp-debugger/breakpoint.svg)](https://agentmods.dev/commands/bherbruck/mcp-debugger/breakpoint)
Your own site
<a href="https://agentmods.dev/commands/bherbruck/mcp-debugger/breakpoint"><img src="https://agentmods.dev/badge/commands/bherbruck/mcp-debugger/breakpoint.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.00383
Opus 5 $0.00005 $0.00192
Sonnet 5 $0.00002 $0.00077
Haiku 4.5 $0.00001 $0.00038

Measured 3d ago against content hash 93bf94e613da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

breakpoint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/breakpoint.md · 58 lines

What it actually says

Breakpoint Management

Managing breakpoints: $ARGUMENTS.action

Actions

Add a Breakpoint

If action is "add":

  1. Ensure there's an active debug session
  2. Use set_breakpoint with the file and line
  3. If a condition was provided, include it as a conditional breakpoint
  4. Report whether the breakpoint was verified

Remove a Breakpoint

If action is "remove":

  1. Use remove_breakpoint with the file and line
  2. Confirm removal

List All Breakpoints

If action is "list":

  1. Use list_breakpoints to get all breakpoints
  2. Display them in a clear table format:
    • File path
    • Line number
    • Verified status
    • Condition (if any)

Conditional Breakpoints

You can add conditions that must be true for the breakpoint to trigger:

  • x > 10 - Break when x exceeds 10
  • name == "error" - Break when name equals "error"
  • items.length > 100 - Break when list is large

Hit Count Conditions

Use hitCondition to break after a certain number of hits:

  • >5 - Break after more than 5 hits
  • ==10 - Break on exactly the 10th hit
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 58 lines · 10 tokens per session scan A 93bf94e613da

Subscribe to this mod's changes

breakpoint is a command published in the GitHub repository bherbruck/mcp-debugger (2 stars, last pushed 5mo ago), licensed MIT. It adds 10 tokens to every session and 383 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.