BC Serena Setup — VS Code Extension
Adds the bc-serena-setup Copilot agent skill to any project with a single command, so the agent can set up a Serena MCP project for a Business Central version without you doing anything manually.
What it does
Running the command BC Serena: Add Setup Skill to Project (via the Command Palette) copies two files into your workspace:
.github/
skills/
bc-serena-setup/
SKILL.md ← skill definition the agent reads
scripts/
setup-bc-serena-project.ps1 ← PowerShell automation the agent invokes
After that, simply ask the Copilot agent:
"Set up Serena for BC w1-27"
and it will pick up the skill and run the full setup.
Getting started
1. Build
cd vscode-extension/bc-serena-setup
npm install
npm run compile
2. Run / Debug
Open vscode-extension/bc-serena-setup/ in VS Code and press F5 — this launches an Extension Development Host with the extension loaded.
3. Use the command
- Open any workspace/project folder.
- Open the Command Palette (
Ctrl+Shift+P).
- Run
BC Serena: Add Setup Skill to Project.
- The skill files are written to
.github/skills/bc-serena-setup/.
- Ask the Copilot agent to set up Serena for the BC version you need.
4. Package (optional)
npm install -g @vscode/vsce
vsce package
This produces a bc-serena-setup-0.1.0.vsix you can share or install with:
code --install-extension bc-serena-setup-0.1.0.vsix
Keeping the skill up to date
The skill files (SKILL.md and setup-bc-serena-project.ps1) are bundled inside the extension under resources/skills/bc-serena-setup/. To update them, replace those files and bump the version in package.json.