# Publishing ClipSense MCP Server to npm
## Steps to Publish
### 1. Log in to npm
```bash
npm login
```
You'll be prompted for:
- Username
- Password
- Email
- One-time password (if 2FA is enabled)
### 2. Verify Login
```bash
npm whoami
```
Should display your npm username.
### 3. Publish Package
```bash
npm publish --access public
```
The `--access public` flag is required for scoped packages (@gburanda/clipsense-mcp-server).
### 4. Verify Publication
```bash
npm view @gburanda/clipsense-mcp-server
```
Or visit: https://www.npmjs.com/package/@gburanda/clipsense-mcp-server
## Post-Publication
### Update Version for Future Releases
```bash
npm version patch # For bug fixes (0.1.0 -> 0.1.1)
npm version minor # For new features (0.1.0 -> 0.2.0)
npm version major # For breaking changes (0.1.0 -> 1.0.0)
```
Then publish again with `npm publish --access public`.
## Submit to Anthropic MCP Registry
After npm publication, submit to the official MCP registry:
1. Visit: https://github.com/anthropics/model-context-protocol-servers
2. Fork the repository
3. Add entry to `servers.json`:
```json
{
"name": "clipsense",
"displayName": "ClipSense",
"description": "AI-powered mobile debugging through video analysis",
"author": "ClipSense",
"homepage": "https://clipsense.app",
"repository": "https://github.com/clipsense/mcp-server",
"npmPackage": "@gburanda/clipsense-mcp-server",
"license": "MIT",
"categories": ["debugging", "mobile", "video-analysis"],
"tags": ["react-native", "ios", "android", "bug-tracking", "qa-testing"]
}
```
4. Submit pull request
## Current Status
- ✅ README updated with cross-platform compatibility
- ✅ TypeScript code built successfully (dist/ folder generated)
- ⏳ npm login required (manual step)
- ⏳ Publish to npm (after login)
- ⏳ Submit to Anthropic MCP Registry (after npm publication)