b2c-mcp-debugger

b2c-mcp-debugger is a skill for Claude Code, Codex from SalesforceCommerceCloud/b2c-developer-tooling. It costs 38 tokens per session (985 once invoked), scanned A, original, Apache-2.0.

A debugging procedure for B2C Commerce server-side scripts using breakpoints and captured program state. A breakpoint pauses execution at a chosen line so the current state can be inspected.

In plain words
What is it for?
It is for starting a debugger session, matching local code to deployed scripts, capturing a breakpoint snapshot, and ending the session safely.
Why use it?
It helps locate script problems in the deployed sandbox and avoids stale debugging sessions through bounded capture and cleanup steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for starting a debugger session, matching local code to deployed scripts, capturing a breakpoint snapshot, and ending the session safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-debugger
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.

Any agent
npx skills add SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-mcp-debugger
Clone the repo
git clone --depth 1 https://github.com/SalesforceCommerceCloud/b2c-developer-tooling

Made for: Claude Code, Codex.

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 b2c-mcp-debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-debugger/github.svg)](https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-debugger)
Your own site
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-debugger"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-debugger/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for b2c-mcp-debugger

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-debugger"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 985 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00038 $0.00985
Opus 5.5 $0.00015 $0.00394
Sonnet 5.5 $0.00008 $0.00197
Haiku 4.5 $0.00004 $0.00098

Measured 15d ago against content hash 3e1abb826568, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

b2c-mcp-debugger 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 15d 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.

packages/b2c-dx-mcp/skills/b2c-mcp-debugger/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Debugger Usage

Use for B2C server-side script debugging. Confirm the sandbox, deployed script, breakpoint, and request before starting a session.

Prerequisites

  • Basic Auth for a BM user with WebDAV_Manage_Customization: username plus password or WebDAV File Access and UX Studio access key. OAuth is unsupported.
  • Inspect unknown connection settings with config_inspect and the task's projectDirectory; keep its default masking. Use resolved values.
  • Match local source and line numbers to deployed code and the site's cartridge path. A breakpoint's verified flag indicates local source mapping, not that matching code is deployed or active.

Capture and cleanup

  1. Call debug_start_session with projectDirectory. Use configPath or instanceName only to override the configured selection. Cartridge discovery defaults to that project; use cartridgeDirectory only for a different root. Preserve the returned session ID and resolution.
  2. Call debug_capture_at_breakpoint with the file, line, a bounded timeout, and auto_continue: true for a snapshot. It arms its own breakpoint; a prior debug_set_breakpoints call is unnecessary. Use that tool for separate breakpoint management; it replaces the existing set.
  3. Trigger the request. The capture tool's optional trigger supports GET without custom headers; trigger authenticated or non-GET requests externally. An external trigger must run while capture waits, not after awaiting its result. A halted capture can return trigger_pending: true; resume with debug_control with action: continue before expecting that request to finish. Do not retrigger it.
  4. Use captured stack, variables, and expressions. For further halted inspection, use debug_inspect or debug_evaluate. Inspection returns stack and top-frame variables (all scopes) by default; include selects stack, variables, or both. Use frame_index, scope, or object_path for targeted inspection. Expressions can have side effects; keep evaluation within the requested scope.
  5. Check halted threads with debug_list_sessions, resume with debug_control with action: continue, and always call debug_end_session with clear_breakpoints: true, including after errors or timeouts. Stop any log watches started for the investigation.

Read the full file on GitHub · 73 lines

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. 15d ago First seen · 73 lines · 38 tokens per session scan A 3e1abb826568

Subscribe to this mod's changes

b2c-mcp-debugger is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (56 stars, last pushed yesterday), licensed Apache-2.0. It adds 38 tokens to every session and 985 once invoked, about $0.0002 per session on Opus 5.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-10-03.