ExitVercel Copilot
by yepinggu66
README.md
# š ExitVercel Copilot (MCP Server & Cursor/Claude Skill)
[](https://modelcontextprotocol.io/)
[](https://nextjs.org/)
[](https://workers.cloudflare.com/)
[](LICENSE)
[](https://pingguye.cn/stackverdict/migrate)
> **Eliminate the Vercel Tax.** An autonomous AI Agent Skill and Model Context Protocol (MCP) server for **Cursor**, **Claude Desktop**, **Windsurf**, and **Claude Code** that audits Next.js codebases for proprietary lock-in, calculates true TCO savings, and automatically refactors your project to **Cloudflare Workers** with zero egress fees and $0 seat taxes.
---
## ā” Why Migrate? The Math Doesn't Lie
| Cost Dimension | Vercel Pro & Scaling | Cloudflare Workers + OpenNext | Net Savings |
| :--- | :--- | :--- | :--- |
| **Team Member Seats** | **$20 / dev / month** | **$0 / seat** (Unlimited team) | **100% Free** |
| **Asset & Media Bandwidth** | **$40 per 100 GB** overage | **$0 / GB Egress** (100% Zero-Egress) | **100% Free** |
| **Image Optimization** | **$5 per 1,000 images** (after 1k) | Cloudflare Free Cache-Control / Images | **90%+ Cost Cut** |
| **Baseline Compute** | $20/mo + function duration limits | $5/mo Workers Paid (10M requests) | **75% Cheaper** |
| **Small Team Annual Spend** | **~$2,340 / year** | **~$120 / year** | **Save $2,220 / yr (95% Cut)** |
---
## š ļø MCP Server Tools Included
1. `audit_nextjs_lockin(project_path)`: Scans your Next.js project AST for `next/image` cloud cliffs, middleware limits, and proprietary `@vercel/*` SDKs.
2. `calculate_cloudflare_savings(team_seats, monthly_bandwidth_gb, unique_images)`: Live TCO calculator modeling true monthly and annual cloud deltas.
3. `generate_migration_bundle(app_name, target_dir)`: Auto-generates production-ready OpenNext configs:
- `wrangler.toml` (Asset binding + Node.js compat)
- `open-next.config.ts` (Next.js 14/15 App Router Edge adapter)
- `lib/cloudflare-image-loader.ts` (Decouples from Vercel image billing)
- `.github/workflows/deploy-cloudflare.yml` (Automated CI/CD)
---
## š¦ Quickstart: Connect to Cursor IDE
In **Cursor** -> `Settings` -> `Features` -> `MCP Servers` -> `+ Add New MCP Server`:
- **Name**: `ExitVercel`
- **Type**: `command`
- **Command**: `python server.py` (or full path to `server.py`)
Then in Cursor Chat (`Ctrl+L` / `Cmd+L`), simply type:
> *"Audit my project for Vercel lock-in and generate Cloudflare Workers configs."*
---
## š¦ Quickstart: Connect to Claude Desktop
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"exitvercel": {
"command": "python",
"args": ["/absolute/path/to/exitvercel-copilot/server.py"]
}
}
}
```
---
## š» Zero-Config Offline CLI
You can also run the audit and generator directly from your terminal with zero external dependencies:
```bash
# 1. Audit your current project
python scripts/migrate_cli.py --scan .
# 2. Generate migration bundle
python scripts/migrate_cli.py --generate --app my-app --target .
```
---
## š Live Interactive Web Scanner
Don't want to install anything? Test our live online repository scanner and interactive TCO calculator:
š **[https://pingguye.cn/stackverdict/migrate](https://pingguye.cn/stackverdict/migrate)**
---
## š License
MIT License. Built with ā¤ļø for the open-source and indie developer community.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues