b2c-mcp-debugger
БесплатноБез исполняемых скриптовНе проверенDebug B2C Commerce server-side scripts with the MCP debugger tools, using bounded breakpoint capture, request triggering, state inspection, and reliable…
от SalesforceCommerceCloud★ 58 звёзд на 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_inspectand the task'sprojectDirectory; 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
verifiedflag indicates local source mapping, not that matching code is deployed or active.
Capture and cleanup
- Call
debug_start_sessionwithprojectDirectory. UseconfigPathorinstanceNameonly to override the configured selection. Cartridge discovery defaults to that project; usecartridgeDirectoryonly for a different root. Preserve the returned session ID andresolution. - Call
debug_capture_at_breakpointwith the file, line, a bounded timeout, andauto_continue: truefor a snapshot. It arms its own breakpoint; a priordebug_set_breakpointscall is unnecessary. Use that tool for separate breakpoint management; it replaces the existing set. - 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 withdebug_controlwithaction: continuebefore expecting that request to finish. Do not retrigger it. - Use captured stack, variables, and expressions. Capture returns local and
closure variables; pass
scopesto add globals or[]to omit variables when expressions cover what you need. For further halted inspection, usedebug_inspectordebug_evaluate. Inspection returns stack and top-frame variables (all scopes) by default;includeselects stack, variables, or both. Useframe_index,scope, orobject_pathfor targeted inspection. Expressions can have side effects; keep evaluation within the requested scope. - Check halted threads with
debug_list_sessions, resume withdebug_controlwithaction: continue, and always calldebug_end_sessionwithclear_breakpoints: true, including after errors or timeouts. Stop any log watches started for the investigation.
Stepping
After a halt, call debug_control with action: into, over, or out, then
debug_wait_for_stop before inspecting again. action: continue runs until the
next breakpoint or request completion. End sessions explicitly.
Recovery
- No breakpoint hit: verify deployed code, cartridge path, request, and breakpoint.
A timeout leaves the breakpoint armed. Check sessions for a late halt; end with
clear_breakpoints: truewhen finished. Do not leave an unbounded capture waiting. - Configuration still unexplained after
config_inspect: consult MCP configuration. - Missing BM permission/access key:
docs_read({query: "mcp-security"})for debugger requirements;guide-authenticationfor WebDAV key setup. For other setup issues,docs_searchwith the specific error. If docs tools are unavailable, use debugger access and WebDAV key setup. General WebDAV OAuth instructions do not apply to the debugger. - Before repeating a failed request, check whether it already changed state.
CLI or IDE, when requested
For terminal debugging use b2c debug cli; for a DAP client use b2c debug.
For those workflows, read b2c-cli/b2c-debug or the
CLI debugger reference (docs_read({query: "cli-debug"}), online).
Other MCP workflows and runbooks: skill index.
Установить b2c-mcp-debugger в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл b2c-mcp-debugger?
Debug B2C Commerce server-side scripts with the MCP debugger tools, using bounded breakpoint capture, request triggering, state inspection, and reliable session cleanup.
Как установить скилл b2c-mcp-debugger?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b2c-mcp-debugger запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic