PUBLISH.mdā¢1.58 kB
# š¦ Publishing DHIS2 MCP Server to NPM
## Ready for Publication ā
The package is fully prepared and ready for publication to the npm registry. All necessary configurations are in place.
## To Publish:
1. **Login to npm** (if not already logged in):
```bash
npm login
```
2. **Publish to npm registry**:
```bash
npm publish
```
## Package Details
- **Name**: `dhis2-mcp`
- **Version**: `1.0.0`
- **Description**: An MCP server for DHIS2 development and management
- **Size**: ~143.5 kB packaged, ~820.9 kB unpacked
- **Files**: 48 files (includes dist/, README.md, CLAUDE.md)
## What's Included
ā
**Complete TypeScript build** (dist/ directory)
ā
**Executable permissions** set correctly
ā
**Shebang line** in entry point
ā
**Proper bin configuration** for global installation
ā
**Comprehensive README** with MCP setup instructions
ā
**All dependencies** properly specified
ā
**Tests passing** (142 tests)
ā
**Lint checks** passing
## After Publishing
Once published, users can install with:
```bash
# Global installation
npm install -g dhis2-mcp
# Or use directly with NPX (recommended)
npx dhis2-mcp
```
## Verification
After publishing, verify the package works:
```bash
# Test global installation
npm install -g dhis2-mcp
dhis2-mcp # Should show welcome message
# Test NPX usage
npx dhis2-mcp # Should work without installation
```
## Registry Information
- **Registry**: https://registry.npmjs.org/
- **Package URL**: https://www.npmjs.com/package/dhis2-mcp (after publishing)
- **License**: MIT
- **Author**: Dradebo