QUICK-PUBLISH.md•1.66 kB
# Quick Steps to Publish MCP Context Manager Online
## 🚀 Fastest Way: NPM Publishing
```bash
# 1. Update package.json with your GitHub info
# Replace YOUR_USERNAME in repository.url, homepage, and bugs.url
# 2. Login to NPM
npm login
# 3. Publish
npm publish --access public
# 4. Done! Anyone can now use it:
npx @mcp/context-manager init
```
## 📦 What Users Get
After publishing, anyone can:
### Use without installation:
```bash
npx @mcp/context-manager init # Initialize in their project
npx @mcp/context-manager serve # Run the MCP server
```
### Or install globally:
```bash
npm install -g @mcp/context-manager
mcp-context init
mcp-context serve
```
## 🔧 Claude Desktop Integration
Users add to their Claude Desktop config:
```json
{
"mcpServers": {
"context-manager": {
"command": "npx",
"args": ["@mcp/context-manager", "serve"]
}
}
}
```
## 📊 Why NPM is Best for MCP Servers
1. **Local Execution**: MCP servers need file system access to analyze codebases
2. **Easy Updates**: Users get updates with `npm update`
3. **Zero Config**: Works with `npx` - no installation needed
4. **Wide Reach**: Every developer has npm
## 🎯 Your Package Will:
- Be available at: https://www.npmjs.com/package/@mcp/context-manager
- Work on Windows, Mac, and Linux
- Auto-update when you publish new versions
- Show download stats and popularity
## 📝 Before Publishing Checklist
- [ ] Update YOUR_USERNAME in package.json
- [ ] Create GitHub repo
- [ ] Test locally: `npm link && mcp-context init`
- [ ] Have npm account and logged in
That's it! Your MCP server will be available worldwide in minutes.