This document describes the release process for claude-code-mcp to ensure quality and prevent issues like the package.json import problem.
-
Local Testing
# Run the test release script ./scripts/test-release.shThis will:
- Build the project
- Run all tests
- Set up local testing in Claude
-
Test in Claude
- Restart Claude Desktop app
- Use the
claude-code-localtool - Verify version print on first use
- Test various commands
-
Restore Original Config
# When done testing ./scripts/restore-config.sh
Once local testing is complete:
./scripts/publish-release.shThis will:
- Ensure you're on main branch
- Run tests
- Build the project
- Bump version (patch/minor/major)
- Update changelog
- Create git tag
- Push to GitHub
- Create GitHub release
- Publish to npm
For critical fixes:
- Fix the issue
- Test locally with
./scripts/test-release.sh - Once verified, use
./scripts/publish-release.shwith patch version
- Patch: Bug fixes, documentation updates
- Minor: New features, non-breaking changes
- Major: Breaking changes, major refactors
- Production:
/Library/Application Support/Claude/claude_desktop_config.json - Local Test:
/Library/Application Support/Claude/claude_desktop_config_local_test.json
Always test with the local configuration before publishing!