Skip to content

chore: publish as @stackguardian/mcp-wizard - #21

Merged
arunim2405 merged 1 commit into
mainfrom
chore/rename-mcp-wizard
Oct 16, 2026
Merged

arunim2405 merged 1 commit into
mainfrom
chore/rename-mcp-wizard

Conversation

@arunim2405

@arunim2405 arunim2405 commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Renames the npm package from add-sg-mcp to @stackguardian/mcp-wizard (1.2.0). Users now run npx @stackguardian/mcp-wizard.

Changed

  • package.json: name, version 1.2.0, publishConfig.access: public. Repository, homepage and issues links now point to StackGuardian/stackguardian-mcp, where this code lives (npm provenance checks repository.url).
  • CLI hints such as "Run … login to switch" use a new CLI_COMMAND constant (src/sg/preset.ts): npx @stackguardian/mcp-wizard under Node, add-sg-mcp in the standalone binary. Before, they always said add-sg-mcp, which isn't on PATH for npx users.
  • README.md, skills/README.md, docs/RELEASING.md, AGENTS.md, NOTICE, CHANGELOG.md.
  • .npmrc: drops provenance=true, because release.yml already passes --provenance.

Kept on purpose, so existing installs keep working:

  • The add-sg-mcp bin. npx @stackguardian/mcp-wizard runs it, because it's the package's only bin.
  • ~/.config/add-sg-mcp/ (credentials and the skills manifest). Renaming it would lose sign-ins and make the next run fail with "was not installed by add-sg-mcp".
  • The OAuth client ID /.well-known/oauth-clients/add-sg-mcp.json, which the dashboard hosts.
  • The dl.stackguardian.io/add-sg-mcp/ downloads, the install scripts, the ADD_SG_MCP_* variables and the release IAM role.

Before releasing

  • Register the Trusted Publisher on npmjs.com/package/@stackguardian/mcp-wizard/access for StackGuardian/stackguardian-mcp + release.yml.
  • After 1.2.0 is live: npm deprecate add-sg-mcp "Moved to @stackguardian/mcp-wizard".

Test plan

  • bun run build, bun run typecheck, bun run test (22/22 files)
  • npm pack --dry-run produces stackguardian-mcp-wizard-1.2.0.tgz
  • node dist/index.js status prints Run npx @stackguardian/mcp-wizard login.
  • Standalone binary prints add-sg-mcp … hints (covered by binaries.yml on release)

🤖 Generated with Claude Code

Rename the npm package from add-sg-mcp to @stackguardian/mcp-wizard and
point repository links at StackGuardian/stackguardian-mcp. The add-sg-mcp
command, config folder, OAuth client ID and download paths stay, so saved
sign-ins and installed skills carry over.

CLI hints now print the command the user actually ran: npx
@stackguardian/mcp-wizard under Node, add-sg-mcp in the standalone binary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@arunim2405
arunim2405 merged commit 951eac4 into main Oct 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant