b2c-mcp-cip
БесплатноБез исполняемых скриптовНе проверенRequired before cip_query. Discover and run CIP reports or analytics SQL for sales, merchandising, and technical operations; resolve warehouse access, bound…
от SalesforceCommerceCloud★ 58 звёзд на GitHubОб этом скилле
CIP analytics
Use CIP for warehouse analytics: sales, products, promotions, search, payments,
traffic, inventory, and API/controller trends. Use SCAPI for current records;
logs/metrics for immediate diagnosis.
Read this skill once through resources or skills_read (mcp/b2c-mcp-cip), then pass
skillRead: true to cip_query. Discovery needs no acknowledgment.
Choose and discover
cip_discoverdefaults to report search; usequeryfor task terms, thenaction: "report", namefor parameters, tables used, and available result notes. The catalog is offline.- Prefer a curated report when its dimensions/filters answer the question.
Preview SQL with
paramsonly when adapting the report or checking a definition absent from its notes; a standard report does not need a preview before running. - For custom analysis,
action: "tables", query: "ccdw_aggr_%"lists live metadata;action: "table", namereturns columns. Narrow names/schema and reuse findings. These calls require CIP access. Columns default to 50 per page (lists: 20). FollownextOffsetonly for needed columns, not to exhaust unrelated metadata. cip_queryaccepts eitherreportplus string-valuedparams, orsql. Do not invent parameters or use a narrower report that omits requested evidence.- Before custom SQL, describe each table you use with
action: "table"and use only returned column names. Do not guess: sales aggregates usenum_ordersandnum_units(notorders/units);ccdw_dim_sitehassite_display_name(notsite_name);ccdw_dim_promotionhasnpromotion_idanddisplay_name.
Configuration and access
Reuse projectDirectory / instanceName and resolved configuration. Requires
tenantId, Account Manager clientId and clientSecret; no instance hostname
or SCAPI short code is needed. Authentication is managed; do not obtain tokens.
CIP supports client credentials only, not user/SLAS/JWT flows. The client needs
the Salesforce Commerce API role with the selected tenant in its tenant filter;
the SDK requests SALESFORCE_COMMERCE_API:<tenant>.
Tenants ending _prd use production analytics; other tenants use staging analytics.
staging: true / SFCC_CIP_STAGING=true forces staging; configured cipHost /
SFCC_CIP_HOST takes precedence. Staging analytics is a service destination,
not permission to switch the user's target instance. Non-production data requires
Reports & Dashboards data tracking enabled on supported 26.1+ environments.
No data or rejected access does not establish zero sales or a healthy system.
Missing values: config_inspect with masking; ask the user if the target cannot
be determined. MCP configuration explains resolution.
For CLI equivalents, configuration, host selection, and availability caveats:
existing CIP skill (skills_read ID b2c-cli/b2c-cip)
and the analytics guide (docs_read({query: "guide-analytics-reports-cip-ccac"}),
online), plus the CLI reference
(cli-cip, online).
Read these conditionally, not as extra prerequisites.
Official JDBC setup and limits.
SQL dialect
CIP SQL is Apache Calcite. Common parse errors:
- Reserved words cannot be bare aliases or identifiers:
date,day,month,year,hour,minute,second,time,timestamp,value,user,method,rows. Alias assubmit_day,yr,mo, or double-quote:AS "date". - Dates:
DATE '2026-11-01'; ranges withBETWEENor>=/<=. Months:EXTRACT(YEAR FROM submit_date),EXTRACT(MONTH FROM submit_date), grouped by the same expressions. There is noDATEADD; compute windows as explicit dates. - Safe division
x / NULLIF(y, 0); roundingCAST(x AS DECIMAL(15,2)).
Query and interpret
- Fix the date window and site scope before querying. Report
from/toare inclusive dates. Supply required dates explicitly; do not silently use this month. - Warehouse numeric
site_iddiffers from naturalnsite_id(oftenSites-Example-Site) and SCAPI site IDs. Resolve throughccdw_dim_site; do not synthesize a natural ID from a configured SCAPI site ID. - Prefer aggregate tables and explicit columns. Filter by date/site, group and
calculate in SQL, use stable ordering and LIMIT. Avoid wide
SELECT *, large fact-table joins, and repeated exploratory full-table queries. maxRowsdefaults 50, maximum 500; output also caps at 24 KB.rowCountcounts returned rows, never all matches. Iftruncated, narrow/aggregate or query a disjoint ordered window. No retained cursor; do not present a sample as a total.- Queries time out after 60 seconds by default (maximum 120).
Установить b2c-mcp-cip в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл b2c-mcp-cip?
Required before cip_query. Discover and run CIP reports or analytics SQL for sales, merchandising, and technical operations; resolve warehouse access, bound results, and interpret site/date scope.
Как установить скилл b2c-mcp-cip?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b2c-mcp-cip запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic