Skip to content

Releases

v0.4.0 — planning

Choose a tag to compare

@RafaelSachsNL RafaelSachsNL released this 30 Nov 19:25

Focus: planning. A rolling forecast — model from an Excel file, input-ready forecast story, planning actions — now
takes a handful of calls, and plans can be written, copied, compared, locked and undone without touching the UI.

Added

  • Planning actions in one call — sac_story_add_planning_actions: buttons New Forecast (Zero / Copy) and New Plan
    Next Year (create a public version for the current month or next year and fill it with the actuals), plus a Data
    Action Starter "Apply Target" (+x % on chosen months and members; empty months start from the previous year).
  • Versions — sac_plan_versions, sac_plan_version_create (private, or public via Publish As),
    sac_plan_version_delete (discards unpublished changes first), sac_plan_history and sac_plan_undo (step-wise
    undo, also of a whole write), sac_plan_read with compareTo.
  • Writing plans — sac_plan_write with explicit distribution (even, by a reference version, proportional),
    hierarchy nodes resolved to their leaves, exact rounding down to leaf cells, several cells in one call, month ranges
    ("Nov–Dec 2026", "2026-11..2026-12"); sac_plan_copy copies versions/periods with a factor, also for several member
    groups with their own factor in one run; sac_plan_compare puts scenarios side by side with the deviation in %;
    sac_plan_publish dry run previews the unpublished changes.
  • Data locking — sac_plan_lock, sac_plan_lock_states.
  • Data actions — copy, cross-model copy, allocation, currency conversion and embedded steps, parameters (also on
    the date dimension), sac_dataaction_get / sac_dataaction_update, dry run on a throw-away private copy with the
    effect per measure and year, a ready rollingForecast template; data actions of other packages (imported content)
    by name or <package>:<id>. sac_multiaction_get, multi action runs wait and report their effect.
  • Stories with planning — sac_planning_forecast_story_create layout single (one table: this year by month,
    next year, sum; hierarchy as a tree; Publish / Revert buttons), sac_story_add_dataaction_starter,
    sac_story_add_multiaction, sac_story_add_control (dropdown, radio button group, slider, input field),
    sac_story_add_version_comparison (versions, % measure, table with traffic light, chart with variance).
  • Tables — sac_story_table / sac_story_table_get: rows, columns, measures, totals, hidden rows and columns,
    separator lines across the whole row.
  • Data in — sac_import_csv loads a CSV or Excel (.xlsx) file into an SAC or Seamless planning model in one call
    (member names → ids, version aliases, invalid rows reported).
  • Models — sac_model_expose and exposeInDatasphere on model creation (Seamless data foundation as a fact table
    in its Datasphere space), sac_model_currency_set, versions at model creation.
  • Reading what users see — sac_widget_get_data (values a story widget shows), sac_insight_get (values of a
    Data Analyzer insight).
  • More — sac_calendar_create_task / sac_calendar_delete_task, sac_addin_workbooks (list and download Excel
    add-in workbooks), sac_story_css Global Default Class, chart sort / top-N / orientation, responsive lanes.

Changed

  • Numbers are Auto-Formatted by default; a fixed scale only when asked for.
  • Dashboards on Datasphere models with a version dimension ask which version to show (or allVersions: true).
  • sac_browser_ui is an expert tool.
  • sac_story_check_runtime leaves stories with unpublished planning changes cleanly (repeated runs no longer lose
    clicks) and follows multi actions started by a button; sac_story_inspect checks for cut-off text.

Fixed

  • Series colours (theme palette, version colours), table number formats after measure changes, filter bar with input
    controls, start filter on stories with startup scripts, Datasphere member texts in widget data.
  • Published on npm (npm install -g sac-workbench-mcp); bin path without ./, which npm 11 dropped on publish.

v0.3.0 — first public release

Choose a tag to compare

@RafaelSachsNL RafaelSachsNL released this 05 Nov 09:53

First public release of sac-workbench-mcp — an unofficial MCP server that lets Claude and other AI assistants build and change SAP Analytics Cloud stories, charts, themes, planning models and data in your own tenant.

📖 Introduction: Controlling SAP Analytics Cloud with Claude: a home-built MCP server

git clone https://github.com/RafaelSachsNL/sac-workbench-mcp.git
cd sac-workbench-mcp
npm install
npm run setup

Tested against SAP Analytics Cloud 2026.21 · Node.js 22+ · CI on Linux, Windows and macOS. Large parts use undocumented SAC interfaces that may change with any SAC update — please read the disclaimer first.

Added

  • Stories in one call — sac_story_generate_dashboard builds a complete dashboard (header, filter bar, KPI row,
    charts, optional table) on a Datasphere model, canvas or responsive, with theme and story template; scale and decimals per
    KPI and chart, percentage measures unscaled, readable filter labels.
  • Dashboards on SAC models — the generator also builds dashboards (responsive, or canvas with a story
    template such as the Horizon template) on SAC planning models (native and Seamless) and analytic models (Version Actual on every widget, per-tile KPI filters such as Plan or the current year, story filter and filter bar, table scaled like the KPIs); sac_model_metadata
    and sac_models_list know these models.
  • Charts, declaratively — sac_story_chart / sac_story_chart_get: type, measures, dimensions, colour and pattern
    dimension, legend, hierarchy and level, member filters and dynamic date ranges; the chart query is kept consistent.
  • Calculations and colours — sac_story_calculation (restricted measures on several dimensions with Constant
    Selection, calculated measures with formulas), sac_story_set_colors (per member, measure and version).
  • KPI tiles as Numeric Point charts (sac_story_add_kpi) and duplicating widgets or whole cards with their own
    texts (sac_story_duplicate).
  • Layout and checks — sac_story_set_layout, sac_story_set_position, sac_story_set_text;
    sac_story_check_runtime (script and console errors) and sac_story_inspect (scrollbars, overhang and errors per
    widget at several widths, widget screenshot).
  • Story internals — sac_story_transform (patch by function in an isolated context, automatic snapshot), sac_story_restore,
    snapshots and structural diffs.
  • Themes and CSS — sac_theme_create / sac_theme_update with CSS validation against the SAC editor rules,
    rule-wise CSS updates and syncing of the stories' theme copies; story CSS and widget classes.
  • Planning — planning models (SAC and Seamless), sac_model_dimension_add, sac_model_hierarchy_set,
    sac_model_members_set, sac_model_data_reload (reload facts with a derived column, backup and totals check),
    plan values without a story (sac_plan_write / read / publish / revert), data actions and multi actions,
    planning stories including a forecast layout story.
  • Datasphere — sac_datasphere_search finds a model's space through the live connection; metadata and the
    dashboard generator locate the space themselves.
  • Data Analyzer — insights on Datasphere models.
  • Public REST APIs — data import/export, users and teams (SCIM), content transport, schedules, calendar,
    translation, audit.
  • Exploring — record and replay what the SAC UI sends (sac_capture_*, sac_replay), raw requests. The expert
    tools sac_browser_eval, sac_api_request and sac_replay are only loaded with expertTools / SAC_EXPERT_TOOLS=true.
  • Skills — sac-scripting and sac-css Agent Skills (see skills/).

Security

  • readOnly is enforced centrally for every tool; write tools need allowalteration: true.
  • No SAC passwords are stored; the SSO session lives in the server's own browser profile.