skillsoft-service-bootstrap
v1.11.0
Published
Skillsoft Service Bootstrap — MCP (unscoped): bootstrap local dev services (start/stop/tail), installs, allowlisted scripts, repo context, optional orchestration. Personal npm OK; optional VS Code helper in ./extension.
Downloads
138
Maintainers
Readme
Skillsoft Service Bootstrap (MCP demo)
npm (unscoped, personal publish): skillsoft-service-bootstrap · MCP / log id: skillsoft-service-bootstrap · CLI: skillsoft-service-bootstrap · sources: mcp/repo-dev-tools/ in this monorepo.
Skillsoft is only a name here (demo / internal-style naming). There is no scoped @…/… package: publish to public npm (or any registry) from your personal account after setting "private": false and fixing "repository".
Two ways to wire Cursor / VS Code MCP:
- npm package — install
skillsoft-service-bootstrap, then point MCP atnode+server.mjsornpx -y skillsoft-service-bootstrap(see below). - VS Code extension (“Skillsoft Service Bootstrap”) in
extension/— copies MCP JSON snippets (localserver.mjs, workspacenode_modules, ornpx). Build a VSIX withnpm run package-extensionfrommcp/repo-dev-tools(network fornpx @vscode/vsce). Setpublisherinextension/package.jsonbefore marketplace publish.
A. Publish skillsoft-service-bootstrap to npm (personal account)
From mcp/repo-dev-tools/:
- Set
"repository"."url"inpackage.jsonto your real Git URL (optional but recommended for npm). - Set
"private": falsewhen you are ready to publish. npm login(your user) →npm publish.
Consumer project:
npm install -D skillsoft-service-bootstrapCursor mcp.json (workspace or user):
{
"mcpServers": {
"skillsoft-service-bootstrap": {
"command": "node",
"args": ["${workspaceFolder}/node_modules/skillsoft-service-bootstrap/server.mjs"],
"cwd": "${workspaceFolder}"
}
}
}Or npx (no install):
{
"mcpServers": {
"skillsoft-service-bootstrap": {
"command": "npx",
"args": ["-y", "skillsoft-service-bootstrap"],
"cwd": "${workspaceFolder}"
}
}
}B. Monorepo / clone (no publish)
- Run
npm installinsidemcp/repo-dev-tools/once per clone. - Point MCP at the absolute path to
server.mjs,"cwd": "${workspaceFolder}"(seegoals-streaks/mcp/user-mcp-global.example.json).
Each app keeps mcp/repo-profile.json (or mcp/bringup-mcp/repo-profile.json): skillsoft-service-bootstrap loads the former if present, otherwise the latter.
C. VS Code / Cursor extension (extension/)
- Open
mcp/repo-dev-tools/extensionin VS Code (or Cursor). - Run → Start Debugging (F5) to try the extension in a new window.
- Command Palette:
- Skillsoft Service Bootstrap: MCP (bundled server) — when
server.mjsis one level aboveextension/(this repo). - Skillsoft Service Bootstrap: MCP (node_modules) — after
npm install skillsoft-service-bootstrapin the workspace. - Skillsoft Service Bootstrap: MCP (npx) — after the npm package is published.
- Skillsoft Service Bootstrap: MCP (bundled server) — when
From mcp/repo-dev-tools: npm run package-extension writes a VSIX under extension/ (for example skillsoft-service-bootstrap-0.1.0.vsix, matching extension/package.json version). Set publisher in extension/package.json first.
The extension does not replace the MCP server; it only helps paste MCP config. You can use MCP only, extension only as a helper, or both.
After install
- Each application repo needs
mcp/repo-profile.jsonormcp/bringup-mcp/repo-profile.json(copy from arepo-profile.example.jsonor ship beside bringup-mcp).
Layout (1.11+)
server.mjs— entry: MCP version frompackage.json, registers tools, CLI flags.register-tools.mjs—registerToolhandlers with stderr-safe errors.lib/*.mjs— profile, infra, scans, markdown, orchestration, optionalapply_repo_text_patch.extension/— optional VS Code companion (clipboard MCP snippets).
Version
McpServer version is read from package.json at startup; bump version when you publish.
