Open Workbook is designed for local-first, non-AppSource distribution. The public entry point is @components-kit/open-workbook, which can be run through npx and carries the built MCP server, Excel add-in assets, and fallback agent instructions. The primary skill install path is skills.sh against skills/open-workbook-skills.
Publishable packages:
@components-kit/open-workbook: user-facing CLI and bundled runtime assets@components-kit/open-workbook-mcp-server: MCP stdio server@components-kit/open-workbook-backend: local backend broker and runtime service@components-kit/open-workbook-protocol: shared contracts, public agent tool contract, internal capability catalog, resources, and prompts@components-kit/open-workbook-excel-core: planning, backups, snapshots, templates, permissions, and range utilities@components-kit/open-workbook-office-js-engine: Office.js engine interface and defaults
Private workspace package:
@components-kit/open-workbook-excel-addin: source for the sideloaded add-in; bundled into@components-kit/open-workbookassets rather than published as a standalone install target
corepack pnpm install
corepack pnpm build
corepack pnpm testThe root build:
- Compiles all TypeScript projects.
- Copies built MCP server, add-in assets, and fallback instructions into
packages/cli/assets. - Ensures CLI binaries are executable.
@components-kit/open-workbook resolves runtime assets in this order:
- Source checkout paths, for contributors.
- Packaged
packages/cli/assets, for installed users. - Installed package dependencies, as a fallback for package-manager layouts.
This lets the same command shape work from source and from an installed package:
owb mcp
owb addin serve
owb setup
owb upgrade
owb instructions
owb sideload mac
owb sideload mac --development
owb sideload windows
owb sideload manifest
owb doctor
owb pathsnode packages/cli/dist/index.js doctor
node packages/cli/dist/index.js paths
node packages/cli/dist/index.js setup --dry-run
node packages/cli/dist/index.js upgrade --dry-run
node packages/cli/dist/index.js instructions
node packages/cli/dist/index.js sideload manifest --out /tmp/open-workbook.xml
node packages/cli/dist/index.js sideload manifest --development --out /tmp/open-workbook-local.xmlpnpm pack --dry-run ./packages/cliThe tarball should include:
packages/cli/distpackages/cli/assets/mcp-server/distpackages/cli/assets/excel-addin/distpackages/cli/assets/excel-addin/publicpackages/cli/assets/excel-addin/scriptspackages/cli/assets/excel-addin/manifest.xmlpackages/cli/assets/instructions/open-workbook-skills/SKILL.mdpackages/cli/assets/instructions/open-workbook-skills/referencespackages/cli/README.md
Before publishing:
- Confirm package versions are aligned.
- Run
corepack pnpm verify. - Run
node packages/cli/dist/index.js doctor. - Run
corepack pnpm pack:dry-run. - Confirm
node packages/cli/dist/index.js setup --dry-runprints thenpx -y @components-kit/open-workbook@latest mcplocal stdio launch command andnpx skills add components-kit/open-workbook --skill open-workbook-skills. - Confirm
node packages/cli/dist/index.js upgrade --dry-runprints the same launch command with upgrade wording. - Confirm generated manifests include the expected taskpane URL and
backendUrl. - Confirm
@components-kit/open-workbook-excel-addinremains private. - Confirm npm publish access is public for publishable scoped packages.
corepack pnpm verify runs scripts/validate/package-metadata.mjs, which enforces the package version, repository, public/private publish intent, dist entrypoints, README presence, and publish access rules above. Use pnpm for packing/publishing so workspace dependencies are rewritten to publishable semver ranges.
The intended user flow after package publishing:
npx -y @components-kit/open-workbook setupExisting users refresh local setup assets after a package update with:
npx -y @components-kit/open-workbook@latest upgradeUsers paste the printed MCP launch command into their agent UI's local stdio MCP configuration:
npx -y @components-kit/open-workbook@latest mcpThey install the skill with:
npx skills add components-kit/open-workbook --skill open-workbook-skillsFor OpenCode:
npx skills add components-kit/open-workbook --skill open-workbook-skills -a opencode -g -yNative installers or administrator scripts can wrap the same commands:
- install Node/runtime assets or embed a Node runtime
- place
owbonPATHor configure an equivalentnpxcommand - register an optional auto-start process from
owb service manifest - guide or automate the Excel manifest trust step where the platform allows it
Excel still requires user or admin trust approval for the add-in manifest outside AppSource.