# Deployment Documentation
This directory contains deployment guides, comparisons, and platform-specific instructions.
## Available Documentation
### Deployment Options
- **[DEPLOYMENT_COMPARISON.md](./DEPLOYMENT_COMPARISON.md)** - Comprehensive comparison of deployment options
- Claude Desktop Integration (local)
- Web Interface Deployment (Vercel, etc.)
- API Server Deployment
- Hybrid deployment scenarios
- Pros and cons of each approach
- Cost analysis
- Scalability considerations
## Deployment Scenarios
### 1. Claude Desktop Integration (Personal Use)
**Best for**: Individual users, local development, privacy-focused deployments
**Quick Start**:
```bash
mcp-memory init
mcp-memory install
```
See [CLAUDE.md](../../CLAUDE.md#claude-desktop-integration-recommended-method) for complete guide.
### 2. Web Interface (Multi-User)
**Best for**: Teams, shared knowledge bases, cloud deployments
**Quick Start**:
```bash
./scripts/setup-web.sh
cd web && npm run dev
```
See [WEB_INTERFACE.md](../features/WEB_INTERFACE.md) for complete guide.
### 3. API Server (Remote Access)
**Best for**: Integrations, mobile apps, custom clients
**Quick Start**:
```bash
npm run api-server
```
### 4. Hybrid Deployment
**Best for**: Organizations needing multiple access methods
Combine Claude Desktop + Web Interface + API Server for maximum flexibility.
## Platform-Specific Guides
### Vercel (Recommended for Web Interface)
- Automatic deployments from git
- Serverless architecture
- Built-in CDN
- Free tier available
### Railway
- Full-stack deployments
- Database hosting
- Simple configuration
### Self-Hosted
- Complete control
- Custom infrastructure
- Docker support
## Related Documentation
- [Main Deployment Guide](../../DEPLOYMENT.md)
- [CLAUDE.md](../../CLAUDE.md) - Deployment workflows
- [CLI Guide](../guides/CLI-GUIDE.md) - CLI installation
- [Web Interface](../features/WEB_INTERFACE.md) - Web deployment
## Quick Reference
### Environment Variables
All deployment methods require:
- `TURSO_URL` - Database connection string
- `TURSO_AUTH_TOKEN` - Database authentication
- `OPENAI_API_KEY` - Embeddings API access
Web interface additionally requires:
- `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` - Clerk public key
- `CLERK_SECRET_KEY` - Clerk secret key
### Pre-Deployment Checklist
- [ ] Run `npm run pre-deploy` tests
- [ ] Verify schema with `npm run verify:schema`
- [ ] Check environment variables
- [ ] Test database connectivity
- [ ] Review security settings
- [ ] Backup production data
- [ ] Plan rollback strategy